๐Ÿ“ฆ LizardByte / Sunshine

๐Ÿ“„ .readthedocs.yaml ยท 31 lines
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---
# .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:
    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"

# 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

submodules:
  include: all
  recursive: true