Skip to content

Commit

Permalink
Configure "Read the Docs" theme
Browse files Browse the repository at this point in the history
  • Loading branch information
faph committed Sep 13, 2023
1 parent 8dd7273 commit c857ed9
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"

autosectionlabel_prefix_document = True

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

docs = [
"sphinx"
"sphinx",
"sphinx-rtd-theme",
]
testing = [
"packaging", # A test case uses packaging.version.Version
Expand Down

0 comments on commit c857ed9

Please sign in to comment.