Quick Start¶
Get your documentation up and running in 5 minutes.
1. Initialize Configuration¶
Navigate to your project root and run:
This creates a plissken.toml with auto-detected settings:
[project]
name = "myproject"
version_from = "cargo" # or "pyproject"
[output]
format = "markdown"
path = "docs/api"
template = "mkdocs-material"
[rust]
crates = ["."]
[python]
package = "mypackage"
2. Generate Documentation¶
This parses your source code and generates Markdown files:
3. Set Up MkDocs¶
Create mkdocs.yml:
site_name: My Project
theme:
name: material
nav:
- Home: index.md
- API Reference:
- api/index.md
# Copy entries from docs/api/_nav.yml here
Copy the navigation entries from the generated docs/api/_nav.yml into your mkdocs.yml.
4. Serve Locally¶
Visit http://localhost:8000 to see your docs!
5. Build for Production¶
The static site is in site/, ready for deployment.
Next Steps¶
- Configuration - Customize your setup
- Python Projects - Python-specific features
- Rust Projects - Rust-specific features
- Hybrid Projects - PyO3/maturin bindings