Skip to content

Commit 3337b85

Browse files
committed
follow the alabaster installation instructions, hopefully RTD will work now
1 parent c974d91 commit 3337b85

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

docs/source/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import sys
1616
import os
1717

18+
import alabaster # radix
19+
1820
# If extensions (or modules to document with autodoc) are in another directory,
1921
# add these directories to sys.path here. If the directory is relative to the
2022
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -31,6 +33,7 @@
3133
extensions = [
3234
'sphinx.ext.autodoc',
3335
'sphinx.ext.viewcode',
36+
'alabaster', # radix
3437
]
3538

3639
# RADIX CUSTOMIZATION
@@ -112,7 +115,7 @@
112115
#html_theme_options = {}
113116

114117
# Add any paths that contain custom themes here, relative to this directory.
115-
#html_theme_path = []
118+
html_theme_path = [alabaster.get_path()] # radix
116119

117120
# The name for this set of Sphinx documents. If None, it defaults to
118121
# "<project> v<release> documentation".
@@ -149,7 +152,9 @@
149152
#html_use_smartypants = True
150153

151154
# Custom sidebar templates, maps document names to template names.
152-
#html_sidebars = {}
155+
html_sidebars = { # radix
156+
'**': ['about.html', 'navigation.html', 'searchbox.html', 'donate.html'],
157+
}
153158

154159
# Additional templates that should be rendered to pages, maps page names to
155160
# template names.

0 commit comments

Comments
 (0)