Skip to content

[task/TOF] Move theme files into theme/, phases 0+1#2639

Merged
chalin merged 6 commits into
google:task/repo-reorg-2026-05from
chalin:chalin-m24-monorepo-2026-0520
May 25, 2026
Merged

[task/TOF] Move theme files into theme/, phases 0+1#2639
chalin merged 6 commits into
google:task/repo-reorg-2026-05from
chalin:chalin-m24-monorepo-2026-0520

Conversation

@chalin

@chalin chalin commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Part of #2617. Design and sequencing: theme-only-folder.plan.md, theme-only-folder.execution.md.

PR-checks and preview status

Details

What this PR changes

  • Creates theme/ and moves canonical theme assets (assets, i18n, images, layouts, static, hugo.yaml, theme.toml, go.mod, go.sum) into it.
  • Updates theme/go.mod to module path github.com/google/docsy/theme.
  • Simplifies theme/hugo.yaml mounts to canonical node_modules/<pkg> form (drops legacy ../../node_modules/* escapes).
  • Adds theme/package.json as a private mirror of theme runtime deps, plus scripts/sync-theme-deps.mjs (and tests) to keep it aligned with the repo root.
  • Updates repo-root maintainer scripts, format/lint globs, and make-site.sh paths for the new layout.
  • Changes docsy.dev consumer config from theme: [docsy] to theme: [docsy/theme]; wires _install-theme-deps postinstall for cross-folder npm install (no root workspaces yet).
  • Adds tasks/0.16/repo-reorg/ planning materials and spike-notes.md with consumer and maintainer change log.

Out of scope / follow-ups on the task branch

  • Does not merge to main; targets the integration branch only.
  • Leaves Phases 2–3 open: make-site.sh smoke runs (NPM, Hugo module, non-module), full GitHub CI matrix, and Netlify deploy-preview confirmation.
  • Defers docsy-example validation and release-note drafting (Phases 4–5).

@chalin chalin added this to the 0.16.0 milestone May 25, 2026
@chalin chalin mentioned this pull request May 25, 2026
9 tasks
@chalin chalin merged commit 14c4c93 into google:task/repo-reorg-2026-05 May 25, 2026
5 of 11 checks passed
@chalin chalin deleted the chalin-m24-monorepo-2026-0520 branch May 25, 2026 15:24
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