Skip to content

Commit 1a77d9f

Browse files
authored
Update faq (#309)
1 parent 1efa3b5 commit 1a77d9f

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

doc/changes/unreleased.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Unreleased
22

3+
## 📚 Documentation
4+
5+
* Added new entries to the frequently asked questions regarding `multiversion documentation`
6+
37
## 🐞 Fixed
48

59
* Added multi-version extension to Sphinx configuration of the project template

doc/faq.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,43 @@ Duplicated label error when building documentation
2323
--------------------------------------------------
2424

2525
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).

0 commit comments

Comments
 (0)