[IPython-User] make html failure
Sat Feb 2 18:31:22 CST 2013
In SymPy, our docs used to not make all the time, and even when they
did make, there were warnings (I think we even released 0.7.0 without
fixing all of them, because they were too bad). We did a cleanup of
all the errors (thanks mostly to GCI from 2011-2012), but the only way
that we've managed to maintain it is to test that the docs build with
each pull request.
We do this with sympy-bot. I modified the Sphinx makefile to add make
html-errors, which is just
html-errors: SPHINXOPTS += -W
(the -W command makes Sphinx return with an error code on an error).
Then we run that on each pull request. It probably would be possible
to make Travis do this as well. People tend to make Sphinx
incompatible change to docstrings without realizing it all the time,
so unless you constantly test that the docs build, they will always
slip into warnings or even errors land.
On Sat, Feb 2, 2013 at 2:39 PM, Fernando Perez <firstname.lastname@example.org> wrote:
> On Sat, Feb 2, 2013 at 10:28 PM, Thomas Kluyver <email@example.com> wrote:
>> For reference, I can build them on Linux OK, although I sometimes need a
>> clean virtualenv for it to build the API part of the docs OK.
> Perfect build for me here on linux. We do get a ton of warnings we
> should clean up, but the build itself went fine.
> A serious push into the docs will be part of the focus in the next
> few months, so we'll tackle this in earnest soon.
> IPython-User mailing list
More information about the IPython-User