From 9dcd7ad83cadcdd4cd7db32b6687870c6714813b Mon Sep 17 00:00:00 2001 From: HeyItsGilbert Date: Tue, 3 Nov 2026 20:17:59 +0000 Subject: [PATCH] fix(docs): publish Gatekeeper/Schemas/ to GitHub Pages at the $id paths Both schema files' $id now point at https://heyitsgilbert.github.io/Gatekeeper/schema/1.0.0/{FeatureFlag,Properties}.json (#105), but nothing published them there - the Pages workflow only ever copied static/ and guides/ into docs/ before the mkdocs build. The $id URLs have been dead (404) since that schema correction landed. Adds 'Gatekeeper/Schemas/:docs/schema/1.0.0/' to the Pages workflow's additional_copies input, following the exact pattern already used for static/ and guides/. mkdocs copies non-Markdown files under docs/ as static assets verbatim, so both JSON files land at exactly the $id path once published. Verified locally: replicated the reusable workflow's Copy-Item logic against a scratch docs/ tree, then ran a real 'mkdocs build' (Material theme + plugins from docs/requirements.txt) against it. Both files land at site-dir/schema/1.0.0/{FeatureFlag,Properties}.json exactly as served content would. (Content reflects main's current pre-#112 schema in this verification, since #112 hasn't merged yet - the $id values themselves will be correct automatically on the next Pages build once it does; this fix is about the publish path, not schema content.) --- .github/workflows/Pages.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Pages.yaml b/.github/workflows/Pages.yaml index e6b9732..c5aecbc 100644 --- a/.github/workflows/Pages.yaml +++ b/.github/workflows/Pages.yaml @@ -15,4 +15,5 @@ jobs: additional_copies: | static/:docs/assets/images/ guides/:docs/guides/ + Gatekeeper/Schemas/:docs/schema/1.0.0/