Repository navigation
Feat: docs site - #307
Open
lolaaimar wants to merge 8 commits into
Open
Feat: docs site#307lolaaimar wants to merge 8 commits into
lolaaimar wants to merge 8 commits into
Conversation
The Astro site renders the allowlisted repo Markdown at build time, rewrites repo-relative and GitHub doc links to site routes, and fails the build on an unresolved link or anchor. It publishes the two seeded policy examples, generates llms.txt from the same collection, and deploys to GitHub Pages on main.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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
Publishes the repo's reader-facing Markdown as a static site at
https://txpipe.github.io/thoth/. The site holds no copy of the docs: it reads
them from the repo at build time.
Preview
Deployment goes through GitHub Actions, not "Deploy from a branch". GitHub
Pages' branch source only offers
/or/docsand copies files as-is, so itcan't serve an Astro site. The workflow runs
astro buildand uploadssite/distas the Pages artifact, so the published output is generated in CI.The URL follows the repo owner: this is a project page, so
siteis the Pagesorigin (
https://txpipe.github.io) andbaseis the repo subpath (/thoth).Pages reports
build_type: workflow, so the first run after merge deploys withno manual setup. Keep the source on GitHub Actions — the stale branch source
shown in settings is ignored while the build type is
workflow.Evidence
npm run check --prefix site→ 0 errors, 0 warnings (11 files).npm run build --prefix site→ 14 pages built.pushto
main).Merge Danger
Door: two-way — reverting the workflow stops deploys, and the Pages source
can be switched back at any time.
Blast Radius: docs only — no package, contract or published API changes.
Follow-up: the package READMEs and
docs/still link togithub.com/txpipe-shop/thoth. This PR only updates the site's own chrome.