[Distutils] Table of contents formatting in PyPI pages generated from long descriptions

Maurits van Rees m.van.rees at zestsoftware.nl
Wed Jul 29 00:40:03 CEST 2015


I noticed the same today.  I went on a bug hunt and found that this was 
fixed in html5lib.  From the changelog:

   0.999999/1.0b7
   Released on July 7, 2015

   Fix #189: fix the sanitizer to allow relative URLs again (as it did 
prior to 0.9999/1.0b5).

So PyPI would need to start using a newer html5lib.

I have just now opened a bug report for good measure:
https://bitbucket.org/pypa/pypi/issues/309/

Maurits

Ian Cordasco schreef op 28-07-15 om 15:10:
> If I remember correctly the readme project is now used to render that
> information. Does that project support rendering TOCs? If not support
> for that may need to be added.
>
> On Jul 28, 2015 8:01 AM, "Jim Fulton" <jim at jimfulton.info
> <mailto:jim at jimfulton.info>> wrote:
>
>     I like to include tables of contents in my distribution long
>     descriptions.
>     Normally. ReST formats these with links, so that when someone clicks on
>     and entry in the TOC, they jump to that position in the document.
>
>     Recently (last month?) PyPI stopped displaying TOCs with links.
>     Was this intentional?
>
>     Jim
>
>     --
>     Jim Fulton
>     http://jimfulton.info
>     _______________________________________________
>     Distutils-SIG maillist  - Distutils-SIG at python.org
>     <mailto:Distutils-SIG at python..org>
>     https://mail.python.org/mailman/listinfo/distutils-sig
>
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>


-- 
Maurits van Rees: http://maurits.vanrees.org/
Zest Software: http://zestsoftware.nl



More information about the Distutils-SIG mailing list