Skip to content

Commit 6e2beb8

Browse files
committed
tools: readthedocs: fix documentation generation
- https://readthedocs.org/projects/python-shaarli-client/builds/23400602/ - The required readthedocs.yaml configuration file was not found at repository's root. Learn how to use this file in our configuration file tutorial. - https://docs.readthedocs.io/en/stable/config-file/index.html
1 parent c0fd84c commit 6e2beb8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.readthedocs.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the "docs/" directory with Sphinx
9+
sphinx:
10+
configuration: docs/conf.py
11+
builder: html
12+
13+
build:
14+
os: ubuntu-22.04
15+
tools:
16+
python: "3.11"
17+
commands:
18+
- pip install sphinx-rtd-theme
19+
- sphinx-build -b html -c docs/ docs/ _readthedocs/html/

0 commit comments

Comments
 (0)