docs: add dark mode to documentation

This commit is contained in:
iamdefinitelyahuman
2020-04-20 20:23:45 +04:00
parent 7eff836a6d
commit c59854c4bb
5 changed files with 778 additions and 1 deletions
+5 -1
View File
@@ -146,10 +146,14 @@ html_theme = 'sphinx_rtd_theme'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = ["css/toggle.css"]
html_js_files = ["js/toggle.js"]
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []
html_extra_path = ["_static/css"]
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.