Skip to content

Commit 23bc01c

Browse files
committed
Fix readthedocs documentation build
Explicitly set the `html_theme` variable as readthedocs append config that uses that variable. Also update the `.readthedocs.yaml` to more recent standard and bump Python version to 3.9
1 parent fa9e5ef commit 23bc01c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.readthedocs.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22

33
version: 2
44

5-
python:
6-
version: 3.8
5+
build:
6+
os: "ubuntu-22.04"
7+
tools:
8+
python: "3.9"
9+
10+
sphinx:
11+
configuration: "docs/conf.py"

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
author = 'igo95862'
2626
source_suffix = '.rst'
2727
extensions = ['sdbus.autodoc']
28+
html_theme = "sphinx_rtd_theme"
2829

2930
autoclass_content = 'both'
3031
autodoc_typehints = 'description'

0 commit comments

Comments
 (0)