← All posts
Style rules, per folder
How to give your API reference and your tutorials different rules.
FIG. 02
One drawer per typeface.
Product
By C. Sample
Design
3
min
Sample post
Every name, figure and line here is sample copy.
Your API reference and your tutorials should not sound the same. Docwake reads a rules file per folder, so each part of your docs keeps its own voice.
How it works
Add a file called docwake.rules to any folder. Docwake applies the nearest rules file to every page it drafts in that folder and the folders below it.
Reference: short sentences, no first person.
Tutorials: second person, one action per step.
Changelogs: one change per line.
Rules files are plain text. They live in your repository, next to the pages they describe.
New posts by email.
One email per post. Unsubscribe at any time. See the privacy notice.
