-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yaml
38 lines (34 loc) · 1016 Bytes
/
.readthedocs.yaml
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
# Required
version: 2
#
#build:
# jobs:
# pre_build:
# # Generate the Sphinx configuration for this Jupyter Book so it builds.
# - "jupyter-book config sphinx docs/"
# Define the build environment
build:
os: ubuntu-22.04
tools:
python: "3.7"
jobs:
post_install:
- pip install -r docs/requirements.txt # Documentation dependencies
- pip install -r requirements.txt # Project dependencies
- pip install git+https://github.com/Oucru-Innovations/vital-sqi.git # Latest code from GitHub if needed
# Sphinx configuration
sphinx:
builder: html
configuration: docs/source/conf.py
fail_on_warning: true # Fail build on any warnings for stricter error checking
# Python setup
python:
install:
- requirements: docs/requirements.txt # Documentation-specific requirements
- requirements: requirements.txt # Project-specific requirements
- method: pip
path: .
# Documentation output formats
formats:
- pdf
- epub