Thanks for the good work, now it works. I have made two minor
adjustments. First, I changed the order in which sphinx-build
scripts are picked to look into .doc/ first. I think usually
developers won't have this script, but if they do, it should be
used. Do you agree?
Second of all, I would like to run sphinx in quiet mode only if
run.py runs in verbosity 0. The reason is that sphinx does not show
doctest or linkcheck errors otherwise. This would let us miss
failures in the expected behavior. Is this okay for you guys?
cheers,
robert
btw, I have removed the doc/sphinx-build file from the repository.
This is a latex/sphinx issue and your guess that it has to do with
the level of sections is correct. Latex per default has only seven
levels, and we have more than that. sphinx isn't expecting this,
which then leads to a crash. More levels are possible for latex, but
not for sphinx currently. I filed a bug report at
http://bugs.python.org/issue4436
If it bugs you right now, we can think about restructuring the docs,
but this would be a bit of work.
cheers,
robert
Yes.
Speaking about verbosity: I've removed the error message in setup.py,
because passing '-verbose 3' to setup.py does not have the desired
effect (was not passed to test/runtest.py). '-verbose 3' is now the
default when runtest is invoked by setup.py. This way, the error
messages might actually reveal what the problem is (if there's a problem).
Ludwig