Skip to content

Commit

Permalink
[DOCS] Add dark mode to documentation (#58)
Browse files Browse the repository at this point in the history
This commit adds dark mode to the documentation and adds documentation build output folder to .gitignore
  • Loading branch information
berk-efe authored Jan 17, 2025
1 parent 192fc81 commit 320e3a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ MANIFEST
*.manifest
*.spec
.idea/

# extra for documantation builds
docs/_build/
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx_rtd_theme'
'sphinx_rtd_theme',
'sphinx_rtd_dark_mode',
]

default_dark_mode = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Sphinx==8.1.3
sphinx-rtd-theme==3.0.2
sphinx-rtd-theme==3.0.2
sphinx-rtd-dark-mode==1.3.0

0 comments on commit 320e3a0

Please sign in to comment.