[RFC] more agressive error check for `make docs`?

Alexander Belchenko bialix at ukr.net
Tue Sep 4 15:47:26 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Currently `make docs` always runs successful even if there is
some warnings or errors during html generation. I think it's bad,
because periodically I find regressions.

Can we adding some flags for rst2html.py to have non-zero exit code
for such situation? Because docs generated during `make check`
and IIUC it's used in PQM, we have another blocker for regressions?

The change will looks like:

=== modified file 'Makefile'
- --- Makefile    2007-09-04 14:17:40 +0000
+++ Makefile    2007-09-04 14:39:13 +0000
@@ -70,7 +70,7 @@
 ifdef PRETTY
 rst2html := python tools/rst2prettyhtml.py doc/bazaar-vcs.org.kid
 else
- -rst2html := python tools/rst2html.py --link-stylesheet --footnote-references=superscript
+rst2html := python tools/rst2html.py --halt=1 --exit-status=1 --link-stylesheet
- --footnote-references=superscript
 endif

 # translate txt docs to html


But at first we need to fix 'see also' in help for send command.

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3W/+zYr338mxwCURAmhZAJ9sPc4N2WeDuTK72atZXPtjYHaFEwCfRr2w
tw5X5QZ4ZxX//n/Utlbc9G8=
=Vjcl
-----END PGP SIGNATURE-----



More information about the bazaar mailing list