Templates
Every doc type has a matching template bundled in the @ciderpress/templates package. Use the CLI to scaffold them or import the SDK directly into your own tooling.
Scaffolding with the CLI
The fastest way to create a new doc is ciderpress draft:
This renders the template with your title and writes it to the output directory.
Using the SDK
You can import @ciderpress/templates directly to integrate with your own CLI or tooling:
Available templates
Templates use {{title}} as the placeholder, which is replaced when rendering.
Tutorial
Type: tutorial
Guide
Type: guide
Quickstart
Type: quickstart
Explanation
Type: explanation
Reference
Type: reference
Standard
Type: standard
Troubleshooting
Type: troubleshooting
Runbook
Type: runbook
References
- Types — rules for each doc type
- Recommended — where templates fit in the layout
- CLI Commands — full CLI reference