2022-08-08 00:26:40 +00:00
|
|
|
---
|
2022-04-18 18:53:28 +00:00
|
|
|
# .readthedocs.yaml
|
|
|
|
# Read the Docs configuration file
|
|
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
|
|
|
|
version: 2
|
|
|
|
|
|
|
|
build:
|
2024-06-24 22:14:27 +00:00
|
|
|
os: ubuntu-24.04
|
2022-04-18 18:53:28 +00:00
|
|
|
tools:
|
2024-06-26 14:44:32 +00:00
|
|
|
python: "miniconda-latest"
|
2024-08-05 18:44:17 +00:00
|
|
|
commands:
|
|
|
|
- |
|
2024-08-07 23:07:51 +00:00
|
|
|
if [ -f readthedocs_build.sh ]; then
|
|
|
|
doxyconfig_dir="."
|
|
|
|
else
|
|
|
|
doxyconfig_dir="./third-party/doxyconfig"
|
|
|
|
fi
|
|
|
|
chmod +x "${doxyconfig_dir}/readthedocs_build.sh"
|
|
|
|
export DOXYCONFIG_DIR="${doxyconfig_dir}"
|
|
|
|
"${doxyconfig_dir}/readthedocs_build.sh"
|
2022-04-28 22:06:55 +00:00
|
|
|
|
2024-06-26 14:44:32 +00:00
|
|
|
# using conda, we can get newer doxygen and graphviz than ubuntu provide
|
|
|
|
# https://github.com/readthedocs/readthedocs.org/issues/8151#issuecomment-890359661
|
|
|
|
conda:
|
2024-08-05 18:44:17 +00:00
|
|
|
environment: third-party/doxyconfig/environment.yml
|
2024-06-26 14:44:32 +00:00
|
|
|
|
2023-05-07 19:01:44 +00:00
|
|
|
submodules:
|
|
|
|
include: all
|
|
|
|
recursive: true
|