Skip to content

Commit 58110f3

Browse files
committed
Use furo as theme for documentation
- the old theme didn't support dark mode
1 parent c99515a commit 58110f3

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ build:
1111
sphinx:
1212
configuration: docs/source/conf.py
1313
fail_on_warning: true
14+
15+
python:
16+
install:
17+
- requirements: docs/requirements.txt

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
1010
* use `pyproject.toml` for project setup
1111

12+
### Documentation
13+
* use a theme for documentation supporting dark mode
14+
1215
### Documentation
1316
* added use case for ordering test modules (see [#51](https://github.com/pytest-dev/pytest-order/issues/51))
1417

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
sphinx>=2.3.1
2+
furo

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104

105105
# The theme to use for HTML and HTML Help pages. See the documentation for
106106
# a list of builtin themes.
107-
html_theme = "nature"
107+
html_theme = "furo"
108108

109109
# Theme options are theme-specific and customize the look and feel of a theme
110110
# further. For a list of options available for each theme, see the

0 commit comments

Comments
 (0)