Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Docs tests should use the same code path as when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
moggers87 committed Jul 17, 2018
1 parent 6107a44 commit 6b15cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Expand Up @@ -15,7 +15,7 @@ endif
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
ALLSPHINXOPTS = -W -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -17,8 +17,9 @@ exclude =
[testenv:docs]
basepython = python3
changedir = docs
commands = sphinx-build -W -b html -d _build/doctrees . _build/html
commands = make html
extras = docs
whitelist_externals = make

[testenv:js-firefox]
setenv = MOZ_HEADLESS = 1
Expand Down

0 comments on commit 6b15cf0

Please sign in to comment.