Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Documentation for Developers

Documentation for Developers

Developers who love to write docs are pretty rare. But documentation is a critically necessary evil throughout a site’s life, from initial development through to ongoing support and enhancements. How much documentation is too much? Not enough? As developers, how can we produce meaningful documentation that supports our code and sets it up for success once it launches out into the world… without making ourselves completely crazy in the process?

We’ll explore a structure for documenting your codebase, the components of strong documentation, and how these project artifacts evolve over time.

Katherine White

December 01, 2017
Tweet

More Decks by Katherine White

Other Decks in Programming

Transcript

  1. Why Write Docs • You (or someone else) will be

    using your code in six months • You want people to use your code … or to even help out • It makes your code stronger • It builds community • It makes you a better writer
  2. What Technology • Simple is best • Use plain text

    • Keep it with the code • If it’s version controlled, it’s canonical
  3. Markdown • Widely supported by version control (GitHub, GitLab, BitBucket)

    • Automagically formats for display • Plain text format • markdowntutorial.com
  4. What to Write • What problem does it solve? •

    What are the major features? • How do you install it? • Code examples and tutorials • How to reach a human for help • Links to code and issues • Changelog • Licensing information -
 https://choosealicense.com/
  5. What to Write • Public and private repos need different

    care and feeding • Consider your audience • Keep it up to date • If you’re inviting contributions, tell people what to expect