-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
37 lines (33 loc) · 1.01 KB
/
.readthedocs.yaml
File metadata and controls
37 lines (33 loc) · 1.01 KB
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
34
35
36
37
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: ubuntu-24.04
tools:
python: "3.12"
apt_packages:
- cmake
- build-essential
# commands:
jobs:
post_install:
- python -m pip install -U pip
- python -m pip install -r docs/requirements.txt
# Build wheel using the real RTD branch name and install it
- |
set -e
WHEEL_PATH="$(bash docs/scripts/build-wheel-for-docs.sh)"
echo "Installing wheel: ${WHEEL_PATH}"
python -m pip install "${WHEEL_PATH}"
# # Build documentation
# - python -m sphinx -b html docs/ "$READTHEDOCS_OUTPUT/html"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt