Skip to content

Commit

Permalink
doc: switch to "book" sphinx theme
Browse files Browse the repository at this point in the history
  • Loading branch information
sphamba committed Aug 3, 2023
1 parent 636e118 commit 696596a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "sphinx_book_theme"
html_title = "GPM-API"
html_theme_options = {
"repository_url": "https://github.com/ghiggi/gpm_api",
"use_repository_button": True,
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ dev = ["pre-commit",
"pytest", "pytest-cov", "pytest-mock", "pydantic",
"pip-tools", "bumpver", "twine",
"setuptools>=61.0.0", "wheel",
"sphinx", "sphinx-gallery", "sphinx_rtd_theme", "nbsphinx", "sphinx_mdinclude"]
"sphinx", "sphinx-gallery", "sphinx-book-theme", "nbsphinx", "sphinx_mdinclude"]

[project.urls]
Homepage = "https://github.com/ghiggi/gpm_api"
Expand Down

0 comments on commit 696596a

Please sign in to comment.