Skip to content

feat(docs): track the docs site upgrade and the docs and Pages jobs #5151

Open
4 of 8 issues completed
Open

Description

@dan-petty

Problem or Motivation

The owner wrote on 2026-11-12, word for word: "my github pages seem out of date or limited as well". The owner then asked, word for word: "Use this workflow to generate a docs and github pages jobs that manage github issues for common documentation issues and missing functionailty/implementation".

Facts on main on 2026-11-12:

  • Two deploy paths. GET /repos/dan-petty/devops-cli/pages gives build_type: legacy from main:/docs, and .github/workflows/pages.yml also deploys. Each push that changes docs/ makes 2 deployments (7743626088 at 16:48:07Z and 7743627710 at 16:48:11Z, both on aed68b3). Line 3 of pages.yml says that the Pages source is GitHub Actions. That is false: the owner step of ci(pages): build the docs site from a workflow with a docs filter #4656 is not done.
  • No version on the pages. The content is current (Last-Modified: Thu, 12 Nov 2026 16:55:26 GMT), but no page shows a version, a commit or a build date. The reader cannot see that the site is current.
  • Pages out of reach. 53 of 99 site pages have no link path from the home page or the nav: all 42 docs/commands/*.md pages, ENV_VARS, ERRORS, KNOWLEDGE_BASE, KNOWN_ISSUES, SELF_IMPROVEMENT, DEVCONTAINER_USAGE and 5 ADRs.
  • Root documents off the site. README, ARCHITECTURE, CONTRIBUTING, SECURITY, RELEASE_CYCLE, CONTEXT, AGENTS and CHANGELOG are not on the site. 183 relative links from site pages to repository files go to a 404 page on the site.
  • Broken anchors. docs/MCP_TOOLS.md has 149 broken anchors, also on github.com: src/devops_cli/docs/generator.py:638 writes #ai-ask-jev, and GitHub writes the id ai_ask_jev.
  • No search. docs/CLI_REFERENCE.md is one page of 412,785 bytes.
  • Stale builder. actions/jekyll-build-pages v1.0.13 is of 2024-08-06 (Jekyll 3.10).
  • No documentation job. No job files issues for documentation defects or Pages faults in a Service repository. devops docs check gates the pull requests of devops-cli only. feat(docs): track current content and brain-fed reference docs #4880 plans a drift lane for devops-cli only.

Goal

  • One site build and one deploy path.
  • Every document is on the site and in the nav. The site has search.
  • Every page shows the version, the commit and the build time.
  • Two roadmap jobs find documentation defects, Pages faults and documented behavior that the code lacks, in each Service repository. They keep one issue for each finding group.

Decisions

  • Generator: Zensical 0.1.1 (MIT), from the Material for MkDocs team. A trial build of docs/ and 7 root documents made 107 pages in 5.03 s, with README as the home page, a sitemap, search and Mermaid, with no change to the Markdown.
    • Rejected: Material for MkDocs 9.8.1. It reaches end of life on 2027-05-05, and MkDocs had no release since 2024-08-30.
    • Rejected: Sphinx with Furo. It needs MyST, sphinxcontrib-mermaid and include directives for the root documents.
    • Rejected: Astro Starlight. Each page needs a title front matter, and it adds a Node toolchain.
    • Rejected: keep Jekyll. Search and nav need a theme and front matter on each page, and the builder is stale.
    • Rejected: versioned docs (mike). It needs a gh-pages branch, which is a second deploy path, and the project made 100 or more releases in 30 days. Each page shows the version.
    • Risk: Zensical is a beta for 3 months from 0.1.0 (2026-11-05). Pin the exact version. The Markdown stays plain GFM.
  • Build. The build copies docs/ and the root documents, in their repository paths, to a gitignored folder. Thus each link that works on github.com also works on the site, and git holds no copy. The build changes a link to another repository file into a GitHub URL at the build commit.
  • Nav tabs. Home (README), Guides, CLI reference (the 42 group pages, then the one-page reference), Reference, Decisions (ADRs), Project (root documents), Releases (CHANGELOG). Globs add a new page with no nav edit.
  • One deploy path: pages.yml. The pull request check docs-site.yml runs the same build in strict mode.
  • Jobs. devops roadmap step docs-audit and devops roadmap step pages-health, each with the mode off|plan|on (default plan). An Argo CronWorkflow runs them for each Service repository, and the router starts a docs audit on a docs push (ADR 0021, feat(roadmap): track the Service step jobs #5014).
  • Issues. One marker with a fingerprint for each finding group (one check class on one page). A run edits the open issue and closes it after 2 clean runs. New groups go through intake. At most 3 new issues for each repository each run, with at most 20 findings each (the lane limits of feat(docs): track current content and brain-fed reference docs #4880). A progress-aware extension allows up to 10 a week. A dry run sends 0 requests.
  • One tracker for both parts. The site part has one new item, and existing issues own the rest. A second tracker adds no order.

Ordered child list

Each line gives the issue, its child number and the issues to merge first.

Folded into existing items (scope comments, not children)

Owner steps

  1. After child 1 merges, set Settings > Pages > Build and deployment > Source to GitHub Actions. This step is open since ci(pages): build the docs site from a workflow with a docs filter #4656. Then each push makes one deployment.
  2. Optional: set the repository variable PROJECT_REVIEW_URL (feat(roadmap): publish the project review and link it on GitHub #4733).
  3. Question: turn docs/CLI_REFERENCE.md into an index page (the held row of feat(docs): track current content and brain-fed reference docs #4880)? Nobody files it without an owner yes. The site lists the group pages without it.

Measure of the whole

Measure Today Target
Deployments for each push that changes the site 2 1
Site pages with a link path from the home page or the nav 46 of 99 all
Root documents on the site 0 of 8 8 of 8
Pages that show the version, the commit and the build time 0 all
Site search no yes
Broken internal links and anchors in a strict build 174 and 149 0 and 0
Service repositories that the docs and Pages jobs check 0 7
Duplicate finding issues after 2 runs none (no job) 0

Target Subsystem

Documentation (the site build, docs/, .github/workflows/pages.yml, .github/workflows/docs-site.yml) and SDLC, Git & PR Governance (src/devops_cli/roadmap/, k8s/).

Existing Tool Considered

Zensical 0.1.1 (MIT), rumdl, Vale 3.26.0 (MIT), lychee (Apache-2.0 or MIT), the GitHub Pages REST API and Argo Workflows. Custom code: the stage step with the link change (about 120 lines), the finding-issue module (about 250 lines), two step commands (about 200 lines each) and the missing-functionality check (about 300 lines). Each child gives its cost.

Acceptance Criteria

  • Each child is merged, or closed with evidence.
  • The measures of the whole meet their targets.
  • GET /repos/dan-petty/devops-cli/pages gives build_type: workflow (owner step 1).

Dependencies

None for the tracker. The children carry their own.

Alternatives check of 2026-11-28: in-use.
The repository already uses this tool.
Tool: zensical/zensical (https://github.com/zensical/zensical), MIT, last activity 2026-11-27, maintained.
Reason: Searches confirm Zensical is the open, maintained generator the issue already adopts; it covers the site build, nav, search and Mermaid, but the docs-audit and Pages-health jobs remain custom code.

Covers:

  • One build of docs and root documents, README as home
  • Built-in search, sitemap and Mermaid on plain GFM Markdown
  • Nav tabs with globs, so a new page needs no nav edit
  • Version display without mike or a second gh-pages deploy path

Lacks:

  • No job files, updates or closes finding issues by fingerprint
  • No Pages API health check for build_type and deploy faults
  • No built-in link, anchor or prose lint checks
  • No commit and build time on each page without a hook

Sub-issues

Sub-issues

4 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    source/agent
    type/feature
    scope/docs
    status/new
    value/high
    effort/high
    on Nov 12, 2026
  2. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    on Nov 12, 2026
  4. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Scope comment from #5164 (job grades for each agentic workflow, owner request of 2026-11-12).

    The docs-audit step (#5155) and the Pages health step (#5154) are agentic workflows and get a job grade. Each run writes one result line with log_job_result (roadmap/job_result.py):

  5. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (5)

    Tools considered:

    Searches run:

    • Zensical static site generator documentation Material for MkDocs, results: 5
    • Zensical docs site search navigation versioning Mermaid support, results: 5
    • zensical.org, results: 5
    • "Zensical" Python package documentation generator, results: 5
    • github zensical/zensical documentation site generator features, results: 5

    Sources:

  6. dan-petty commented on Dec 1, 2026

    @dan-petty
    OwnerAuthor

    2026-12-01: #4920 is closed as not planned. The docs audit cannot use devops docs drift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/highpriority/p2-mediumscope/docssource/agentstatus/newtype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions