diff options
author | Dan Liew <dan@su-root.co.uk> | 2014-07-22 15:07:35 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2014-07-22 15:07:35 +0000 |
commit | 43b471c45eb359d6c2220a0c93b1a9456c7b24f0 (patch) | |
tree | 93efd5f9b298f52ebf39cd56be9947760650e441 /docs/Makefile.sphinx | |
parent | d883110014e77c08357739c5754aaf6e76bc15d8 (diff) |
Treat warnings in Sphinx as errors. The reasons for doing this are...
- When CMake builds the documentation with sphinx-build it treats
warnings as errors. We should be consistent with what we do in
CMake.
- Having warnings treated as errors will hopefully encourage
developers to write documentation correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Makefile.sphinx')
-rw-r--r-- | docs/Makefile.sphinx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile.sphinx b/docs/Makefile.sphinx index 21f66488b2b..b12168cfed8 100644 --- a/docs/Makefile.sphinx +++ b/docs/Makefile.sphinx @@ -10,7 +10,7 @@ BUILDDIR = _build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) -W . # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . |