| 1 | --- |
| 2 | myst: |
| 3 | html_meta: |
| 4 | "description lang=en": | |
| 5 | Reference for writing documentation |
| 6 | --- |
| 7 | # Documentation |
| 8 | |
| 9 | This section contains links and explanations for writing documentation. |
| 10 | |
| 11 | ## Markdown/MyST files |
| 12 | |
| 13 | The documentation files with `.md` are structured using [Markdown] and [MyST]. |
| 14 | |
| 15 | ## reStructuredText files |
| 16 | |
| 17 | [reStructuredText] is used for `.rst` files to include the source code using [Sphinx]. |
| 18 | |
| 19 | ## Source code |
| 20 | |
| 21 | The source code is written in Python and tested with [doctest]. |
| 22 | The format of the docstrings follows [Google's style guide]. |
| 23 | |
| 24 | [Markdown]: https://www.markdownguide.org/cheat-sheet/ |
| 25 | [reStructuredText]: https://github.com/ralsina/rst-cheatsheet/blob/master/rst-cheatsheet.rst |
| 26 | [MyST]: https://mystmd.org/ |
| 27 | [Sphinx]: https://www.sphinx-doc.org/ |
| 28 | [doctest]: https://docs.python.org/3/library/doctest.html |
| 29 | [Google's style guide]: https://google.github.io/styleguide/pyguide.html#383-functions-and-methods |