Ma77Ball opened a new pull request, #72: URL: https://github.com/apache/incubator-texera-site/pull/72
### What changes were proposed in this PR? - Remove the in-tree documentation under `content/docs/latest/`; docs are no longer stored in this repo. - Add `scripts/sync-docs.sh`, run by CI before the Hugo build, to pull each release's `docs/` folder from the apache/texera release branches (`release/v1.1` into `content/docs/v1.1.0/`, `release/v1.2` into `content/docs/v1.2.0/`). - Fix pulled frontmatter (move the ASF license comment below the frontmatter so Hugo parses titles/weights), version-prefix root-relative `/docs/` links, and label each version's section node (e.g. "v1.2.0 Docs"). - Turn `/docs/` into an auto-generated landing page (`layouts/docs-home/list.html`) that lists the available versions. - Drive all site-wide doc links from a single `params.docs_version` value in `hugo.toml` via a footer-links override, removing the copy-pasted version strings. ### Any related issues, documentation, discussions? N/A ### How was this PR tested? - Run `bash scripts/sync-docs.sh` then `hugo --minify`; confirm the build succeeds and `content/docs/v1.2.0/` is populated (229 files). - Visit `/docs/`; confirm it lists v1.2.0 with a "Latest" badge. - Visit `/docs/v1.2.0/getting-started/`; confirm the left sidebar renders the full section tree with titles, rooted at "v1.2.0 Docs". - Confirm footer and community links resolve to `/docs/v1.2.0/...` with no unresolved `DOCS_VERSION` token. ### Was this PR authored or co-authored using generative AI tooling? Co-authored with Claude Opus 4.8 in compliance with ASF -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
