feat: kind: repo-entity page type for wiki_lint.py#5
Conversation
Signed-off-by: Iurii Purisev <92510590+purisev@users.noreply.github.com>
|
Thanks for putting this together. I’m closing this PR rather than merging it into v2. V2 relies on The underlying use case is still not concrete enough to justify a special schema exception. If repository inventory becomes a supported workflow, I would prefer to model repositories as standard entity pages—likely Thank you for exploring the idea and for following the issue-first contribution process. |
Implements #3.
Adds an opt-in
kind: repo-entitypage marker for inventory-anchor pages(e.g. a stub page per git repo listing origin/web_url/description) that are
by design cited only from index.md and carry no other content.
kind: repo-entity(index-only citationis the accepted shape for this kind).
(
kind,type,name,origin,web_url,description) instead of the standardtype,title,tags,created,updated.--repo-entity-required-fmand
--no-repo-entity-exemption, and are backward compatible — a wikiwith no
kind: repo-entitypages sees no change in output.Smoke-tested: a
kind: repo-entitypage with no inbound wikilinks and onlykind/type/name/origin/web_url/descriptionin frontmatter produces zerofindings by default, and reappears under
--no-repo-entity-exemption/a stricter
--repo-entity-required-fm.