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

Continuous Documentation: basics and advanced t...

Continuous Documentation: basics and advanced techniques

Documentation is an important part of each project, but it does not mean that it’s always up-to-date. Updating documentation continuously is quite a lot of work and not every project has a capacity to invest so much time into it, especially when a project is on a tight release schedule.
This talk will show you the basics of a good documentation and you will learn about different types of documentation, how to use and when to write them.
Anastasiia will also share her experience on how to introduce documentation as a part of your team’s daily routine and update it continuously.

From this talk you will learn:

how to start with documentation for your code,
how to make your documentation to update continuously,
running Python code inside of your documentation with PyScript,
documentation best practices.
After this talk you will be able to check out my repo with a few samples of different types of documentation as a part of continuous documentation for a dummy piece of code.

Avatar for Anastasiia Tymoshchuk

Anastasiia Tymoshchuk

June 12, 2025
Tweet

Transcript

  1. anastasiatymo Engineering Mamanager at Strava in Berlin PyBerlin organiser 


    https://www.meetup.com/PyBerlin/ 11 years in software development 7 years in Python Happy Pythonista 🐍 😊 Few words about myself
  2. anastasiatymo Goal-oriented approach - How-To Guides Source: https://diataxis.fr/how-to-guides/ "How-to guides

    are directions that take the reader through the steps required to solve a real-world problem. How-to guides are goal-oriented. How-to guides can be thought of as recipes, directions that guide the reader through the steps to achieve a speci fi c end."
  3. anastasiatymo Learning-oriented approach - Tutorials Source: https://diataxis.fr/tutorials/ "Tutorials are lessons

    that take the reader by the hand through a series of steps to complete a project of some kind."
  4. anastasiatymo Understanding- oriented approach - Explanation Source: https://documentation.divio.com/ "Explanation, or

    discussions, clarify and illuminate a particular topic. ... Explanation clari fi es, deepens and broadens the reader’s understanding of a subject."
  5. anastasiatymo "In other words, what we call documentation is fundamentally

    not one thing, but four. Understanding the implications of this, and how those four di ff erent things work, can help improve most documentation." Source: https://diataxis.fr/
  6. anastasiatymo Photo by Beatriz Pérez Moya on Unsplash How to

    actually start? • start as simple as possible • go to version controlled docs
  7. anastasiatymo Photo by Beatriz Pérez Moya on Unsplash • add

    docstrings to your code • use Sphinx, MkDocs to prepare documentation • try Read The Docs, GitHub Pages • add more documentation