it seems the problem is in pypy/doc/config/generate.py which recreates (copies?) *.rst from *.txt for all the command line options but does not remove _unused_ old versions of the rst files. When we removed a command line option, the corresponding txt file was removed from hg, but the rst file was not removed. Then sphinx picks up all the rst files and boom. Anyone want to suggest a fix? Anyone know why we do txt -> rst in the first place? Matti
On Sun, Jan 6, 2013 at 12:04 AM, Matti Picus <matti.pi...@gmail.com> wrote: > Looking at https://readthedocs.org/builds/pypy shows that builds of pypy > documentation have been failing > Actually, the failures are not recent, as far back as Dec 1 the builds were > failing, when I checked just now this page shows successful builds > https://readthedocs.org/builds/pypy/?page=46 > while here they began to fail > https://readthedocs.org/builds/pypy/?page=45 > (your mileage may vary, I think the page numbers change over time) > > The sphinx failure seems to say something about vanilla (yum!), > ------------------------------------------------------------- > Exception occurred: > File > "/var/build/user_builds/pypy/checkouts/latest/pypy/config/makerestdoc.py", > line 217, in config_role > opt = getattr(h._cfgimpl_descr, n) > AttributeError: 'OptionDescription' object has no attribute 'vanilla' > -------------------------------------------------------------- > I found a changeset in pypy that modified the --vanilla option suspiciously > around the time the failures began : > -------------------------------- > 53b204769d36 remove vanilla option, which is totally unused > --------------------------------- > Also, "make html" in the doc directory fails for me (win32, default branch), > however fixing that failure did not make sphinx happier on readthedocs, > see pypy changeset b36997015a40 > and the resulting document build on readthedocs > https://readthedocs.org/builds/pypy/386842/ > > I give up, perhaps someone else can fix this. > Matti _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev