

GitHub - kylelobo/The-Documentation-Compendium: ? Various README templates &...
source link: https://github.com/kylelobo/The-Documentation-Compendium/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The Documentation Compendium
Various templates & tips on writing high-quality documentation that people want to read.
Table of Contents
Why must you document your project?
- It doesn’t matter how good your software is, because if the documentation is not good enough, people will not use it. Even if for some reason they have to use it, without good documentation, they won’t use it effectively or the way you’d like them to
- THE MAJORITY OF PEOPLE GLANCE AND LEAVE. Make it pretty so that it's easier for them to star before they leave. The more stars you have, the likelier it is that serious developers will use your repo
- You will be using your code in 6 months. Code that you wrote 6 months ago is often indistinguishable from code that someone else has written
- You want people to use your code because you think that others might find it useful. However, people need to understand why your code might be useful for them, before they decide to use it
- You want people to help out. If you don’t have documentation, you will miss out on a whole class of contributors
- You want to be a better writer
Best Practices
Things to remember:
- Keep a lighthearted friendly tone. Treat the reader as someone who doesn't have a lot of knowledge about the topic but is very interested
- Keep things brief
- Use headings frequently. This breaks things up when reading and often it is good for linking to specific information
- Link to other places in the documentation often but only for additional information. Readers should not have to navigate through several pages to find information regarding one specific thing. Just inline the immediately relevant information and link off if they want to know more
- Use as many code snippets, CLI, etc. examples as possible. Show the reader what you mean
- Gently introduce a guide before diving into technical details. This gives context and readers are more likely to stay engaged longer
- It is always good to describe the functionality of the various files in your project
- Always use gender-neutral pronouns. A gender-neutral pronoun is a pronoun which does not associate a gender with the individual who is being discussed. For eg. - using 'they' instead of 'he/she'
Things you should avoid:
- Don't assume prior knowledge about the topic. If you want to appeal to a large audience, then you are going to have people with very diverse backgrounds
- Don't use idioms. Write using more formal terms that are well defined. This makes it easier for non-native English speakers and for translations to be written
- Don't clutter explanations with overly detailed examples
- Don't use terms that are offensive to any group. There will never be a good reason to
Templates
The Art of Technical Writing
Further reading on technical writing topics from www.writethedocs.org
Technical Writing Programs
Awesome Technical Writing Sources
Get Feedback
- feedmereadmes - Free README editing + feedback to make your open-source projects grow. See the README maturity model to help you keep going
- maintainer.io - Free README standardization and feedback if you click on 'Book an audit'
Acknowledgements
- This repo is under active development. If you have any improvements / suggestions please file an issue or send in a Pull Request
- The issues page is a good place to visit if you want to pick up some task. It has a list of things that are to be implemented in the near future
To the extent possible under law, Kyle Lobo has waived all copyright and related or neighboring rights to The Documentation Compendium.
Recommend
-
45
-
37
nas5w/javascript-tips-and-tidbits: A continuously-evolving compendium of javascript tips based on common areas of confusion or misunderstanding....
-
14
seancorfield/next.jdbc 1.1.610I recently released 1.1.610 and since it has been about five months since my last post summarizing advances in this library,...
-
25
terraform-docs What is terraform-docs A utility to generate documentation from Terraform modules in various output formats. Documentation Users Read the
-
7
The Compendium
-
5
description An open knowledge-sharing project . The Machine & Deep Learning Compendium Hi! Nearly a year ago I announced the
-
3
David Dawkins on Twitter: "Hello #fsharp! Sutil-1.0.0.beta-002 has been released. Documentation is still in progress (with a fair way to go), but check out what we have so far. See how you can click on "Open in REPL" for various code examples an...
-
7
This site can’t be reached The connection was reset.
-
8
Scaling Mastodon: The CompendiumThis is honestly a very hastily written selection of various...
-
7
Welcome to Pr∞fWiki Pr∞fWiki is an online compendium of mathematical proofs! Our goal is the collection, collaboration and classification of mathematical proofs. If you are interested in helping create an...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK