Skip to content

Commit

Permalink
Use Read the Docs theme for Sphinx (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
faph authored Sep 15, 2023
2 parents b7c92db + d9af3a7 commit 3d8cd17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_rtd_theme",
]

html_theme = "sphinx_rtd_theme"

add_module_names = False

autosectionlabel_prefix_document = True
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ dependencies = [
[project.optional-dependencies]

docs = [
"sphinx"
"sphinx",
"sphinx-rtd-theme",
]
testing = [
"pytest",
Expand Down

0 comments on commit 3d8cd17

Please sign in to comment.