Skip to content

Add frontmatter and sidebar ordering to docs/ for the new docs site - #558

Open
HappyDevs1 wants to merge 1 commit into
mainfrom
docs-frontmatter
Open

Add frontmatter and sidebar ordering to docs/ for the new docs site#558
HappyDevs1 wants to merge 1 commit into
mainfrom
docs-frontmatter

Conversation

@HappyDevs1

Copy link
Copy Markdown
Collaborator

Summary

  • Adds title/description YAML frontmatter to every file in docs/, required by the new Automators docs site (Fumadocs-based, see automators-com/docs) — without it, next build there fails outright on all 17 files.
  • Removes each file's leading # Heading line since the site renders the title separately; left in, it would show twice on every page.
  • Adds docs/meta.json for sidebar ordering (getting-started → authoring → recording → self-help → agent-testing → capture → multi-surface, then the rest).

Not touched — needs a decision

docs/loop/ (corpus.yaml, ledger.yaml, milestones/m2-falsifiability.md) looks like internal planning content, not documentation. I didn't add frontmatter to milestones/m2-falsifiability.md, so it's excluded from the new site by the same title-frontmatter rule rather than a special case — but flagging that it may be worth moving docs/loop/ out of docs/ entirely, since that folder is now effectively public-facing.

Test plan

  • Verified locally against the docs site: next build succeeds and all 17 pages render (previously failed on every file)
  • Confirmed docs/loop/milestones/m2-falsifiability.md correctly does not publish (404s)
  • Spot-checked rendered pages in a browser: correct title/description, sidebar order matches meta.json, no duplicate heading
  • Maintainer: confirm titles/descriptions read well and docs/loop/ disposition

The new Automators docs site (docs.automators.com, see
automators-com/docs) renders each product's docs/ folder with Fumadocs,
which requires title (and reads description) from YAML frontmatter, and
uses a meta.json for sidebar ordering. Neither existed here yet, so the
site's build failed outright on every one of these 17 files
("title: Invalid input: expected string, received undefined").

- Added `title`/`description` frontmatter to every docs/*.md file, and
  removed each file's leading `# Heading` line since the site renders
  the title separately (DocsTitle) — left in place it would have shown
  twice.
- Added docs/meta.json ordering pages by what a first-time reader needs:
  getting-started, authoring, recording, self-help, agent-testing,
  capture, multi-surface first, then the rest.

Not touched: docs/loop/ (corpus.yaml, ledger.yaml,
milestones/m2-falsifiability.md) looks like internal planning content
rather than documentation, and now that files need frontmatter to
publish, it's excluded from the site by the same rule rather than a
special case — flagging here in case docs/loop/ should move out of
docs/ entirely so it doesn't sit inside what's now a public-facing
folder.
Copilot AI lite review requested due to automatic review settings September 7, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants