43 lines
779 B
YAML
43 lines
779 B
YAML
# .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"
|
|
|
|
jobs:
|
|
post_checkout:
|
|
- (git --no-pager log --pretty="tformat:%s -- %b" -1 | paste -s -d " " | grep -viqP "skip ci|ci skip") || exit 183
|
|
pre_build:
|
|
- ./doc/rtd/pre_build.sh
|
|
- cd doc && make doxygen generated_rst_files
|
|
|
|
apt_packages:
|
|
- ant
|
|
- cmake
|
|
- doxygen
|
|
- g++
|
|
- libproj-dev
|
|
- make
|
|
- openjdk-11-jdk-headless
|
|
- patchelf
|
|
- swig
|
|
- unzip
|
|
|
|
formats:
|
|
- htmlzip
|
|
- pdf
|
|
|
|
python:
|
|
install:
|
|
- requirements: doc/requirements.txt
|
|
|
|
sphinx:
|
|
configuration: doc/source/conf.py
|
|
fail_on_warning: true
|