You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3351dd5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(docs): preserve metadata and aliases in mirrored output
Use stable Open Graph URLs and rewrite absolute feed, print and asset
attributes in generated copies. Mark the version-selection landing
explicitly so corrected og:url metadata cannot replace it on repeat runs.
Track major copies in the same file/hash manifest as root copies. Remove
only owned, unchanged output on rollover and preserve Hugo alias stubs.
Use the existing version chooser paths when running Hugo server.
Add regressions for metadata, development navigation, major rollover,
alias preservation and invalid major destinations.
Assisted-By: LLM
Signed-off-by: Myasnikov Daniil <[email protected]>
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
5
5
## Project Overview
6
6
7
-
Hugo documentation website for Cozystack (Kubernetes-based cloud platform) using the Google Docsy theme. **Production is served by GitHub Pages**. Netlify is only used for deploy previews on PRs. Do not rely on Netlify-specific redirects or headers for production behavior. The stable `/docs/` and `/docs/v<major>/` paths are real copies of the latest version, produced after `hugo` by `hack/mirror_latest.sh` (Python 3 standard library). Current numbered docs and both copies use canonical URLs under `/docs/`. Older numbered docs remain noindex and are excluded from sitemaps. Preview builds are noindex. The version-selection landing is copied to `/docs/versions/`; root mirroring preserves numbered versions and unrelated legacy aliases. The `.docs-mirror.json` file tracks root copies for cleanup on repeat builds.
7
+
Hugo documentation website for Cozystack (Kubernetes-based cloud platform) using the Google Docsy theme. **Production is served by GitHub Pages**. Netlify is only used for deploy previews on PRs. Do not rely on Netlify-specific redirects or headers for production behavior. The stable `/docs/` and `/docs/v<major>/` paths are real copies of the latest version, produced after `hugo` by `hack/mirror_latest.sh` (Python 3 standard library). Current numbered docs and both copies use canonical URLs under `/docs/`. Older numbered docs remain noindex and are excluded from sitemaps. Preview builds are noindex. The version-selection landing is copied to `/docs/versions/`; mirroring preserves numbered versions and unrelated legacy aliases. The `.docs-mirror.json` file tracks root and major copies for cleanup on repeat builds. Under `hugo server`, version-selection links use the existing `/docs/` landing.
0 commit comments