From ca59973697762145dcc2e92c86a2e12f5ef1e982 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 23 Oct 2023 11:28:46 -0700 Subject: [PATCH] docs: Use python-docs theme. --- docs/conf.py | 2 +- docs/requirements.txt | 1 + pyproject.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index f127b676..7ecf4c74 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -131,7 +131,7 @@ def prep_jinja_env(jinja_env: JinjaEnvironment) -> None: # -- Options for HTML output ------------------------------------------------- # 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 = "python_docs_theme" html_static_path = ["_static"] html_css_files = ["theme_overrides.css"] html_theme_options = { diff --git a/docs/requirements.txt b/docs/requirements.txt index 947730e6..51940827 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,7 @@ graphviz jinja2 myst-parser +python-docs-theme sphinx sphinx-autoapi sphinx-copybutton diff --git a/pyproject.toml b/pyproject.toml index 8fbeec2f..4eebf703 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,6 +123,7 @@ pytest-cov = ">=3.0.0" pytest-html = ">=4.0" pytest-order = ">=1.0.1" pytest-profiling = ">=1.7.0" +python-docs-theme = ">=2023.9" python-semantic-release = ">=8.0" ruff = ">=0.0.292" safety = ">=2.1.1"