Skip to content

docs: publish version-scoped agent documentation - #1225

Merged
bruAristimunha merged 7 commits into
masterfrom
docs/versioned-agent-index
Oct 4, 2026
Merged

bruAristimunha merged 7 commits into
masterfrom
docs/versioned-agent-index

Conversation

@bruAristimunha

Copy link
Copy Markdown
Collaborator

Summary

  • Generate a curated, version-scoped llms.txt and nine Markdown entry points from canonical Sphinx sources after the existing HTML build.
  • Retain source SHA, package version and canonical HTML provenance; preserve image/citation/gallery navigation through a narrowly scoped translator.
  • Publish only through the existing dev/ deployment. Stable and historical documentation are unchanged.

Validation

  • Reproduced all 30 offline contract/integration tests, including real shared-doctree HTML → Markdown gallery conversion and a once-only data-free example.
  • Fresh upstream diff inspection and git diff --check pass.
  • Full existing GitHub CI, including docs gallery execution, remains the required integration gate. Generated docs artifact will be inspected before merge.
  • No datasets downloaded locally; no generated assets or reports committed.

Deployment

Existing master merge also invokes the normal development PyPI release workflow; this existing side effect is acknowledged and approved. No release workflow changes are included.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 15:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The implementation is well-tested and deployment-scoped; only a minor release-note convention remains.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Adds curated, version-scoped Markdown documentation and llms.txt generation to the development documentation deployment.

Changes:

  • Adds Markdown translation, provenance validation, and publication tooling.
  • Integrates generation and offline tests into documentation CI.
  • Documents the workflow and adds its dependency.
File Description
pyproject.toml Adds the Markdown builder dependency.
docs/​whats_new.rst Announces agent documentation generation.
docs/​tests/​test_agent_docs.py Tests generation, provenance, links, and Sphinx integration.
docs/​sphinxext/​agent_markdown.py Handles images, citations, raw content, and navigation.
docs/​conf.py Enables Markdown generation and HTML-targeted links.
docs/​build_agent_docs.py Validates and publishes curated Markdown pages and llms.txt.
docs/​agent_docs.rst Documents building, validation, and deployment scope.
.github/​workflows/​docs.yml Builds and tests agent documentation before deployment.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/whats_new.rst Resolved
Copilot AI balanced review requested due to automatic review settings October 4, 2026 15:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

Review effort: Lite
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)

Comment thread docs/sphinxext/agent_markdown.py Resolved
Comment thread .github/workflows/docs.yml Resolved
Copilot AI balanced review requested due to automatic review settings October 4, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

The dependency change and enhancement entry do not follow established changelog requirements and attribution conventions.

Review effort: Balanced
Findings: None

Resolved since last review (3)
Previously missed (2)

In code that hasn't changed since last review

Low severity Add the standard pull request and contributor attribution

docs/​whats_new.rst:32

This new changelog item omits the contribution attribution used by every other enhancement in the current section. Please append the repository's standard (:gh:…by…_) attribution so the entry identifies its pull request and contributor.

Low severity Add the pinned docs dependency to the Requirements changelog section

pyproject.toml:98

The new pinned package is added to both the docs extra and, transitively, all, but the changelog only describes the feature under Enhancements. This repository records dependency and extra changes in the dedicated Requirements section (for example, docs/whats_new.rst:334-340 and docs/whats_new.rst:657-664); please add an entry there for this new docs requirement and pin.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 16:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The implementation is scoped to development documentation and includes comprehensive validation for its publication contract.

Review effort: Balanced
Findings: None

@codecov

codecov Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.79%. Comparing base (dfc19d0) to head (82b2585).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1225   +/-   ##
=======================================
  Coverage   87.79%   87.79%           
=======================================
  Files         149      149           
  Lines       17462    17462           
=======================================
  Hits        15330    15330           
  Misses       2132     2132           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 18:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

Final confidence depends on inspecting the full generated Sphinx artifact and deployment output as planned.

Review effort: Balanced
Findings: None

@bruAristimunha
bruAristimunha merged commit dccfb10 into master Oct 4, 2026
15 checks passed
@bruAristimunha
bruAristimunha deleted the docs/versioned-agent-index branch October 14, 2026 15:55
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