[Python-ideas] Need help converting HTML doc to ReST

Chris Angelico rosuav at gmail.com
Fri Jan 9 18:24:48 CET 2015


On Sat, Jan 10, 2015 at 4:10 AM, Guido van Rossum <guido at python.org> wrote:
> I'd like to convert my document "The Theory of TypeHinting" to ReST so I can
> include it in PEP 483. Can someone help me with the conversion? The source
> is https://quip.com/r69HA9GhGa7J and the destination is
> http://legacy.python.org/dev/peps/pep-0483/ (or, more correctly,
> https://hg.python.org/peps/file/7cbb166b30fd/pep-0483.txt).
>
> Thanks!!

The Debian repositories include a utility called pandoc which can do
that conversion. I don't know if it's perfect or not, but it certainly
looks pretty reasonable. Footnotes need to be transformed a bit, which
can be done manually. Shall I put the content straight into the peps
repo?

ChrisA


More information about the Python-ideas mailing list