Skip to content
Snippets Groups Projects
Commit 9f8b6d1c authored by andreas.abel's avatar andreas.abel Committed by Mikolaj Konarski
Browse files

Re #7469: sphinx-build with flag -n (nitpick)

parent 0cee02f9
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,8 @@ bootstrap-jsons-linux: phony
# TODO: when we have sphinx-build2 ?
SPHINXCMD:=sphinx-build
# Flag -n ("nitpick") warns about broken references
SPHINX_FLAGS:=-n
SPHINX_HTML_OUTDIR:=dist-newstyle/doc/users-guide
USERGUIDE_STAMP:=$(SPHINX_HTML_OUTDIR)/index.html
......@@ -242,7 +244,7 @@ USERGUIDE_STAMP:=$(SPHINX_HTML_OUTDIR)/index.html
users-guide: .python-sphinx-virtualenv $(USERGUIDE_STAMP)
$(USERGUIDE_STAMP) : doc/*.rst
mkdir -p $(SPHINX_HTML_OUTDIR)
(. ./.python-sphinx-virtualenv/bin/activate && pip install -r doc/requirements.txt && $(SPHINXCMD) doc $(SPHINX_HTML_OUTDIR))
(. ./.python-sphinx-virtualenv/bin/activate && pip install -r doc/requirements.txt && $(SPHINXCMD) $(SPHINX_FLAGS) doc $(SPHINX_HTML_OUTDIR))
.python-sphinx-virtualenv:
python3 -m venv .python-sphinx-virtualenv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment