Repository navigation
Description
Problem or Motivation
The owner wrote on 2026-11-12: "my github pages seem out of date or limited as well". On the site today:
- No page shows a version, a commit or a build date.
- 53 of 99 pages have no link path from the home page or the nav, among them all 42
docs/commands/*.mdpages. - The root documents are not on the site, and 183 relative links to repository files go to a 404 page.
- The site has no search.
docs/MCP_TOOLS.mdhas 149 broken anchors, also on github.com:src/devops_cli/docs/generator.py:638writes#ai-ask-jev, and GitHub writes the idai_ask_jev.- The builder
actions/jekyll-build-pagesv1.0.13 is of 2024-08-06.
Proposed Solution & Architectural Design
- Add
zensical==0.1.1to adocsdependency group inpyproject.toml. - Add
devops docs site build [--serve] [--strict]. It stages the site source in.data/site-src/(gitignored):- Copy
docs/, but notdocs/agent/,docs/_layouts/ordocs/_config.yml. - Copy
README.md,ARCHITECTURE.md,CONTRIBUTING.md,SECURITY.md,RELEASE_CYCLE.md,CONTEXT.md,AGENTS.mdandCHANGELOG.mdto the root of the stage. The stage keeps the repository paths, so each relative link that works on github.com also works on the site. - Change a relative link to a file outside the stage (for example
../src/devops_cli/...) intohttps://github.com/<repo>/blob/<sha>/<path>. Zensical does not run MkDocshooks, so no plugin can do this. - Write the build data into the staged config: the version from
pyproject.toml, the short SHA with a link to the commit, the commit date and the build time in UTC. - Run
zensical build, orzensical servewith--serve.
- Copy
- Add
zensical.tomlat the repository root:site_url,repo_urlandedit_uri, so each page has a "view source" button.- The
tocextension with thepymdownx.slugsGitHub slugs, and the Mermaid custom fence ofpymdownx.superfences. - A palette that follows the system theme, with a toggle.
validationwithinvalid_linksandinvalid_link_anchors.--strictfails the build on a warning.- The
awesome-navplugin with globs: Home (README.md), Guides (the guide pages,docs/roadmap/,docs/cheatsheets/), CLI reference (docs/commands/*.md, then "All commands on one page" forCLI_REFERENCE.md), Reference (Configuration, Environment variables, Errors, Telemetry, MCP tools, Knowledge base), Decisions (docs/adr/), Project (the root documents), Releases (CHANGELOG.md).
- Add
overrides/partials/footer.html. It shows the build data on each page and adds<meta name="devops-build-commit" content="<sha>">. - Fix
generator.py:638: the MCP tool links use the heading id that GitHub writes (keep the underscores). Writedocs/MCP_TOOLS.mdagain. .github/workflows/pages.yml: build withuv run devops docs site build --strict, then upload and deploy as today. Trigger on a push tomainthat changesdocs/**, the 8 root documents,zensical.toml,overrides/**,pyproject.tomlor the workflow, and onworkflow_dispatch. A release changesCHANGELOG.mdandpyproject.toml, so each release builds the site. Check out with tags..github/workflows/docs-site.yml: run the same command with--stricton the same paths. Remove the Jekyll container step and the lychee step: the strict build checks the internal links and anchors, and feat(docs): check links and anchors of all documents with rumdl #4899 checks the sources with rumdl. Keep the checks forindex.htmland for no.mdfile in the output.- Delete
docs/_config.yml,docs/_layouts/default.htmlanddocs/assets/css/style.css. Keepdocs/assets/css/tokens-*.cssfor feat(docs): build the docs site theme from the design tokens #4745. devops gh pages verifyreadszensical.tomlin place ofdocs/_config.yml(src/devops_cli/github/pages.py:147).- Change the documents that name Jekyll or
docs/_config.yml(for exampledocs/SDLC.mdand the comment at the top ofpages.yml).
Target Subsystem
Documentation (docs/, zensical.toml, overrides/, src/devops_cli/docs/, src/devops_cli/commands/docs.py, src/devops_cli/github/pages.py) and CI/CD (.github/workflows/pages.yml, .github/workflows/docs-site.yml).
Existing Tool Considered
Zensical 0.1.1 (MIT): native search, nav, Mermaid, link and anchor validation, strict mode, template overrides and the awesome-nav plugin. The trial build of 2026-11-12 made 107 pages in 5.03 s with README as the home page and a sitemap. Rejected: Material for MkDocs (end of life 2027-05-05), Sphinx with Furo (MyST and include directives), Astro Starlight (front matter on each page, Node), Jekyll (stale builder, a theme and front matter on each page), mike (a second deploy path). Custom code: the stage step with the link change and the build data, about 120 lines, and a 15-line footer template. Cost (estimate): about 350,000 tokens and 1 day elapsed.
Acceptance Criteria
uv run devops docs site build --strictexits 0 and reports 0 warnings.- A test stages a fixture tree and checks the link change: a link to
src/x.pybecomes a GitHub URL at the given SHA, and a link todocs/TESTING.mdfromREADME.mdstays relative. - A test fails when a staged page is in no nav tab.
- Each built page holds the version, the short SHA and the build time, and the
devops-build-commitmeta tag. docs/MCP_TOOLS.mdhas 0 links to an anchor that GitHub does not write.- The Pages workflow and the Docs Site Build check each finish in under 5 minutes.
- The live site has a search box and the 7 nav tabs after the merge.
Dependencies
None. After the merge, the owner sets the Pages source to GitHub Actions (owner step 1 of the tracker).
Source: #5151
Activity
dan-petty commentedon Nov 12, 2026
Both shape the docs site appearance, but the candidate migrates the whole platform to Zensical while #4745 builds a token-based theme on the existing Jekyll site.chore(openspec): archive the change of #5152
chore(openspec): archive the change of #5152
devops-cli-service commentedon Nov 12, 2026
Released in v0.122.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.122.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 19:05 UTC