Skip to content

Commit

Permalink
Do not store .doctrees binary files on website (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin authored Nov 29, 2023
1 parent eaa7e39 commit 8f09e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
doxygen
cd ../python
python -m sphinx -W -b html source build/html
rm -rf build/html/.doctrees
- name: Upload C++ documentation artifact
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion doc/web/make_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,5 @@ def system(command):
f.write(" demo/index")

# Make python docs
system(f"cd {path('python')} && python3 -m sphinx -W -b html source/ build/html")
system(f"cd {path('python')} && python3 -m sphinx -W -b html source/ build/html && rm -rf build/html/.doctrees")
system(f"cp -r {path('python/build/html')} {path('html/python')}")

0 comments on commit 8f09e27

Please sign in to comment.