diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7089a0c1..d46b98d9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -22,16 +22,17 @@ build: curl -L https://sourceforge.net/projects/doxygen/files/rel-$DOXYGEN_VERSION/doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz > doxygen.tar.gz && gunzip doxygen.tar.gz && tar xf doxygen.tar && - mv doxygen-$DOXYGEN_VERSION/bin/doxygen ./ + mv doxygen-$DOXYGEN_VERSION/bin/doxygen ./ && + cd .. + - echo $(pwd) # get lib version & overwrite Doxyfile values - > - echo $(pwd) && - RF24_VERSION=v$(awk -F "=" '/version/ {print $2}' library.properties) && + RF24_VERSION=v`awk -F "=" '/version/ {print $2}' library.properties` && touch docs/doxygenAction && echo "PROJECT_NUMBER = $RF24_VERSION" >> docs/doxygenAction && echo -e "\n@INCLUDE = doxygenAction" >> docs/Doxyfile # run doxygen - - cd docs && ./.doxygen/doxygen + - cd docs && ../.doxygen/doxygen # copy output to RTD output path for HTML files - mv docs/html/ "$READTHEDOCS_OUTPUT/"