Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add smoke tests of building a Docsy site from scratch #1100

Closed
Tracked by #1759
chalin opened this issue Jul 12, 2022 · 2 comments · Fixed by #1776
Closed
Tracked by #1759

[CI] Add smoke tests of building a Docsy site from scratch #1100

chalin opened this issue Jul 12, 2022 · 2 comments · Fixed by #1776
Assignees
Labels
CI/infra CI & infrastructure e0-minutes Effort < 60 min e1-hours p1-high
Milestone

Comments

@chalin
Copy link
Collaborator

chalin commented Jul 12, 2022

Consider adding a smoke test along the lines of what was proposed in #1075 (comment):

$ hugo new site myproject
...
$ cd myproject
$ git init # required for the git submodule command to work
...
$ git submodule add --depth 1 https://github.com/google/docsy.git themes/docsy
...
$ echo 'theme = "docsy"' >> hugo.toml
$ (cd themes/docsy && npm install)
...
$ npm init -y
$ npm install -D autoprefixer postcss-cli postcss
...
$ hugo -v
Start building sites … 

Related:

@chalin chalin added e0-minutes Effort < 60 min e1-hours CI/infra CI & infrastructure p1-high labels Jul 12, 2022
@emckean
Copy link
Collaborator

emckean commented Jul 12, 2022

I really need to come back to this! Hopefully soon ...

@chalin
Copy link
Collaborator Author

chalin commented Aug 24, 2022

This also works:

hugo new site myproject && \
cd myproject && \
npm init -y && \
npm install --save-dev google/docsy autoprefixer postcss-cli
echo 'theme = "docsy"\nthemesDir = "node_modules"' >> hugo.toml
hugo

@chalin chalin added this to the 23Q4 milestone Nov 10, 2023
@chalin chalin mentioned this issue Nov 10, 2023
21 tasks
@chalin chalin modified the milestones: 23Q4, 24Q1 Jan 11, 2024
@chalin chalin self-assigned this Jan 11, 2024
@chalin chalin changed the title CI: consider adding a smoke test of building a Docsy site from scratch [CI] Add smoke tests of building a Docsy site from scratch Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/infra CI & infrastructure e0-minutes Effort < 60 min e1-hours p1-high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants