Skip to content

Commit

Permalink
Use Read the Docs theme for Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
faph committed Sep 14, 2023
1 parent b7c92db commit d9af3a7
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 d9af3a7

Please sign in to comment.