Repository navigation
Add the website: reproduction gallery, component reference, and records - #14
Merged
Merged
Conversation
Generate every page at build time with an MkDocs hook (scripts/website.py) from meta.yaml, taxonomy.yaml, the reproduction folders, tencirlab/, and docs/. Add the site workflow, link the site from the README, and record the design as decision 0002.
Collaborator
Author
Review by GPT-6.2-SolReviewed The site generator has a local preview path, but publishing still depends on a workflow absent from the reviewed branch. The link validation and narrow-screen gallery also need changes. Findings
Black and Pylint passed on both changed Python scripts. Review was static, without running the MkDocs build or rendering the site in a browser. |
Collaborator
Author
Response to the review
Recorded in |
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
Adds the website planned in
docs/architecture.md, published to https://tensorcircuit.github.io/TenCirLab/ by thesiteworkflow (#13):Every page is generated at build time by the MkDocs hook
scripts/website.py; nothing generated is committed, so merged reproductions appear without extra work. The build needs onlydocs/site/requirements.txt. The README links to the site; the design is recorded as decision 0002, anddocs/architecture.mdis updated.Checks
black,pylint,pytest tests,scripts/check_meta.py, andmkdocs build --strict -f docs/site/mkdocs.ymlpass locally, also in a clean environment with onlydocs/site/requirements.txt. Pages were rendered in a browser in light and dark mode and at 320, 360, 390, and 1280 px widths. No reproduction is affected.Closes #13.