summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/conf.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py
index f5a3aa56c..4ff90e8db 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -65,8 +65,14 @@ html_theme = 'sphinx_rtd_theme'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['sphinx-static']
-html_context = {
- 'css_files': [
- '_static/theme_overrides.css',
- ],
-}
+# Add customm CSS and JS files
+html_css_files = ['theme_overrides.css']
+
+# Hide 'Created using Sphinx' text
+html_show_sphinx = False
+
+# Add 'Last updated' on each page
+html_last_updated_fmt = '%b %d, %Y'
+
+# Remove the trailing 'dot' in section numbers
+html_secnumber_suffix = " "