Skip to content

Commit 5145432

Browse files
committed
Move FAQ docs to documentation/troubleshooting.rst
1 parent 803df51 commit 5145432

File tree

2 files changed

+60
-48
lines changed

2 files changed

+60
-48
lines changed

doc/faq.rst

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -17,54 +17,6 @@ There are several methods to configure your shell:
1717
2. For a general setup: :code:`export PYTHONPATH=`pwd``
1818
3. Alternatively, tools like `direnv <https://direnv.net>`_ can be used.
1919

20-
.. _faq_duplicated_label_error:
21-
22-
Duplicated label error when building documentation
23-
--------------------------------------------------
24-
25-
Similar error to :code:`Warning, treated as error: integration-test-docker-environment/doc/changes/changes_0.10.0.md:5:duplicate label summary, other instance in integration-test-docker-environment/doc/changes/changes_0.1.0.md'`, might be caused by sphinx extension `sphinx.ext.autosectionlabel`. Try to remove this extension in `doc/conf.py`.
26-
27-
28-
.. _faq_multiversion_build_warnings:
29-
30-
Warning while building multiversion documentation
31-
--------------------------------------------------
32-
When running ``nox -s docs:multiversion``, I receive the following warnings during the build:
33-
34-
.. code-block::
35-
36-
WARNING: unknown config value 'smv_metadata_path' in override, ignoring
37-
WARNING: unknown config value 'smv_current_version' in override, ignoring
38-
39-
If you receive the warnings above, it is very likely that the multiversion extension is not configured in your Sphinx configuration (``conf.py``). Try adding it to your configuration and rerun the build.
40-
41-
.. code-block:: python
42-
43-
extensions = [
44-
...,
45-
...,
46-
"exasol.toolbox.sphinx.multiversion",
47-
]
48-
49-
50-
.. _faq_multiversion_selection_missing:
51-
52-
Missing Version Selection Box in Multiversion Documentation
53-
------------------------------------------------------------
54-
55-
I have run ``nox -s docs:multiversion``, but I still do not see any version selection box in the upper right corner before the GitHub symbol.
56-
57-
This is likely due to :ref:`faq_multiversion_build_warnings`
58-
59-
60-
.. _faq_multiversion_limited_versions:
61-
62-
Limited Previous Versions in Multiversion Documentation
63-
-------------------------------------------------------
64-
65-
If not all previous versions of the project are available via the version selection box of the multiversion documentation, it is likely due to the fact that the unavailable documentation for those versions was not in a compatible format (there hasn't been a compatible setup of a Sphinx-based documentation).
66-
67-
6820
.. _faq_failing_format_check:
6921

7022
Format Still Fails After Running ``project:fix``
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,62 @@
11
Troubleshooting
22
===============
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

Comments
 (0)