Skip to content

Reconcile remaining docs with the 0.16 npm-dep changes - #2675

Merged
chalin merged 13 commits into
docsy:mainfrom
chalin:chalin-m24-016-adjacent-stale-docs-2026-0715
Jul 16, 2026
Merged

chalin merged 13 commits into
docsy:mainfrom
chalin:chalin-m24-016-adjacent-stale-docs-2026-0715

Conversation

@chalin

@chalin chalin commented Jul 15, 2026 •

Copy link
Copy Markdown
Collaborator
  • Follow-up to Get-started: reconcile install docs with 0.16 changes #2672, completing the docs reconciliation with the 0.16 npm-dep changes: fixes the adjacent pages deferred out of that PR's minimal scope.
  • Updating (Hugo module): uses the github.com/google/docsy/theme module path, and documents the post-update hugo mod npm pack + npm install refresh — now the canonical home for that fact, which the two setup pages deep-link to.
  • Get started:
    • Renames known_issues to Troubleshooting (alias kept) and adds a "Missing theme npm dependencies" entry with fix paths for every setup mode.
    • Makes the prerequisites page the single home for the PostCSS install; the setup pages link to it rather than restating it.
    • Prepopulated site: adds the now-required npm install to the TL;DR and preview instructions, and refreshes the stale hugo.toml config note (the example site uses hugo.yaml).
  • Deployment (local, Netlify): drops the "PostCSS required" framing now that PostCSS is opt-in; leans out Netlify's dated instructions, noting npm auto-install and its base-directory caveat.
  • Multi-language (RTL): completes the PostCSS install command (postcss was missing); the get-started PostCSS sections now link to this canonical RTL section.
  • Validated: site builds clean; link check green (all new cross-page anchors verified).
  • Preview(s):

chalin added 6 commits July 15, 2026 17:59
- Fixes the pages left stale by the 0.16 npm-dep changes, deferred out of the minimal scope of the get-started reconciliation:
  - Updating (Hugo module): uses the `github.com/google/docsy/theme` module path, and documents the post-update `hugo mod npm pack` + `npm install` refresh — the canonical home for that fact, which the two setup pages now deep-link to.
  - Multi-language (RTL): completes the PostCSS install command (`postcss` was missing); the get-started PostCSS sections now link to this canonical RTL section.
  - Deployment (local, Netlify): drops the "PostCSS required" framing now that PostCSS is opt-in, pointing at the prerequisites instead; leans out Netlify's dated `postcss-cli` version note.
  - Get started (prepopulated site): adds the now-required `npm install` to the TL;DR and preview instructions, and refreshes the stale `hugo.toml` config note (the example site uses `hugo.yaml`).
- Drops the redundant package.json/PostCSS NOTE; prerequisites already own that.
- Clarifies netlify.toml as an alternative to the Deploy settings UI, not the whole wizard.
- Collects and sorts Markdown link definitions.
- Renames Known Issues to Troubleshooting and known issues (keeps known_issues alias).
- Documents missing theme npm deps for any install mode; recovery links to setup and Theme npm dependencies.
- Leans the example-site TL;DR: npm install, and points Bootstrap SCSS failures at Troubleshooting.
- Updates inbound known_issues links and the get-started golden.
- Points module top-level settings at Hugo docs only; drops the fragile example-repo blob link.
- Mirrors the TL;DR Troubleshooting pointer in Detailed Preview and aligns MacOS / localhost wording.
- Links the intro's start-from-scratch mention to that page.
- Drops the redundant bridge sentence before Preview your site.
- PostCSS applicability (RTL, or own postcss.config.*) is site-specific, not install-mode-specific, so one section should own it; the twins had already drifted twice
- Keeps the guidance in the module prerequisites (deployment and example-site pages already deep-link it), noting it applies to all installation options
- Shrinks the other-options twin to a summary plus link, keeping its anchor for existing URLs
chalin added 7 commits July 16, 2026 10:25
- Shrinks other-options PostCSS to a stub that links the prerequisites home.
- Leans the RTL bullet to the language docs and drops redundant `postcss` from install commands (`postcss-cli` pulls it in).
- Uses relative What's next links on the prerequisites page.
- Caches the new troubleshooting page URLs as 206 until prod and main--docsydocs serve them after this PR lands.
- Includes a Prettier wrap on the example-site intro link.
- Aligns the get-started section golden with the page title Troubleshooting and known issues.
- Explains why `postcss` is absent from the install command: npm auto-installs it as a peer dependency, while package managers that don't (such as Yarn) need it added explicitly.
- Drops the 0.16.0 release-note pointer: docs carry current guidance, not historical commentary — the changelog already links the blog post.
- Netlify: drops the Ubuntu Focal build-image guidance — Netlify's current image is Ubuntu 24.04, and the image was never what provides Hugo Extended (`HUGO_VERSION` selects the release).
- Get-started: drops the Linux apt caveat from both install pages — its "doesn't get you extended" claim is no longer true, and the version-freshness rider duplicates upstream Hugo docs and the version check that immediately follows.
- Language: notes that npm installs `postcss` as a peer dependency of the RTL toolchain, linking to the Install PostCSS home for details.
Review-feedback polish:

