Documentation Updates Workflow
The KMGraph docs site uses a Docusaurus blog plugin instance mounted at /docs-updates/ to track docs-only changes. Each docs-only branch produces one feed post.
This page documents how to create that post, what frontmatter is required, and which style-guide rules apply.
When to use a docs-only branchβ
Use a docs-update-{description} branch (no version prefix) when:
- The change only affects the docs site (
docs/,docs-updates/,docusaurus.config.js,sidebars.js,src/css/) - No code, commands, skills, agents, hooks, or MCP server changes are included
Use a v{ver}-{description} branch when:
- Code, commands, skills, agents, hooks, or MCP server are changing (even if docs are also updated)
Scope boundary: CHANGELOG.md is for code releases only. The docs-updates/ feed is for docs site changes only. A docs-only branch does not touch CHANGELOG.md.
Branch namingβ
docs-update-{description}
Examples:
docs-update-command-guideβ rewrote the command referencedocs-update-docusaurus-migration-restructureβ full DiΓ‘taxis restructure
How to create a feed postβ
-
Create a file at
docs-updates/YYYY-MM-DD-{slug}.mdxwhere the date is the expected merge date. -
Use this frontmatter:
---
slug: {slug}
title: Short descriptive title of the docs change
authors: technomensch
tags: [restructure, gap-closure, bugfix, visuals, accessibility]
date: YYYY-MM-DD
---
One-paragraph summary of what changed and why.
<!-- truncate -->
## Section Heading
Details...
- Preview locally:
npm run start
# navigate to http://localhost:3000/knowledge-graph/docs-updates/
- The post URL will be
/docs-updates/{slug}. Link it from the PR description.
Required frontmatter fieldsβ
| Field | Required | Notes |
|---|---|---|
slug | Yes | Matches branch name suffix (e.g., command-guide) |
title | Yes | Short β appears in feed list and browser tab |
authors | Yes | Must match a key in docs-updates/authors.yml |
tags | Yes | At least one tag |
date | Yes | ISO 8601 (YYYY-MM-DD) |
Style-guide rules for feed postsβ
- Third-person voice per
STYLE-GUIDE.md Β§1.1 - No hardcoded counts (
STYLE-GUIDE.md Β§1.6): write "all commands" not "26 commands" - Platform-agnostic language unless the change is Claude Code-specific
- Citation keys (
[CitationKey]) for any best-practice claims - Use
<!-- truncate -->after the intro paragraph so the feed list shows a clean excerpt
Backfilling historical entriesβ
Historical entries from the old CHANGELOG-DOCS-ONLY.md have been migrated to docs-updates/2026-02-26-github-docs-visuals.mdx. To backfill additional entries, create a file with the original date and use tags: [historical].
One branch = one feed postβ
Every docs-only branch produces exactly one feed post, regardless of how many files changed. Trivial typo fixes (one word, no structural change) may skip the post β use judgment.