Hello jenkins-bot,

I'd like you to do a code review.  Please visit

    https://gerrit.wikimedia.org/r/47321

to review the following change.

Change subject: sphinx is now stricter
......................................................................

sphinx is now stricter

The documentation files often have minor typo or badly formatted
commands which makes sphinx emits a warning. To make sure we always
catch them via the Jenkins build, this patch makes sphinx to convert
warning to errors thus aborting the build, simply add to pass the -W
option to sphinx-build.

This patch also fix one warning:
* There is no source/_static dir so disable html_static_path

Test plan:

$ make clean; make html
rm -rf build/*
sphinx-build -b html -d build/doctrees  -W source build/html
Making output directory...
Running Sphinx v1.1.3
loading pickled environment... not yet created
building [html]: targets for 18 source files that are out of date
updating environment: 18 added, 0 changed, 0 removed
reading sources... [100%] zuul
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] zuul
writing additional files... genindex py-modindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded.

Build finished. The HTML pages are in build/html.
$

Change-Id: I55935fb5e869919ac639f841876aaf3871c71d17
Reviewed-on: https://review.openstack.org/16328
Reviewed-by: Paul Belanger <paul.belan...@polybeacon.com>
Reviewed-by: Monty Taylor <mord...@inaugust.com>
Reviewed-by: Jeremy Stanley <fu...@yuggoth.org>
Reviewed-by: James E. Blair <cor...@inaugust.com>
Approved: Clark Boylan <clark.boy...@gmail.com>
Reviewed-by: Clark Boylan <clark.boy...@gmail.com>
Tested-by: Jenkins
---
M doc/Makefile
M doc/source/conf.py
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder 
refs/changes/21/47321/1
--
To view, visit https://gerrit.wikimedia.org/r/47321
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I55935fb5e869919ac639f841876aaf3871c71d17
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder
Gerrit-Branch: master
Gerrit-Owner: Krinkle <ttij...@wikimedia.org>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to