This project is a Phosphor docs site. Phosphor is a static documentation site generator that takes Markdown + YAML config and produces a dark-themed docs site.
- Build:
phosphor build(orpython3 -m phosphor.cli build .from this directory) - Serve:
phosphor serve(orpython3 -m phosphor.cli serve .) - Config:
docs.yaml— site metadata, nav structure, page list - Content:
pages/*.md— Markdown files with Phosphor component syntax - Output:
_site/— static HTML (deploy this)
See PHOSPHOR_AGENT.md in this directory for the complete reference including:
- All
docs.yamlconfig fields - All Markdown component block syntax (
:::tip,:::cards,:::hero, etc.) - Page structure rules (start with
##, use###for subsections) - Build commands and common page patterns
- Pages start with
##headings, never#(h1 is reserved for hero sections) - Internal links use
.htmlextension:[Page](page.html#section) - Every page must be listed in the
pages:array indocs.yamlto be built - Nav
anchorvalues must match auto-generated heading IDs (lowercase, hyphens) - Icons are Lucide icon names: https://lucide.dev/icons