From afd04658cdacc85f9f6d7105185e933785b8a6d6 Mon Sep 17 00:00:00 2001 From: Peter Desjardins Date: Thu, 3 Mar 2016 14:52:29 -0500 Subject: [PATCH] Adding the -n option to the Sphinx build invocation so that WARNINGs will be treated as ERRORs. This will cause builds to fail if Sphinx cannot import modules for its autoclass directives. Currently, they fail silently and leave gaps in the published HTML where docstring content should have been. --- docs/en_us/platform_api/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en_us/platform_api/Makefile b/docs/en_us/platform_api/Makefile index 58e5370a97..30ca331eaf 100644 --- a/docs/en_us/platform_api/Makefile +++ b/docs/en_us/platform_api/Makefile @@ -2,7 +2,7 @@ # # You can set these variables from the command line. -SPHINXOPTS ?= +SPHINXOPTS ?= -n SPHINXBUILD ?= sphinx-build PAPER ?= BUILDDIR ?= build