Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FAQ #309

Merged
merged 3 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Unreleased

## 📚 Documentation

* Added new entries to the frequently asked questions regarding `multiversion documentation`

## 🐞 Fixed

* Added multi-version extension to Sphinx configuration of the project template
40 changes: 40 additions & 0 deletions doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,43 @@ Duplicated label error when building documentation
--------------------------------------------------

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`.


.. _faq_multiversion_build_warnings:

Warning while building multiversion documentation
--------------------------------------------------
When running ``nox -s docs:multiversion``, I receive the following warnings during the build:

.. code-block::

WARNING: unknown config value 'smv_metadata_path' in override, ignoring
WARNING: unknown config value 'smv_current_version' in override, ignoring

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.

.. code-block:: python

extensions = [
...,
...,
"exasol.toolbox.sphinx.multiversion",
]


.. _faq_multiversion_selection_missing:

Missing Version Selection Box in Multiversion Documentation
------------------------------------------------------------

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.

This likely is likely due to :ref:`faq_multiversion_build_warnings`
Nicoretti marked this conversation as resolved.
Show resolved Hide resolved


.. _faq_multiversion_limited_versions:

Limited Previous Versions in Multiversion Documentation
-------------------------------------------------------

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