Skip to content

Commit 1c80ffb

Browse files
committed
Update readthedocs configuration to recent changes
Copy pasted from the working sdbus configuration.
1 parent 68485e6 commit 1c80ffb

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.readthedocs.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
# Copyright (C) 2023 igo95862
3+
---
4+
15
version: 2
26

7+
build:
8+
os: "ubuntu-22.04"
9+
tools:
10+
python: "3.9"
11+
12+
sphinx:
13+
configuration: "docs/conf.py"
14+
315
python:
4-
version: 3.8
5-
install:
6-
- requirements: requirements.txt
16+
install:
17+
- requirements: docs/requirements.txt

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: LGPL-2.1-or-later
22

3-
# Copyright (C) 2020, 2021 igo95862
3+
# Copyright (C) 2020-2023 igo95862
44

55
# This file is part of python-sdbus
66

@@ -24,6 +24,7 @@
2424
author = 'igo95862'
2525
source_suffix = '.rst'
2626
extensions = ['sdbus.autodoc']
27+
html_theme = "sphinx_rtd_theme"
2728

2829
autoclass_content = 'both'
2930
autodoc_typehints = 'description'

docs/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
# Copyright (C) 2023 igo95862
3+
sphinx_rtd_theme
4+
sdbus>=0.10.2

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)