Skip to content

Commit

Permalink
update build script to replace _tket
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Dec 12, 2024
1 parent 1556310 commit 243a4ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytket/docs/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ cp -R pytket-docs-theming/quantinuum-sphinx .
cp pytket-docs-theming/conf.py .

sphinx-build -b html . build -D html_title="pytket"
find build/ -type f -name "*.html" | xargs sed -e 's/pytket._tket/pytket/g' -i ""
#sed -i 's/pytket._tket/pytket/g' build/html/searchindex.js

# Remove copied files. This ensures reusability.
rm -r _static
Expand Down

0 comments on commit 243a4ba

Please sign in to comment.