Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit b2ac4ec

Browse files
committed
Use furo Sphinx theme for documentation
1 parent bc341dc commit b2ac4ec

File tree

5 files changed

+65
-72
lines changed

5 files changed

+65
-72
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
project = "Django Sorting Bootstrap"
66
author = "Thiago Carvalho D'Ávila"
77
copyright = f"{datetime.now().year}, {author}"
8-
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_rtd_theme"]
8+
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon"]
99
autodoc_typehints = "description"
10-
html_theme = "sphinx_rtd_theme"
10+
html_theme = "furo"

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1+
furo==2021.11.23
12
sphinx==4.3.1
2-
sphinx-rtd-theme==1.0.0

noxfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def docs_build(session: Session) -> None:
172172
"""Build the documentation."""
173173
args = session.posargs or ["docs", "docs/_build"]
174174
session.install(".")
175-
session.install("sphinx", "sphinx-rtd-theme")
175+
session.install("sphinx", "furo")
176176

177177
build_dir = Path("docs", "_build")
178178
if build_dir.exists():
@@ -186,7 +186,7 @@ def docs(session: Session) -> None:
186186
"""Build and serve the documentation with live reloading on file changes."""
187187
args = session.posargs or ["--open-browser", "docs", "docs/_build"]
188188
session.install(".")
189-
session.install("sphinx", "sphinx-autobuild", "sphinx-rtd-theme")
189+
session.install("sphinx", "sphinx-autobuild", "furo")
190190

191191
build_dir = Path("docs", "_build")
192192
if build_dir.exists():

0 commit comments

Comments
 (0)