From b7da1845c2f0d5eddeca3e44efcbbde001d1bc5a Mon Sep 17 00:00:00 2001 From: Rebecca Heineman Date: Sat, 5 Oct 2024 20:00:05 -0500 Subject: [PATCH] Updated ReadtheDocs for upgrade --- .readthedocs.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b4e63a8..4080c9b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,13 +14,14 @@ # graphviz is not version dependent, so the version supplied by apt-get will # suffice. # -# Doxygen is needed to be at least version 1.9.4. conf.py will download and -# install it manually since it appears that apt-get only can obtain version -# 1.8.7 which has issues that are fixed in 1.9.4 # Required version: 2 +# Point to the conf.py file +sphinx: + configuration: docs/conf.py + # Build all sphinx docs formats: all @@ -43,9 +44,17 @@ build: # Python requires these modules updated # doxypypy needs to be updated manually post_install: + # Debug the environment variables + - export + # Make sure doxygen is the latest version + - curl --no-progress-meter -O http://logicware.com/downloads/linux/doxygen-1.12.0.tgz + - tar -xvf doxygen-1.12.0.tgz + # Copy into the path and show version + - cp doxygen $READTHEDOCS_VIRTUALENV_PATH/bin + - doxygen -V + # Make sure makeprojects is loaded + - buildme -h + # Install Doxypypy - /home/docs/checkouts/readthedocs.org/user_builds/${READTHEDOCS_PROJECT}/envs/latest/bin/python -m pip install -U setuptools distlib commonmark recommonmark - /home/docs/checkouts/readthedocs.org/user_builds/${READTHEDOCS_PROJECT}/envs/latest/bin/python -m pip install ./doxypypy -# Point to the conf.py file -sphinx: - configuration: docs/conf.py