Skip to content

docs: add missing example categories to examples catalogue (#645)#672

Merged
planetf1 merged 2 commits intogenerative-computing:mainfrom
planetf1:docs/pre-release-verify-645
Mar 17, 2026
Merged

docs: add missing example categories to examples catalogue (#645)#672
planetf1 merged 2 commits intogenerative-computing:mainfrom
planetf1:docs/pre-release-verify-645

Conversation

@planetf1
Copy link
Contributor

@planetf1 planetf1 commented Mar 17, 2026

Misc PR

Type of PR

  • Bug Fix
  • New Feature
  • Documentation
  • Other

Description

Complete the examples catalogue and add automated validation to prevent
future drift.

  • Add 5 missing example categories to docs/docs/examples/index.md:
    plugins/, m_decompose/, tutorial/, notebooks/, and
    hello_world.py — these directories existed in docs/examples/ but
    were not discoverable from the published docs
  • Add validate_examples_catalogue() check to tooling/docs-autogen/validate.py
    that fails the doc validation if any example directory (containing .py
    files) is missing from the catalogue
  • Add 4 tests for the new validation check (pass, missing, skip helper,
    skip empty dirs)
  • Update CONTRIBUTING.md to remind authors to check all examples are
    catalogued, not just newly added ones

Also raised #671 for a follow-up: add a highlighted IVR walkthrough page
to match the other four featured examples.

Testing

  • Tests added to the respective file if code was changed
  • New code has 100% coverage if code as added
  • Ensure existing tests and github automation passes (a maintainer will kick off the github automation when the rest of the PR is populated)

…e-computing#645)

Add plugins, m_decompose, tutorial, notebooks, and hello_world to the
examples index page so all runnable example directories are discoverable
from the published docs.

Also add a note to CONTRIBUTING.md reminding authors to update the
catalogue when adding new example directories.
@github-actions
Copy link
Contributor

The PR description has been updated. Please fill out the template for your PR to be reviewed.

@planetf1 planetf1 added the documentation Improvements or additions to documentation label Mar 17, 2026
Add validate_examples_catalogue() to validate.py that checks every
example directory under docs/examples/ (containing .py files) has a
corresponding entry in docs/docs/examples/index.md.

Also refine the CONTRIBUTING.md guideline to frame it as a check
rather than only an instruction for when adding examples.
@planetf1 planetf1 marked this pull request as ready for review March 17, 2026 18:33
@planetf1 planetf1 requested a review from a team as a code owner March 17, 2026 18:33
@planetf1 planetf1 enabled auto-merge March 17, 2026 18:33
@planetf1 planetf1 added this pull request to the merge queue Mar 17, 2026
Merged via the queue into generative-computing:main with commit a86fe40 Mar 17, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: pre-release documentation verification pass

2 participants