-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
33 lines (27 loc) · 830 Bytes
/
Copy path.readthedocs.yaml
File metadata and controls
33 lines (27 loc) · 830 Bytes
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
# .readthedocs.yaml
# Read the Docs configuration file for Sphinx
# See https://docs.readthedocs.io/en/stable/config-file/v2.html
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
fail_on_warning: false # Set to true once docs are complete
# Optionally build your docs in additional formats such as PDF and ePub
formats: all
# Build settings
build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
post_checkout:
# Ensure git history is available for version detection
- git fetch --unshallow || true
python:
install:
# Install documentation dependencies
- requirements: docs/readthedocs.requirements.txt
# Install nirs4all package in editable mode for autodoc
- method: pip
path: .
extra_requirements: []