-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.readthedocs.yml
44 lines (36 loc) · 1.14 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# Define the build environment settings
build:
os: ubuntu-22.04
tools:
python: "3.10"
# Define the steps required to install the project's dependencies
python:
install:
- requirements: docs/requirements.txt # Install documentation dependencies
# Optionally, define additional formats to build (e.g., PDF, ePub)
formats:
- pdf
- epub
# Custom settings for the Read the Docs build process
# conda: # Optional, if your project requires conda environments
# file: environment.yml
# Optionally, define commands to be executed before or after the build
# For example, to generate additional API documentation using Sphinx
# build:
# jobs:
# post_sphinx:
# - sphinx-apidoc -o docs/source/ my_package
# Optionally declare the Python requirements required to build your docs
# python:
# install:
# - requirements: docs/readthedocs/requirements.txt
# - method: pip
# path: .