Skip to content

docs: move the user guide to Sphinx and stub the site reference page - #11

Merged
stephen-masters merged 1 commit into
mainfrom
docs/user-guide-sphinx
Oct 9, 2026
Merged

stephen-masters merged 1 commit into
mainfrom
docs/user-guide-sphinx

Conversation

@stephen-masters

Copy link
Copy Markdown
Contributor

Summary

  • The Sphinx site on GitHub Pages becomes the user guide: installation, a quick start, guides to the command line, backend choice and the Python API, three tutorials (batching an archive, Armenian material, building a pipeline from the library), and the generated CLI and API reference at their existing URLs. Every claim was checked against the source rather than copied from the old pages.
  • The site's /reference/cli/ page is cut to a stub that keeps its URL and the /batch/ alias, gains a /reference/api/ alias, shows the four essential commands and links into the guide section by section.
  • tools/generate_api_docs.py, the generated shortcode, the gen:api build step and their gitignore, markdownlint and browser-test entries are retired; Sphinx's autodoc is the one API reference. The site build still needs the package installed, for the band table, and the comments now say so.
  • CLAUDE.md, the design skill and the README describe the new split. markdownlint now covers docs/ too.

Notes for review

Test plan

  • sphinx-build -W builds clean
  • ruff check and ruff format --check over docs and tools
  • npm run lint, npm run build and the Playwright suite in site/
  • pytest -m "not slow"

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings October 9, 2026 12:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Deploying tetrak with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2093b26
Status: ✅  Deploy successful!
Preview URL: https://de146ecf.tetrak.pages.dev
Branch Preview URL: https://docs-user-guide-sphinx.tetrak.pages.dev

View logs

The Sphinx site on GitHub Pages was a bare CLI and API reference, and
the Hugo site carried a hand-written command-line page and a second,
script-generated API page that duplicated autodoc. Both could drift from
the code, and the hand-written one already had.

The Sphinx site is now the user guide: installation, a quick start,
guides to the command line, backend choice and the Python API, three
tutorials (batching an archive, Armenian material, building a pipeline
from the library), and the generated reference. Every claim was checked
against the source rather than copied from the old pages. MyST heading
anchors are enabled so the guide can link between its own headings.

The site's /reference/cli/ page is a stub that keeps its URL and the
/batch/ alias, gains a /reference/api/ alias, shows the four essential
commands and links into the guide. tools/generate_api_docs.py, the
`generated` shortcode, the gen:api build step and their gitignore,
markdownlint and browser-test entries are gone. The site build still
needs the package installed, for the band table, and the comments that
said otherwise now say why.

Two links on the engines page pointed into the cut pages; they point at
the guide. markdownlint now covers docs/ as well.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@stephen-masters
stephen-masters merged commit 0f66907 into main Oct 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants