openerp-doc team mailing list archive
-
openerp-doc team
-
Mailing list archive
-
Message #00200
Re: doc.openerp.com: error when building v6.0 doc.
-
To:
openerp-doc@xxxxxxxxxxxxxxxxxxx
-
From:
Olivier Dony <odo@xxxxxxxxxxx>
-
Date:
Fri, 25 Mar 2011 09:23:03 +0100
-
Cc:
Don Kirkby <donkirkby@xxxxxxxxx>
-
In-reply-to:
<AANLkTimMO_0ZM1o9L9_RKCPFGiNP1+f4-zG3+2tXZSTt@mail.gmail.com>
-
Organization:
OpenERP s.a.
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
On 24/03/11 21:56, Don Kirkby wrote:
> When we build it locally, will we still see all the warnings? I think
> that's useful.
Yes I only changed the master build script on our builder system, not
the normal sphinx-build script. The master build script basically calls
the sphinx-build Makefile for the main doc and all the translations, and
then decides if it can be pushed online.
> What exactly is the criteria for a failed build? I assumed it was
> anything that had WARNING/2 in the message.
It used to be the case, but we had a ton of failed builds due to small
warnings here and there. Thus we decided to ignore a few common errors
that we know are harmless for publishing online.
Here's the specific regex we currently have:
grep -Evi "UserWarning|from lxml import etree|included in any
toctree|toctree references unknown document|toctree contains reference
to documenti|too short|unexpected.*indent|^$"
Any warning/error message on stderr that passes through this filter will
fail the build.
References