AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
blodemd new
Create a new blode.md documentation site.
Create a starter documentation directory with a docs.json configuration file and an index.mdx page.
blodemd new [directory]Interactive blodemd new inspects the current directory first:
- If the current directory is empty, it scaffolds there and prompts for the project slug.
- If the current directory is not empty, it asks whether to create the docs in a subdirectory or scaffold the current directory.
- If prompts are skipped with
--yesor in a non-interactive environment, it falls back todocs/.
What it creates
If you create the docs in a docs/ subdirectory, blodemd new generates the following file tree:
docs.json
The generated configuration uses the hosted Blode.md schema and a single "Getting Started" navigation group. The slug field comes from the slug prompt, --slug, or a derived default. The name field defaults to a title-cased display name based on that slug unless you pass --display-name.
{
"$schema": "https://blode.md/docs.json",
"name": "My Project",
"slug": "my-project",
"navigation": {
"groups": [
{
"group": "Getting Started",
"pages": ["index"]
}
]
}
}index.mdx
A minimal starter page with a title and placeholder content:
---
title: Welcome
---
Start writing your docs here.Starter template
Use the starter template when you want a richer first pass with repo hygiene files, agent instructions, and branding assets:
.gitignorefavicon.svgREADME.mdAGENTS.mdCLAUDE.mdlogo/light.svgandlogo/dark.svgimages/hero-light.svg,images/hero-dark.svg, andimages/checks-passed.svgquickstart.mdxdevelopment.mdx
blodemd new --template starterAGENTS.md links to CLAUDE.md when the local filesystem supports symlinks. The default blodemd new output stays as the minimal two-file scaffold.
The starter does not generate a LICENSE file. Choose a license explicitly if
the repo will be public or open source.
Options
Examples
blodemd newblodemd new stops with an error if the target directory already contains any
scaffolded files. It also refuses to scaffold into a non-empty directory
unless you confirm that interactively.
Next steps
- Review
docs.jsonand changeslugif you want a different deployment target or{slug}.blode.mdsubdomain. Changenameif you want a different visible site title. - If you used the starter template, replace the generated helper files and brand assets with project-specific content.
- Add more
.mdxpages and update thenavigationarray. - Run
blodemd pushto deploy.