- Netlify: notes that Netlify installs Node dependencies automatically when the site's base directory includes `package.json` and the like, so `hugo` alone suffices as the build command for the Hugo module and NPM package paths.
- Troubleshooting: the missing-npm-deps fix now names both recovery paths: `npm install` for example-site-based projects, and the install-theme-npm-dependencies section for module-from-scratch sites.
- Get-started pages: preview sections now point at the Troubleshooting page with purpose-first wording ("For common issues, see ..."), dropping the MacOS-specific callouts.
@chalin chalin added this to the 0.16.0 milestone Jul 16, 2026
@chalin
chalin merged commit a7c58f5 into docsy:main Jul 16, 2026
16 checks passed
@chalin
chalin deleted the chalin-m24-016-adjacent-stale-docs-2026-0715 branch July 16, 2026 16:58
chalin added a commit to chalin/docsy that referenced this pull request Jul 16, 2026
Release-prep refresh for the 11 PRs merged since b3ce927 (docsy#2663-docsy#2675).

- Release report: rewrite the Highlights card in a value-first voice and
  add the npm-dep modernization item; add the Bootstrap/Font-Awesome-
  via-npm bullet to the release summary; mention the htmltest -> Lychee
  move under build and test guards; bump Hugo 0.163.2 -> 0.163.3
  throughout (deferred from docsy#2664).
- Hugo upgrade guide: recommend 0.163.3 and cover its patch notes in
  the matching sections: code-block language-token escaping (security),
  PostCSS/Babel .mjs/.cjs config-variant resolution (Node tools), and
  the uglyURLs page/section collision fix (notable changes).
- Release-prep workspace: add 11 ledger rows through a7c58f5 with
  bundled-change notes for the npm-dep and link-check arcs; record the
  fourth breaking change (npm-sourced deps for Hugo-module installs),
  routing decisions, and milestone-24 status (7 open / 7 closed).
chalin added a commit to chalin/docsy that referenced this pull request Jul 17, 2026
Release-prep refresh for the 11 PRs merged since b3ce927 (docsy#2663-docsy#2675).

- Release report: rewrite the Highlights card in a value-first voice and
  add the npm-dep modernization item; add the Bootstrap/Font-Awesome-
  via-npm bullet to the release summary; mention the htmltest -> Lychee
  move under build and test guards; bump Hugo 0.163.2 -> 0.163.3
  throughout (deferred from docsy#2664).
- Hugo upgrade guide: recommend 0.163.3 and cover its patch notes in
  the matching sections: code-block language-token escaping (security),
  PostCSS/Babel .mjs/.cjs config-variant resolution (Node tools), and
  the uglyURLs page/section collision fix (notable changes).
- Release-prep workspace: add 11 ledger rows through a7c58f5 with
  bundled-change notes for the npm-dep and link-check arcs; record the
  fourth breaking change (npm-sourced deps for Hugo-module installs),
  routing decisions, and milestone-24 status (7 open / 7 closed).
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