diff --git a/doc/_templates/empty_sidebar.html b/doc/_templates/empty_sidebar.html new file mode 100644 index 000000000000..2ebb29fad4dd --- /dev/null +++ b/doc/_templates/empty_sidebar.html @@ -0,0 +1 @@ + diff --git a/doc/conf.py b/doc/conf.py index 3805facbfbcc..ccde74304eb3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -536,6 +536,10 @@ def js_tag_with_cache_busting(js): "cheatsheet_sidebar.html", "donate_sidebar.html", ], + # no sidebar for release notes, because that page is only a collection of links + # to sub-pages. The sidebar would repeat all the titles of the sub-pages and + # thus basically repeat all the content of the page. + "users/release_notes": ["empty_sidebar.html"], # '**': ['localtoc.html', 'pagesource.html'] }