This is an mdBook that can be accessed at https://docs.starhaven.dev.
mdbook serve
Diataxis is a framework for thinking about and doing documentation.
Diátaxis identifies four distinct needs, and four corresponding forms of documentation:
- Tutorials (learning)
- How-to guides (goals)
- Technical reference (information)
- Explanation (understanding)
When someone lands on https://docs.starhaven.dev, we should quickly guide them to the right place.
Keep in mind that the reader is probably looking for a solution to a problem. They don't want to read a novel. They want to get in, get the information they need, and get out.
- Use alt text for images
- Keep tables simple
- Never merge cells
- Never use nested tables
- Use headings to structure content
Most important information at the top, least important at the bottom.
Immediately assure the reader they're in the right place.
To allow the reader to quickly scan the page and find the information they need.
Use "we" instead. Even better, use the imperative mood.
Technical writing should be (mildly) fun! You may occasionally want to reference pop culture, or use a meme. Just don't overdo it.
Don't use 10 words when 5 will do.