From 78847c40c17522cbc18d79d56a76862ac7f31fb4 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Sun, 22 Jan 2023 02:19:45 +0100 Subject: [PATCH] Configure RTD theme to use titles only 0e55968dfa67d4a3518c84f3d36fc16e3e3f0795 removed :titlesonly: from the root toctree, which caused sphinx_rtd_theme to switch the mode it uses to display *all* sidebars. This config change reverts this behavior, but keeps the content of pages unchanged. --- swh/docs/sphinx/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swh/docs/sphinx/conf.py b/swh/docs/sphinx/conf.py index 4d612986..4c95c6f5 100755 --- a/swh/docs/sphinx/conf.py +++ b/swh/docs/sphinx/conf.py @@ -112,6 +112,7 @@ html_favicon = "_static/favicon.ico" html_theme_options = { "collapse_navigation": True, "sticky_navigation": True, + "titles_only": True, } html_logo = "_static/software-heritage-logo-title-motto-vertical-white.png" -- GitLab