Skip to content

Commit

Permalink
Merge pull request #7 from DouglasNeuroInformatics/sphinx-rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
gdevenyi committed Jun 9, 2021
2 parents c72b9d1 + a9afc84 commit 0ec0bcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
# ones.
extensions = [
"myst_parser",
"sphinx.ext.githubpages"
"sphinx.ext.githubpages",
"sphinx_rtd_dark_mode"
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -55,3 +56,7 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']


# -- Options for sphinx_rtd_dark_mode -------
default_dark_mode = False
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx==3.5.4
myst-parser==0.14.0
groundwork-sphinx-theme
sphinx-rtd-dark-mode
sphinx-rtd-theme

0 comments on commit 0ec0bcc

Please sign in to comment.