d0ugal / peps

A better way to view PEPs (Python Enhancement Proposals)
http://www.peps.io/
9 stars 1 forks source link

PEP 0286 not pretty #2

Open andrewcooke opened 11 years ago

andrewcooke commented 11 years ago

Hi, (from HN) - I noticed that http://www.peps.io/286/ doesn't look the same as other PEPs. Andrew

andrewcooke commented 11 years ago

Oh. Many others are similar. Maybe I am misunderstanding. Does it depend on whether or not they have a Contents block?

d0ugal commented 11 years ago

PEP's are either submitted as plain text (with a standardish layout) or RST. At the moment I'm only able to handle RST submissions well. Although I'm working on a set of rules to try and improve these, but its a bit tricky.

For example, compare these two; http://www.peps.io/286.txt http://www.peps.io/8.txt

Notice “Content-Type: text/x-rst” in the PEP 8 line.

Oh, and btw, the .txt is a hidden feature to view the raw PEP file :)