File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 mkdir build/
6262 sphinx-build -b html -a -E source/ build/
6363
64+ - name : Fix JS file
65+ continue-on-error : true
66+ run : |
67+ # Define the file path
68+ FILE="docs/sphinx/build/_static/js/theme.js"
69+
70+ # Check if the file exists
71+ if [[ -f "$FILE" ]]; then
72+ # Use sed to perform the replacement in-place
73+ sed -i 's/\.wy-menu-vertical ul/\.wy-menu-vertical li > ul/g' "$FILE"
74+ echo "Replacement done in $FILE"
75+ else
76+ echo "File not found: $FILE"
77+ exit 1
78+ fi
79+
6480 - name : Zip Documentation
6581 run : |
6682 # Create a zip file of the documentation
Original file line number Diff line number Diff line change 1313 os : " ubuntu-22.04"
1414 commands :
1515 - mkdir --parents $READTHEDOCS_OUTPUT/html/
16- - wget https://github.com/sofa-framework/SofaPython3/releases/download/v24.12 .00-doc-generation/SofaPython3_v24.12 .00_docs.zip
16+ - wget https://github.com/sofa-framework/SofaPython3/releases/download/v25.06 .00-doc-generation/SofaPython3_v25.06 .00_docs.zip
1717 - mkdir docUnzipped/
18- - unzip SofaPython3_v24.12 .00_docs.zip -d docUnzipped/
19- - cp --recursive docUnzipped/SofaPython3_v24.12 .00_docs/* $READTHEDOCS_OUTPUT/html/
18+ - unzip SofaPython3_v25.06 .00_docs.zip -d docUnzipped/
19+ - cp --recursive docUnzipped/SofaPython3_v25.06 .00_docs/* $READTHEDOCS_OUTPUT/html/
2020 - ls $READTHEDOCS_OUTPUT/html/
You can’t perform that action at this time.
0 commit comments