← All posts

Style rules, per folder

How to give your API reference and your tutorials different rules.

Wooden type case drawers labelled Caslon.
Wooden type case drawers labelled Caslon.
Wooden type case drawers labelled Caslon.
Wooden type case drawers labelled Caslon.

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.

Docs that keep up with your code.

$ docwake run --on homepage
Run complete: 9 steps, about 3 min, exit 0
Steps: Docs that keep up with your code, Five steps, every merge, Tested on 1,240 doc changes, What Docwake does not do, Fits the tools you already use, The changelog is the roadmap, Free for one repo, Asked before every trial, Run it on your next merge.

© 2026 Docwake. Sample company.

Docs that keep up with your code.

$ docwake run --on homepage
Run complete: 9 steps, about 3 min, exit 0
Steps: Docs that keep up with your code, Five steps, every merge, Tested on 1,240 doc changes, What Docwake does not do, Fits the tools you already use, The changelog is the roadmap, Free for one repo, Asked before every trial, Run it on your next merge.

© 2026 Docwake. Sample company.

Docs that keep up with your code.

$ docwake run --on homepage
Run complete: 9 steps, about 3 min, exit 0
Steps: Docs that keep up with your code, Five steps, every merge, Tested on 1,240 doc changes, What Docwake does not do, Fits the tools you already use, The changelog is the roadmap, Free for one repo, Asked before every trial, Run it on your next merge.

© 2026 Docwake. Sample company.

Docs that keep up with your code.

$ docwake run --on homepage
Run complete: 9 steps, about 3 min, exit 0
Steps: Docs that keep up with your code, Five steps, every merge, Tested on 1,240 doc changes, What Docwake does not do, Fits the tools you already use, The changelog is the roadmap, Free for one repo, Asked before every trial, Run it on your next merge.

© 2026 Docwake. Sample company.

Create a free website with Framer, the website builder loved by startups, designers and agencies.