[llvm] r213661 - Treat warnings in Sphinx as errors. The reasons for doing this are...

Dan Liew dan at su-root.co.uk
Tue Jul 22 08:07:35 PDT 2014


Author: delcypher
Date: Tue Jul 22 10:07:35 2014
New Revision: 213661

URL: http://llvm.org/viewvc/llvm-project?rev=213661&view=rev
Log:
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.

Modified:
    llvm/trunk/docs/Makefile.sphinx

Modified: llvm/trunk/docs/Makefile.sphinx
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Makefile.sphinx?rev=213661&r1=213660&r2=213661&view=diff
==============================================================================
--- llvm/trunk/docs/Makefile.sphinx (original)
+++ llvm/trunk/docs/Makefile.sphinx Tue Jul 22 10:07:35 2014
@@ -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) .
 





More information about the llvm-commits mailing list