Unverified Commit 97b11ea7 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

enforce using sphinx version 2.4.4, install spellchecker with all other sphinx tools

parent 4e0eb0c5
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -92,8 +92,7 @@ html: $(ANCHORCHECK) $(MATHJAX)
spelling: $(VENV) utils/sphinx-config/false_positives.txt
	@(\
		. $(VENV)/bin/activate ;\
		pip install sphinxcontrib-spelling ;\
		cp utils/sphinx-config/false_positives.txt $(RSTDIR)/ ;\
		cp utils/sphinx-config/false_positives.txt $(RSTDIR)/ ; env PYTHONWARNINGS= \
		sphinx-build -b spelling -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) spelling ;\
		deactivate ;\
	)
@@ -195,7 +194,9 @@ $(VENV):
		$(VIRTUALENV) -p $(PYTHON) $(VENV); \
		. $(VENV)/bin/activate; \
		pip install --upgrade pip; \
		pip install Sphinx; \
               pip install Sphinx=2.4.4; \
		pip install sphinxcontrib-spelling ;\
		pip install breathe; \
		deactivate;\
	)