diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-04 23:10:41 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-05 00:25:34 +0900 |
commit | 4625bfb0b2c9e40349a9ea5945ec4c3aea83d11e (patch) | |
tree | 2d87e36ed090fdebbb5418be96e19b689352b1dc /doc/Makefile | |
parent | c666e70c5f74869c961bba9b57563c8136387d84 (diff) | |
download | buildstream-4625bfb0b2c9e40349a9ea5945ec4c3aea83d11e.tar.gz |
Documentation: Fix warnings, and make all warnings errors.
Some of the warnings from sphinx-build are really just warnings,
but a lot of the things we want to avoid and really break documentation,
like broken internal references and some invalid rst directives should
really be errors.
Now we treat all warnings as errors, this should ensure that
any commits landing upstream never break the docs.
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile index 6a10c488f..54a37a56e 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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) source +ALLSPHINXOPTS = -W -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source |