Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
Process reads all compozy*.md files from srcDir, transforms them into Fumadocs-compatible MDX, and writes them to dstDir using a nested directory layout: `compozy` → compozy.mdx, `compozy_agent` → agent/index.mdx, `compozy_agent_list` → agent/list.mdx, and so on.
The root-level index.mdx and meta.json of dstDir are hand-maintained and never touched by Process. Subdirectory meta.json files are regenerated on each run. Stale files from prior runs are removed before writing.
func TransformMarkdown ¶
TransformMarkdown converts raw Cobra markdown to Fumadocs MDX format. It strips boilerplate, extracts metadata, and prepends YAML frontmatter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.