Skip to content

Commit abef465

Browse files
committed
doc: add readthedocs configuration
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
1 parent ba98e1d commit abef465

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.readthedocs.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-24.04"
5+
tools:
6+
python: "3.12"
7+
8+
# Build from the doc/ directory with Sphinx
9+
sphinx:
10+
configuration: doc/conf.py
11+
12+
# Explicitly set the version of Python and its requirements
13+
python:
14+
install:
15+
- requirements: doc/requirements.txt

doc/requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Use the same sphinx as on readthedocs.org. When updated, make sure
2+
# sphinx-rtd-theme is compatible with sphinx.
3+
sphinx==7.2.6
4+
sphinx-rtd-theme==2.0.0
5+
myst-parser==4.0.1

0 commit comments

Comments
 (0)