summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-09-02 11:55:00 +0200
committertmartins <thigm85@gmail.com>2020-09-02 11:55:00 +0200
commit0dfd7db8c4a0f89cb9d14a402f40f486664ca897 (patch)
tree2c5f69dcf0d51e9cd2d2fb991f0ee22c5f7c9a98 /python
parent2f6da2e21409ab57a97cb7c1df6031939bb17579 (diff)
better sidebar experience
Diffstat (limited to 'python')
-rw-r--r--python/vespa/docs/sphinx/source/conf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/vespa/docs/sphinx/source/conf.py b/python/vespa/docs/sphinx/source/conf.py
index dae8480eeba..a3784794c04 100644
--- a/python/vespa/docs/sphinx/source/conf.py
+++ b/python/vespa/docs/sphinx/source/conf.py
@@ -51,3 +51,13 @@ html_theme = "sphinx_rtd_theme"
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
+
+html_sidebars = {
+ "**": [
+ "about.html",
+ "navigation.html",
+ "relations.html", # needs 'show_related': True theme option to display
+ "searchbox.html",
+ "donate.html",
+ ]
+}