Sunshine/.readthedocs.yaml

31 lines
790 B
YAML
Raw Permalink Normal View History

2022-08-08 00:26:40 +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:
os: ubuntu-24.04
tools:
2024-06-26 14:44:32 +00:00
python: "miniconda-latest"
commands:
- |
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:
environment: third-party/doxyconfig/environment.yml
2024-06-26 14:44:32 +00:00
submodules:
include: all
recursive: true