It's important to create the documentation at the same time as you code your project, otherwise you won't ever do it or you'll die trying. To create a template for documentation, MkDocs or Sphinx could be a solution. [MkDocs](https://www.mkdocs.org/) [Sphinx](https://www.sphinx-doc.org/en/master/)