| 1 |
----------------- |
| 2 |
Contributing docs |
| 3 |
----------------- |
| 4 |
|
| 5 |
We use Sphinx_ to generate our docs website. You can trigger |
| 6 |
the process locally by executing: |
| 7 |
|
| 8 |
.. code-block:: shell-session |
| 9 |
|
| 10 |
$ make doc |
| 11 |
|
| 12 |
It is also integrated with `Read The Docs`_ that builds and |
| 13 |
publishes each commit to the main branch and generates live |
| 14 |
docs previews for each pull request. |
| 15 |
|
| 16 |
The sources of the Sphinx_ documents use reStructuredText as a |
| 17 |
de-facto standard. But in order to make contributing docs more |
| 18 |
beginner-friendly, we've integrated `MyST parser`_ allowing us |
| 19 |
to also accept new documents written in an extended version of |
| 20 |
Markdown that supports using Sphinx directives and roles. `Read |
| 21 |
the docs <MyST docs_>`_ to learn more on how to use it. |
| 22 |
|
| 23 |
.. _MyST docs: https://myst-parser.readthedocs.io/en/latest/using/intro.html#writing-myst-in-sphinx |
| 24 |
.. _MyST parser: https://pypi.org/project/myst-parser/ |
| 25 |
.. _Read The Docs: https://readthedocs.org |
| 26 |
.. _Sphinx: https://www.sphinx-doc.org |
| 27 |
|
| 28 |
.. include:: ../../CHANGES/README.rst |