You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7dbe333
Browse filesBrowse the repository at this point in the historyBrowse files
fix: align build and docs with knowledge base contract v1
- theme/style.css: add the --color-kb-600 token required by
contract/HEADLESS_RULES.md
- scripts/pack.py: force UTF-8 on stdout/stderr so the progress glyphs do
not crash on a Windows console (cp1252)
- scripts/pack.sh: render the showcase from data/showcase.yml like pack.py
does instead of copying the unrendered showcase.html Jinja template;
copy admin/ for standalone builds only
- docs/test-page.md: order 6 (was a duplicate of publishing.md's 5);
kb-docs.json pages regenerated
- docs, CLAUDE.md: describe the showcase as raw HTML in data/showcase.yml
wrapped at build time; fix the standalone HTML page instructions
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NgL7U6ED5aQQbpDa1qsvcU
Copy file name to clipboardExpand all lines: CLAUDE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Set `SKIP_PIP_INSTALL=1` to skip automatic pip install in managed environments.
36
36
2. Auto-generate nav from `docs/` frontmatter (title, order, section) + wiki pages
37
37
3. Write merged config to temporary `mkdocs-build.yml`
38
38
4. Run `mkdocs build` against merged config
39
-
5.Render `showcase.html` template with `data/showcase.yml`→`dist/index.html` (headless strips `<nav>` and adds `data-kb-headless="true"`)
39
+
5.Wrap the raw HTML under `content:` in `data/showcase.yml`into`dist/index.html` (headless strips the `<nav>` between the Navigation markers and adds `data-kb-headless="true"`)
Copy file name to clipboardExpand all lines: docs/customising.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ theme:
78
78
79
79
## Showcase landing page
80
80
81
-
The landing page at `dist/index.html` is rendered from `data/showcase.yml` through a Jinja2 template (`showcase.html`). Edit the YAML file to change headings, feature cards, steps, and CTA buttons — or use the CMS at `/admin/` for a visual editor.
81
+
The landing page at `dist/index.html` is the raw HTML stored under `content:` in `data/showcase.yml`, wrapped into a full page by the build script. Edit that HTML to change headings, feature cards, steps, and CTA buttons — or use the CMS at `/admin/` for a live-preview editor. Keep the `<!-- ── Navigation ── -->` … `<!-- ── /Navigation ── -->` markers around the `<nav>`: the headless build removes exactly that block.
82
82
83
83
Styles live in `showcase.css`. Design tokens are at the top of the file.
0 commit comments