summaryrefslogtreecommitdiff
path: root/.pio/libdeps/esp32-s3-n16r8/RF24/.readthedocs.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pio/libdeps/esp32-s3-n16r8/RF24/.readthedocs.yaml')
-rw-r--r--.pio/libdeps/esp32-s3-n16r8/RF24/.readthedocs.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.pio/libdeps/esp32-s3-n16r8/RF24/.readthedocs.yaml b/.pio/libdeps/esp32-s3-n16r8/RF24/.readthedocs.yaml
new file mode 100644
index 0000000..6935517
--- /dev/null
+++ b/.pio/libdeps/esp32-s3-n16r8/RF24/.readthedocs.yaml
@@ -0,0 +1,32 @@
+# .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"
+ # apt_packages:
+ # - libclang1-12
+ # - libclang-cpp12
+ tools:
+ python: "3"
+ commands:
+ # Install doxygen from source distributions (conda forge does not keep up-to-date doxygen releases)
+ - >
+ DOXYGEN_VERSION="1.15.0" &&
+ RELEASE_TITLE=$(echo ${DOXYGEN_VERSION} | tr '.' '_') &&
+ mkdir .doxygen && cd .doxygen &&
+ curl -L "https://github.com/doxygen/doxygen/releases/download/Release_${RELEASE_TITLE}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz" --output doxygen.tar.gz &&
+ gunzip doxygen.tar.gz &&
+ tar xf doxygen.tar &&
+ mv doxygen-$DOXYGEN_VERSION/bin/doxygen ./
+ # get lib version & overwrite Doxyfile values
+ - python3 .github/doxygen.py
+ # run doxygen
+ - cd docs && ../.doxygen/doxygen
+ # copy output to RTD output path for HTML files
+ - ls -R docs/html/
+ - mkdir -p ${READTHEDOCS_OUTPUT}
+ - mv docs/html/ "${READTHEDOCS_OUTPUT}"