-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Wrong link to PEPs source file when the file ends in .rst #431
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
Comments
Fixing links to PEPs sources from .txt to .rst (see python#431)
#432 fixes this. |
OK I just saw that half the PEPs are stored as txt and half are stored in rst... |
It's a known issue that's waiting for #4 to be completed. |
OK, thanks. |
Some PEPs are using the .rst extension, and many are in .txt. The source link currently assumes that all the PEPs are using the .txt extension. Fixes python/peps#431
This PR should take care of it: python/pythondotorg#1195. |
@Mariatta thanks! That's a fix on the website part, and I would be in favor of accepting it asap (maybe even in a more generic way, cf. my review/comment). As @brettcannon pointed it out, the important changes to be made are #4, known from a long time. |
Thanks @Naereen :) |
Some PEPs are using the .rst extension, and many are in .txt. The source link assumed that all the PEPs are using the .txt extension. With this change, it will use the correct file extension. Fixes python/peps#431
Some PEPs are using the .rst extension, and many are in .txt. The source link assumed that all the PEPs are using the .txt extension. With this change, it will use the correct file extension. Fixes python/peps#431
Hi,
The issue is simple: the peps pages (eg pep-0553) include a link to the text source file, hosted on GitHub.
But the link points to non-existing .txt files, as some of them are stored as .rst !
The issue comes from the current template:
peps/pep-html-template
Line 24 in 86c06a7
The text was updated successfully, but these errors were encountered: