From 9fc60292c0f1e89d9da9a2d9ec0fb38a8472066a Mon Sep 17 00:00:00 2001 From: Samriddhi Jain Date: Fri, 14 Jul 2017 19:27:24 +0530 Subject: Turn on warning-is-error for sphinx build The doc-migration spec requires all projects to treat warnings as errors during sphinx build. This patches turns that function on and resolves the error (detailed below) coming as a result of it. The code block in event_concept.rst file is currently made to render in javascript which is an incorrect syntax for it. Change-Id: Id7fee247b76ed7cfebb849305e0611bc966709be --- setup.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 51cf8b5..d7c470b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,6 +39,7 @@ setup-hooks = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html -- cgit v1.2.1