Skip to content

docs: regenerate stale reference pages and add optional use case metadata - #92

Merged
iddocohen merged 3 commits into
mainfrom
ic/docs-usecases-and-stale-pages
Sep 8, 2026
Merged

iddocohen merged 3 commits into
mainfrom
ic/docs-usecases-and-stale-pages

Conversation

@iddocohen

Copy link
Copy Markdown
Contributor

Housekeeping split out of #91 so that PR shows only its own change.

Two independent things:

  1. 15 reference pages were stale on main. The committed pages still name InfraGenericDevice, InfraIPAddress and InfraPrefix where the schemas say DcimGenericDevice and IpamIPAddress. Running invoke docs.generate on an untouched checkout rewrites all 15, so CI's "Generated documentation is out of date" check fails on any PR that reaches it. This is that regeneration, and nothing else: every hunk is a kind rename or its knock-on.

  2. Two optional metadata keys, use_cases and not_covered, rendered as a Use cases section on reference pages. Salvaged from an abandoned branch. Additive: no extension defines them here, so regenerating produces no further diff.

Also ignores docs/superpowers/, which holds working documents rather than library content, in git and in markdownlint.

Verified: docs.generate is idempotent after this, pytest 12 passed, yamllint and markdownlint clean.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Deploying schema-library with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8276299
Status: ✅  Deploy successful!
Preview URL: https://090f509f.schema-library.pages.dev
Branch Preview URL: https://ic-docs-usecases-and-stale-p.schema-library.pages.dev

View logs

@iddocohen
iddocohen marked this pull request as ready for review September 7, 2026 18:11
@iddocohen
iddocohen requested a review from BaptisteGi September 7, 2026 18:12
The committed pages still named InfraGenericDevice, InfraIPAddress and
InfraPrefix. The schemas renamed those kinds and the generated output was
never refreshed, so docs.generate rewrote 15 pages on an untouched tree.
This is that refresh, kept separate from any schema change.
objects/extensions/mlag names objects/extensions/dwdm among the files that re-upsert nyc1-rtr01. No such directory exists anywhere in the history.
@iddocohen
iddocohen force-pushed the ic/docs-usecases-and-stale-pages branch from b92d55c to 8276299 Compare September 8, 2026 05:20
@iddocohen
iddocohen merged commit 6116e93 into main Sep 8, 2026
8 checks passed
@iddocohen
iddocohen deleted the ic/docs-usecases-and-stale-pages branch September 8, 2026 18:04
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.

1 participant