[IPython-User] make html failure

Aaron Meurer asmeurer@gmail....
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
html-errors: html

(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.

Aaron Meurer

On Sat, Feb 2, 2013 at 2:39 PM, Fernando Perez <fperez.net@gmail.com> wrote:
> On Sat, Feb 2, 2013 at 10:28 PM, Thomas Kluyver <takowl@gmail.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.
> Cheers,
> f
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-User mailing list