@@ -10,6 +10,27 @@ Building documentation
1010 troubleshooting
1111
1212In the PTB, we use sphinx to build and validate the contents of a project's
13+ documentation. All documentation is provided in the ``doc `` directory, primarily as
14+ `rst ` files. The ``doc/conf.py `` acts as the configuration file for building the
1315documentation.
1416
15- < table>
17+ Many of the nox session checks are executed in the ``checks.yml `` so that alterations
18+ in the documentation can be directly attributed (and, if needed, fixed) in the relevant
19+ PR. The final building & serving of the documentation happens in the ``gh-pages.yml ``.
20+
21+ +--------------------------+------------------+----------------------------------------+
22+ | Nox session | CI Usage | Action |
23+ +==========================+==================+========================================+
24+ | ``docs:build `` | ``checks.yml `` | Builds the documentation |
25+ +--------------------------+------------------+----------------------------------------+
26+ | ``docs:clean `` | No | Removes the documentation build folder |
27+ +--------------------------+------------------+----------------------------------------+
28+ | ``docs:multiversion `` | ``gh-pages.yml `` | Builds the multiversion documentation |
29+ +--------------------------+------------------+----------------------------------------+
30+ | ``docs:open `` | No | Opens the built documentation |
31+ +--------------------------+------------------+----------------------------------------+
32+ | ``links:check `` | ``checks.yml `` | Checks if all links in the |
33+ | | | documentation are accessible |
34+ +--------------------------+------------------+----------------------------------------+
35+ | ``links:list `` | No | Lists all links in the documentation |
36+ +--------------------------+------------------+----------------------------------------+
0 commit comments