summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2015-07-23 13:53:41 -0400
committerEli Collins <elic@assurancetechnologies.com>2015-07-23 13:53:41 -0400
commitfce6943864625b551d716001dd3ab636b0438ec5 (patch)
tree0b4794db1c5bd2fa7d6c9fdc92d242313c4f26e0 /docs
parent33d874bf9db99b370fe92d4f53648058e9c7eb45 (diff)
downloadpasslib-fce6943864625b551d716001dd3ab636b0438ec5.tar.gz
docs switched to use 'fulltoc' in sidebar; may reverse this later.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 862b459..4902f5e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,6 +51,9 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
+ # 3rd part extensions
+ 'sphinxcontrib.fulltoc',
+
# adds extra ids & classes to genindex html, for additional styling
'cloud_sptheme.ext.index_styling',
@@ -170,6 +173,7 @@ if csp.is_cloud_theme(html_theme):
borderless_decor=True,
sidebar_localtoc_title="Page contents",
max_width="12in",
+ sidebarwidth="3.5in",
hyphenation_language="en",
)
if 'for-pypi' in options:
@@ -214,14 +218,14 @@ html_static_path = ['_static']
html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-common_sidebars = ['quicklinks.html', 'searchbox.html']
-html_sidebars = {
- '**': ['localtoc.html', 'relations.html'] + common_sidebars,
- 'py-modindex': common_sidebars,
- 'genindex': common_sidebars,
- 'search': common_sidebars,
-}
-#html_sidebars = {'**': ['globaltoc.html', 'searchbox.html']}
+# common_sidebars = ['quicklinks.html', 'searchbox.html']
+# html_sidebars = {
+# '**': ['localtoc.html', 'relations.html'] + common_sidebars,
+# 'py-modindex': common_sidebars,
+# 'genindex': common_sidebars,
+# 'search': common_sidebars,
+# }
+html_sidebars = {'**': ['globaltoc.html', 'searchbox.html']}
# Additional templates that should be rendered to pages, maps page names to
# template names.