|
1 | 1 | Troubleshooting |
2 | 2 | =============== |
| 3 | + |
| 4 | +Duplicated label error when building documentation |
| 5 | +-------------------------------------------------- |
| 6 | + |
| 7 | +If you have an error similar to this one: |
| 8 | +.. :code-block:: |
| 9 | + |
| 10 | + Warning, treated as error: |
| 11 | + integration-test-docker-environment/doc/changes/changes_0.10.0.md:5:duplicate |
| 12 | + label summary, other instance in |
| 13 | + integration-test-docker-environment/doc/changes/changes_0.1.0.md' |
| 14 | + |
| 15 | +then, this might be caused by sphinx extension ``sphinx.ext.autosectionlabel``. |
| 16 | +Try to remove this extension in ``doc/conf.py``. |
| 17 | + |
| 18 | + |
| 19 | +.. _faq_multiversion_build_warnings: |
| 20 | + |
| 21 | +Warning while building multiversion documentation |
| 22 | +-------------------------------------------------- |
| 23 | +When running ``nox -s docs:multiversion``, you receive the following warnings during the build: |
| 24 | + |
| 25 | +.. code-block:: |
| 26 | +
|
| 27 | + WARNING: unknown config value 'smv_metadata_path' in override, ignoring |
| 28 | + WARNING: unknown config value 'smv_current_version' in override, ignoring |
| 29 | +
|
| 30 | +It is likely that the multiversion extension is not configured in your Sphinx |
| 31 | +configuration (``doc/conf.py``). Try adding it to your configuration and rerun the build. |
| 32 | + |
| 33 | +.. code-block:: python |
| 34 | +
|
| 35 | + extensions = [ |
| 36 | + ..., |
| 37 | + ..., |
| 38 | + "exasol.toolbox.sphinx.multiversion", |
| 39 | + ] |
| 40 | +
|
| 41 | +
|
| 42 | +
|
| 43 | +Missing version selection box in multiversion documentation |
| 44 | +------------------------------------------------------------ |
| 45 | + |
| 46 | +You have run ``nox -s docs:multiversion``, but you still do not see any version |
| 47 | +selection box in the upper right corner before the GitHub symbol. |
| 48 | + |
| 49 | +This is likely due to :ref:`faq_multiversion_build_warnings` or |
| 50 | +:ref:`limited_multiversion_documentation`. |
| 51 | + |
| 52 | + |
| 53 | +.. _limited_multiversion_documentation: |
| 54 | + |
| 55 | +Limited previous versions in multiversion documentation |
| 56 | +------------------------------------------------------- |
| 57 | + |
| 58 | +If not all previous versions of the project are available via the version selection box |
| 59 | +of the multiversion documentation, it is likely due to the fact that the unavailable |
| 60 | +documentation for those versions was not in a compatible format. In other words, there |
| 61 | +had not, for those missing versions, been a compatible setup of a Sphinx-based |
| 62 | +documentation. |
0 commit comments