-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.readthedocs.yml
33 lines (28 loc) · 995 Bytes
/
.readthedocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"
jobs:
post_install:
- 'python -m pip install --upgrade-strategy only-if-needed --no-cache-dir --config-settings=setup-args="-Dbuild_extensions=false" .'
- 'python -m pip install --exists-action=w --no-cache-dir -r docs-requirements.txt'
# We just need to pass -config-settings, others are what RTD does by default.
# Install the package.
# Can't use path, want to disable meson building extensions.
#python:
# install:
# - method: pip
# - path: .
# - requirements: docs-requirements.txt
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF
#formats:
# - pdf