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

Documentation Writing (for coders)

Documentation Writing (for coders)

Talk given to Coder Academy (AU) cohort in May 2020.

In this presentation, ex-corporate lawyer, Carmen Chung, will give you her top tips for writing tech documentation that people (including yourself!) will come back to, time and time again. Docs that are easy to understand, well structured, and a little bit fun.

Carmen Chung

May 15, 2020
Tweet

More Decks by Carmen Chung

Other Decks in Education

Transcript

  1. Code comments CONTEXT ✅ Comment code when it needs context.

    TODOS ✅ Add TODOs if something is to be done within a short period of time afterwards. DIFFICULTY ❌ Don’t just comment code because it’s difficult. @carmenhchung
  2. Commit messages CLARITY & BREVITY ✅ Write short, clear commit

    messages. ❌ “WIP WIP WIP WIP WIP” @carmenhchung
  3. Commit messages CLARITY & BREVITY ✅ Write short, clear commit

    messages. ❌ “WIP WIP WIP WIP WIP” ❌ “Please just work for once.” @carmenhchung
  4. Commit messages CLARITY & BREVITY ✅ Write short, clear commit

    messages. ❌ “WIP WIP WIP WIP WIP” ❌ “Please just work for once.” ❌ “WHY YOU NO WORK!” @carmenhchung
  5. Commit messages CLARITY & BREVITY ✅ Write short, clear commit

    messages. ❌ “WIP WIP WIP WIP WIP” ❌ “Please just work for once.” ❌ “WHY YOU NO WORK!” ❌
  6. Commit messages CLARITY & BREVITY ✅ Write short, clear commit

    messages. ❌ “WIP WIP WIP WIP WIP” ❌ “Please just work for once.” ❌ “WHY YOU NO WORK!” ❌
  7. Pull Requests TEMPLATE ✅ Description of what you’ve done. ✅

    Checklist of things you need to do. ✅ Document pre, during, and post deploy tasks. @carmenhchung ROLLBACK! ✅ Go for the smallest PR that makes sense.
  8. How To Guides TITLE ✅ Make your title “SEO” friendly.

    STRUCTURE ✅ Add a Table of Contents / Index. ✅ Have an introduction. ✅ Break up chunky text. ✅ Format your code snippets. TIMELINESS ✅ Update regularly. ✅ Give context. @carmenhchung
  9. Blogging VOICE ✅ Use a consistent voice. ✅ Consider your

    audience. FORUM ✅ Don't be afraid of publishing on multiple platforms. SOCIAL MEDIA ✅ Use social media to publicise your work. @carmenhchung