Skip to content

Commit

Permalink
use pydata theme for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Jun 26, 2024
1 parent 7c92427 commit 9ed7a55
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 58 deletions.
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def _get_project_meta():
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"sphinx_rtd_theme",
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.todo",
Expand Down Expand Up @@ -98,9 +97,9 @@ def _get_project_meta():
# 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 = "pydata_sphinx_theme"

# 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,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
# html_static_path = ["_static"]
144 changes: 90 additions & 54 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ pre-commit = ">=3.0.0"
optional = true

[tool.poetry.group.docs.dependencies]
pydata-sphinx-theme = ">=0.15.3"
sphinx = ">=7.1.2"
sphinx-rtd-theme = ">=1.0.0"
tomlkit = ">=0.12.0"
sphinx-autodoc-typehints = ">=1.17.0"
nbsphinx = ">=0.9.3"
Expand Down

0 comments on commit 9ed7a55

Please sign in to comment.