Add a central documentation pilot for PyPTO - #6
Open
lyfne123 wants to merge 1 commit into
Open
Conversation
Build the homepage and a successful upstream PyPTO Docs snapshot as one inspectable artifact using the central theme. Validate notifications and source revisions, and reject superseded or unchanged publications. Keep automatic builds and Pages publication behind explicit switches. Document the App configuration and route handoff required for activation.
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
Build the homepage and a successful upstream PyPTO Docs snapshot as one artifact, using the website checkout's shared theme. This pilots central deployment before adding the other four projects and full-site search. Automatic builds and Pages publishing remain disabled until explicitly configured; current production routes are unchanged.
Changes
/pypto/, and provenance.Verification
python -m pytest tests/test_docs_site.py -q: 35 passed.python -m pytest tests/test_browser_theme.py -qagainst the fresh PyPTO build: 24 passed.ruff check scripts/docs_site.py tests/test_docs_site.pyandruff format --check scripts/docs_site.py tests/test_docs_site.py: passed.actionlint -color .github/workflows/docs-site.yml: passed.python -m pip check, andpython -m mkdocs build --strict: passed.python tests/docs_theme_compat.py check --site .docs-build/pypto/site --project pypto --page api/tile/index.html: four rendered pages passed.docs-site-pilotartifact was downloaded and checked: homepage, EN/ZH PyPTO pages, API pages, search data, and source manifest are present; four rendered-page checks passed. Pages deployment was skipped as intended.