Skip to content

Commit 803df51

Browse files
committed
sphinx-multiversion to building_documentation.rst
1 parent 46801d8 commit 803df51

File tree

6 files changed

+52
-25
lines changed

6 files changed

+52
-25
lines changed

doc/developer_guide/modules/modules.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ Modules
44
.. toctree::
55
:maxdepth: 2
66

7-
sphinx/sphinx
87
nox
98
nox_tasks

doc/developer_guide/modules/sphinx/sphinx.rst

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.. _building_documentation:
2+
3+
Building documentation
4+
======================
5+
6+
.. toctree::
7+
:maxdepth: 2
8+
9+
multiversion
10+
troubleshooting
11+
12+
In the PTB, we use sphinx to build and validate the contents of a project's
13+
documentation.
14+
15+
< table>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
sphinx-multiversion
2+
===================
3+
4+
The ``sphinx-multiversion`` extension is a modified copy of
5+
`sphinx-contrib/multiversion <https://github.com/sphinx-contrib/multiversion>`__.
6+
This copy was taken from version :code:`0.24.0`.
7+
8+
It has been modified to work with Exasol's integration projects, which often require a
9+
specific project structure and layout. Additionally, it is designed to be used with an
10+
HTML theme that supports displaying and selecting multiple versions if the `versions`
11+
variable is set in the HTML context of sphinx. As of this writing, the theme used in
12+
conjunction with this modified version of ``sphinx-multiversion`` is
13+
`SHIBUYA <https://github.com/lepture/shibuya>`__.
14+
15+
.. attention::
16+
17+
**Attribution**
18+
19+
A big thanks to the original author and project
20+
`Jan Holthuis <https://github.com/Holzhaus>`_, as well as
21+
`Samuel Dowling <https://github.com/samuel-emrys>`_, as we took various patches for
22+
the plugin from his fork.
23+
24+
Note: Both projects are published under the `BSD-2 license <https://opensource.org/license/bsd-2-clause>`_.
25+
26+
* https://github.com/sphinx-contrib/multiversion
27+
* https://github.com/samuel-emrys/sphinx-multiversion
28+
29+
.. note::
30+
31+
In the long term, it would be advantageous to remove unnecessary features and code
32+
that are not required for Exasol's projects. Adding further tests would also be
33+
beneficial. However, the primary goal was to create a low-effort, stable
34+
multi-version support solution for our projects.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Troubleshooting
2+
===============

doc/user_guide/features/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Features
66
.. toctree::
77
:maxdepth: 2
88

9+
documentation/index
910
collecting_metrics
1011
creating_a_release
1112

0 commit comments

Comments
 (0)