blodemd init
Scaffold a new documentation directory.
Create a starter documentation directory with a docs.json configuration file and an index.mdx page.
blodemd init [dir]The dir argument defaults to docs if omitted.
Running blodemd init generates the following file tree:
The generated configuration uses the mint theme and a single "Getting Started" navigation group:
{
"$schema": "https://docs.blode.md/docs.json",
"name": "my-project",
"theme": "mint",
"colors": {
"primary": "#0D9373"
},
"navigation": {
"groups": [
{
"group": "Getting Started",
"pages": ["index"]
}
]
}
}A minimal starter page with a title and placeholder content:
---
title: Welcome
---
Start writing your docs here.blodemd initIf the target directory already contains a docs.json or index.mdx, those
files are not overwritten.
docs.json and set name to your project slug. This determines the default {name}.blode.md hostname served by the platform wildcard..mdx pages and update the navigation array.blodemd push to deploy.