2024-06-30 15:05:11 -07:00
|
|
|
version: 2
|
|
|
|
|
|
|
|
|
|
sphinx:
|
|
|
|
|
builder: html
|
|
|
|
|
configuration: docs/source/conf.py
|
|
|
|
|
fail_on_warning: true
|
|
|
|
|
|
|
|
|
|
build:
|
2026-01-02 19:49:34 -06:00
|
|
|
os: ubuntu-24.04
|
2024-06-30 15:05:11 -07:00
|
|
|
tools:
|
2026-01-02 19:49:34 -06:00
|
|
|
python: "3.12"
|
2024-10-31 08:27:19 -07:00
|
|
|
apt_packages:
|
|
|
|
|
- graphviz
|
2024-06-30 15:05:11 -07:00
|
|
|
jobs:
|
|
|
|
|
post_checkout:
|
|
|
|
|
# Cancel building pull requests when there aren't changed in the docs directory or YAML file.
|
|
|
|
|
# You can add any other files or directories that you'd like here as well,
|
|
|
|
|
# like your docs requirements file, or other files that will change your docs build.
|
|
|
|
|
#
|
|
|
|
|
# If there are no changes (git diff exits with 0) we force the command to return with 183.
|
|
|
|
|
# This is a special exit code on Read the Docs that will cancel the build immediately.
|
|
|
|
|
- |
|
2024-07-04 17:15:51 -04:00
|
|
|
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/master -- docs/ .readthedocs.yaml;
|
2024-06-30 15:05:11 -07:00
|
|
|
then
|
|
|
|
|
exit 183;
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
python:
|
|
|
|
|
install:
|
|
|
|
|
- requirements: docs/requirements.txt
|