Writing Style Guide for Docs
Summary
#stage.seed (Private): this guide is a work in progress
Writing style guide at Dendron when writing documentation, we use the classification set forth in the four types of documentation.
Examples
- tutorial: https://docs.djangoproject.com/en/4.0/intro/tutorial01/
- eg.
tutorial.*
- blog tutorials
- eg.
- reference: aws docs
- eg.
topic.lookup
ref.commands
topic.*.quickstart
- eg.
- howto: stack overflow
- eg
guides.*
*.cook
- eg
- explanation: http://aosabook.org/en/index.html
- eg:
- blog explanations
pkg.*.arch
- eg:
Principles
get to the point
- alias: most important/relevant thing first
So what
Every point should have impact. When making a statement, follow it up with the answer to "so what"?
Example:
- dendron lets you have flexible hierarchies. This lets you write without having to worry about how your notes are structured because you get to change it after the fact.
less is more
information overload is a thing, lets try to not add more information than we need to
- avoid fluff: less adjectives and get to the meat
- don't repeat yourself (DRY)
- prefer being terse (Private)
provide context
Don't presume prior knowledge. If this is your first time introducing a concept, take a line to explain it and link to the source docs. If you are providing an image, add a caption describing what the user is supposed to focus on.
structured docs
- use repeating structures
- be consistent
#### 5MJ Schema Contents
We are going to use [[Inline Schema|dendron://dendron.dendron-site/dendron.topic.schema#inline-schema-anatomy]]. Replace the content of `5mj.schema.yml` with the following:
- good
### Update 5MJ Schema Contents
Replace the content of `5mj.schema.yml` with the following:
...
You just created an [[inline schema]]. {one sentence description of inline schema}
- eg:
be specific
-
bad
Dendron supports an extended Markdown syntax, which provides a lot of options for rich formatting.
-
good
Dendron extends regular markdown with additional syntax. This covers everything in github flavored markdown as well as additional features that are unique to Dendron.
Style
prefer present tense
prefer being terse
-
bad
Keep in mind: templates can be used with or without schemas automatically applying them.
-
good
Keep in mind: templates can be used with or without schemas.
provide context
- provide full length definitions before using abbreviations
Specifics
Concepts
Concepts are like entries in an index. There are meant to provide readers a basic overview of the subject. Try to keep information here brief, around 1-3 sentences.
Example: Async Meeting
Lookup
- Part 1: Create and Deploy Your First Gatsby Site
- Getting Started | Next.js
- Getting Started | Create React App
- Writing your first Django app, part 1 | Django documentation | Django
- Prebuilt subscription page with Stripe Checkout
Backlinks