Skip to content

Commit

Permalink
Actually fix search
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Jul 27, 2024
1 parent 8a8abf0 commit cae8e58
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ html:
rm -rf $(BUILDDIR)/html/_images
#rm -rf _build/doctrees/
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
python fix_search.py
touch $(BUILDDIR)/html/.nojekyll
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
Expand Down
1 change: 0 additions & 1 deletion docs/fix_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from pathlib import Path
import re


search_html = Path("./_build/html/search.html")
assert search_html.exists()

Expand Down
1 change: 0 additions & 1 deletion docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ if errorlevel 9009 (
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
python fix_search.py
goto end

:help
Expand Down

0 comments on commit cae8e58

Please sign in to comment.