rendering mercurial tests in a nice way

Alexander Solovyov alexander at solovyov.net
Sun Mar 13 08:44:03 CDT 2011


Hi,

I've created small dirty script [1] which converts hg/tests contents
into .rst files and generates index.rst for sphinx to render those
files. You can see result of its work at [2].

Sometimes it fails a bit, like [3], but mostly works. :) I don't know
if anybody is interested, but anyway here it is. :)

[1]: http://hg.piranha.org.ua/sphinxedhg/file/tip/test2rst.py
[2]: http://hg.piranha.org.ua/sphinxedhg/docs/
[3]: http://hg.piranha.org.ua/sphinxedhg/docs/test-update-branches.html

-- 
Alexander


More information about the Mercurial-devel mailing list