4d3067e139
* Docs: Refactor inconsistent unordered lists * add requested changes * Update docs/sources/linking/data-link-variables.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/http_api/_index.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/guides/whats-new-in-v6-0.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/auth/auth-proxy.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * resolve weird line breaks * revert unintentional change * Update docs/sources/auth/auth-proxy.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/auth/auth-proxy.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/auth/auth-proxy.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> |
||
---|---|---|
.. | ||
doc-concept-template.md | ||
doc-reference-template.md | ||
doc-task-template.md | ||
README.md |
Templates
Templates are both a starting point and an instruction manual for writing something new. They are intended to make life easier by providing a jumping-off point, something besides a blank page to start from. They are not intended to be a limitation. If the template does not work perfectly for your use case, you can adjust or change it. We will work it out in code review.
Create a template
Feel free to add templates to the templates
folder. Try to make them as generic as possible and include clear instructions for when and how to use the template. Assume that the template user is a brand new contributor and write accordingly.
Use a template
- Read the template. Make sure you understand what it is for and how it is intended to be used.
- Copy and rename the template. Move it to where you actually need it. You might also want to copy the content of the template and paste it into a different file. This is acceptable use.
- Replace the template content with your own. Delete whatever is unnecessary.
Documentation templates
In an ideal world, each topic will correspond to an information type (task, reference, concept) and contain only that type of information.
However, this is not always practical. For example, you have a series of short topics, you can group them into one topic.
Try to chunk your content. This means you should organize the document so that the same kinds of content are grouped together.
Chunking example
If I was writing content for a site called Doggie handbook, I might organize it like this.
Concept
- What a dog is
- Brief history of dogs
- Why you might want a dog
- Tasks dogs can be trained to do
Tasks
- Feed the dog
- Groom the dog
- Train the dog
Reference
- List of dog equipment you will need
- Table of breeds that includes breed name, size range, short or long hair, and type of dog
Audience
Write for an audience that is computer literate and has general technical knowledge, but is not necessarily familiar with Grafana or the finer points of observability.
Pretend you are explaining your topic to a brand new Grafana user or developer.
Self-contained
Thanks to search engines, every page in the documentation might be a reader's entry point. This means that each page needs to be self-contained and make sense on its own. The reader should not need to read other topics in order to perform the task or understand the concept.
However, try to be helpful and link to related information. Using the Doggie handbook example, the concept topic that explains what dogs can be trained to do might link to the Train the dog task.
Code templates
This is a placeholder for future templates.