Skip to content

Get-started: reconcile install docs with 0.16 changes - #2672

Merged
chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-getstarted-0.16-2026-0701
Jul 15, 2026
Merged

chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-getstarted-0.16-2026-0701

Conversation

@chalin

@chalin chalin commented Jul 1, 2026 •

Copy link
Copy Markdown
Collaborator
  • Contributes to npm-dep modernization: adopt Hugo's first-class npm-module support for Bootstrap/Font-Awesome #2668 (the get-started docs reconciliation checkbox); overlaps community PR docs: add missing PostCSS install steps to "start from scratch" guide #2612.
  • Deliberately minimal in scope — limited to what the get-started and convert-to-module pages need in order to be accurate for 0.16. Known staleness elsewhere (updating-hugo-module.md's pre-0.16 module path, language.md's RTL install command, the deployment pages' PostCSS assumptions, example-site-as-template.md's TL;DR), and a DRYing pass over the install guidance that these pages repeat, are deferred to follow-up work.
  • Aligns the get-started and convert-to-module guides with 0.16's theme-folder move and npm-sourced Bootstrap/Font Awesome:
    • Fixes Hugo-module import paths to github.com/google/docsy/theme and drops the non-existent /dependencies import.
    • Adds the required hugo mod npm pack + npm install step for Hugo-module sites.
    • Switches clone/submodule installs to npm run postinstall and sets theme: docsy/theme.
  • Makes PostCSS opt-in (RTL, or a project-root postcss.config.*), matching the new default.
  • Promotes Node.js to a first-class prerequisite, since Bootstrap and Font Awesome now come from npm; command details stay with the setup pages it defers to.
  • Removes stale content: the npm install side-effect note, the [CI] Docsy 0.8.0 NPM-package postinstall may fail to run #2116 and github.com-folder warnings, and outdated hugo mod graph/clean output samples; retargets the 0.8.0 changelog's pointers accordingly (side-effect link dropped, "failed to load modules" guidance now cites the issue).
  • Links the 0.16.0 release notes for "what changed" rather than restating it here.
  • Preview(s):

chalin added 4 commits July 1, 2026 09:26
- Aligns the get-started and convert-to-module guides with 0.16's theme-folder move and npm-sourced Bootstrap/Font Awesome:
  - Fixes Hugo-module import paths to `github.com/google/docsy/theme` and drops the non-existent `/dependencies` import.
  - Adds the required `hugo mod npm pack` + `npm install` step for Hugo-module sites.
  - Switches clone/submodule installs to `npm run postinstall` and sets `theme: docsy/theme`.
- Makes PostCSS opt-in (RTL, or a project-root `postcss.config.*`), matching the new default.
- Promotes Node.js to a first-class prerequisite, since Bootstrap and Font Awesome now come from npm.
- Removes stale content: the npm install side-effect note, the docsy#2116 and github.com-folder warnings, and outdated `hugo mod graph`/`clean` output samples.
- Links the 0.16.0 release notes for "what changed" rather than restating it here.
- De-links the v0.8.0 entry's reference to the "Docsy NPM install side-effect" section, which this branch removed from other-options.md as obsolete under 0.16 (the `github.com` sibling-folder / `DOCSY_MKDIR_HUGO_MOD_SKIP` behavior is gone).
- Keeps the historical mention as plain text; fixes the internal link-check (lychee) "Cannot find fragment" failure.
- Adds the `https://nodejs.org/` entry introduced by the get-started prerequisites edit, keeping `.lycheecache` in sync so CI's post-test `git diff` check stays clean.
- Stops naming the npm-pack/install commands in the module prerequisites: the setup pages it defers to own that detail
- Recasts the 0.8.0 changelog's install side-effect note to be self-contained now that this PR removes the section it explained, and points the "failed to load modules" guidance at the original issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant