-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert text-based PEPs to reST #4
Comments
Stupid existential question, should pep-9 (Sample Plaintext PEP Template) be converted to rst ? |
Haha, good question. Maybe keep it as text and identify it as deprecated? |
It is already. But if not converted, that would make it trickier to automatize the Sphinx build process. One possibility is to put the all content of the pep in code block. Indented by 4 spaces, and add an warning on top. |
That's a possibility. I would leave that PEP for last for conversion as it's obviously the least important one to convert. |
Not including PEP 9, there are 133 more PEPs still in plain text :P |
So my strategy would be to take each next conversion as an opportunity to
refine your conversion script. After 33 improvements the rest should not
need manual tweaking.
|
Once you're comfortable that your script isn't going to break anything, @Mariatta , then I would be fine with one big PR or batches of PRs that converts several of the text-only PEPs at once. We have version control for a reason. 😄 |
For the few peps I made into rst I used this, if it can be of help. I found that a couple of peps/peps author were using different style and the you regularly need to make manual check/fixes after auto transform. |
PEP 160 PEP 210 PEP 217 PEP 220 PEP 233 PEP 251 PEP 254 PEP 260 PEP 270 PEP 271 Continuing work on python#4 :)
Further progress on issue #4 PEP 213: - Fix typo in the word miniscule -> minuscule PEP 241 PEP 291 PEP 298 PEP 311
I just ran pep-0000.txt That's 44 PEPs left to convert (although PEP 0 is auto-generated so that's a bit different than the rest). |
All done! 🎇🎉
|
Whee! Now we can rename all .txt files to .rst, and remove a bunch of stuff from pep2html.py. Right? |
Amazing! Thanks @mozillazg ! 🌮 |
@gvanrossum #1 tracks renaming the PEPs. As for cleaning up |
And with PEP 9 now converted, this is done! Thanks to everyone who helped make this happen! And now on to #1 😃 |
Add review comments and edits
…online-keys Discuss how to manage online and offline keys
Not really important, but it does unify things.
The text was updated successfully, but these errors were encountered: