Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Commit 2344c3d

Browse files
committed
config changed
1 parent e9b5555 commit 2344c3d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Diff for: conf.py

+10-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
# Add any Sphinx extension module names here, as strings. They can be
3030
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3131
# ones.
32-
extensions = []
32+
extensions = ['sphinx.ext.autodoc',
33+
'sphinx.ext.doctest']
3334

3435
# Add any paths that contain templates here, relative to this directory.
3536
templates_path = ['_templates']
@@ -74,7 +75,7 @@
7475

7576
# List of patterns, relative to source directory, that match files and
7677
# directories to ignore when looking for source files.
77-
exclude_patterns = ['_build']
78+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
7879

7980
# The reST default role (used for this markup: `text`) to use for all
8081
# documents.
@@ -147,14 +148,19 @@
147148

148149
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
149150
# using the given strftime format.
150-
#html_last_updated_fmt = '%b %d, %Y'
151+
html_last_updated_fmt = '%Y-%b-%d'
151152

152153
# If true, SmartyPants will be used to convert quotes and dashes to
153154
# typographically correct entities.
154155
#html_use_smartypants = True
155156

156157
# Custom sidebar templates, maps document names to template names.
157-
#html_sidebars = {}
158+
html_sidebars = {
159+
'**': [
160+
'relations.html', # needs 'show_related': True theme option to display
161+
'searchbox.html',
162+
]
163+
}
158164

159165
# Additional templates that should be rendered to pages, maps page names to
160166
# template names.

0 commit comments

Comments
 (0)