From 84844eb4c6c4127e6380d72c7336338d1b8b70b4 Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Wed, 14 Aug 2019 15:53:18 -0600 Subject: [PATCH] add support for missing toctree theme_options navigation.html's toctree was missing support for maxdepth and titles_only. --- alabaster/navigation.html | 7 ++++++- alabaster/theme.conf | 2 ++ docs/customization.rst | 13 +++++++++---- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/alabaster/navigation.html b/alabaster/navigation.html index 760dcc9..cd32206 100644 --- a/alabaster/navigation.html +++ b/alabaster/navigation.html @@ -1,5 +1,10 @@

{{ _('Navigation') }}

-{{ toctree(includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }} +{{ toctree( + collapse=theme_sidebar_collapse, + maxdepth=theme_sidebar_maxdepth|int, + titles_only=theme_sidebar_titles_only, + includehidden=theme_sidebar_includehidden +) }} {% if theme_extra_nav_links %}