Skip to content

Commit

Permalink
fix path for searchindex.js sed
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Dec 12, 2024
1 parent e53859b commit 4832fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytket/docs/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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
sed -i 's/pytket._tket/pytket/g' build/searchindex.js

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

0 comments on commit 4832fa1

Please sign in to comment.