Repository navigation
[chore](docs) Archive legacy sources and update PDF download URLs - #4569
Open
morningman wants to merge 1 commit into
Open
morningman wants to merge 1 commit into
morningman wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Versions 2.1, 2.0, and 1.2 are already archived as PDFs, but their sources still appear beside maintained documentation. Move their English and Chinese sources, sidebars, and translation metadata into
archived_docs/, preserving the original relative directory structure. All 5,882 moved files are unchanged.Update source discovery so historical redirects and local PDF exports continue to work. Remove archived-version imports from the legacy build script, exclude frozen snapshots from the changed-file link checker, and limit the global link checker to active versions. Document the archive boundary in the contributor instructions.
Change the archive page's PDF download prefix to
https://apache-doris-releases.oss-accelerate.aliyuncs.com/archived-docs/.Validation
node --test scripts/archive-docs/archive.test.cjs scripts/docs-pdf/docs-pdf.test.cjs scripts/check_move.test.js scripts/i18n/__tests__/active-doc-versions.test.cjsPYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s .github/scripts -p test_pr_gates.py -vA full site build was not run locally. Active documentation versions and public documentation routes are unchanged.
Versions
Languages
Docs Checklist