Skip to content

[WIP] Rename rst peps to .rst - #39

Closed
Carreau wants to merge 2 commits into
python:masterfrom
Carreau:rename-rst-peps
Closed

Carreau wants to merge 2 commits into
python:masterfrom
Carreau:rename-rst-peps

Conversation

@Carreau

@Carreau Carreau commented Jun 27, 2016

Copy link
Copy Markdown
Contributor

Not sure how many things that would break when pushing on pythondotorg. That's pretty easy to redo if it's not the right time.

Carreau added 2 commits June 27, 2016 11:11
simply

```ipython
files = ! ls   *.txt

for name in files:
    with open(name) as f:
        if 'Content-Type: text/x-rst' in f.read():
            !git mv {name} {name[:-3]}rst
```
@berkerpeksag

Copy link
Copy Markdown
Member

Thanks! Yes, this will definitely break python.org :) I have a WIP branch that fixes a couple issues with the PEP importer. I can tweak it look for .rst files too but I'm not sure I can get to it this week.

@brettcannon brettcannon changed the title Rename rst peps to .rst [WIP] Rename rst peps to .rst Jul 1, 2016
@brettcannon

Copy link
Copy Markdown
Member

I've marked this PR as a work-in-progress until the python.org side is dealt with.

@Carreau

Carreau commented Jul 1, 2016

Copy link
Copy Markdown
Contributor Author

I've marked this PR as a work-in-progress until the python.org side is dealt with.

Sure, if you want a cleaner PR queue, feel free to close, we can reopen when time is right.
It's easy to redo.

@brettcannon

Copy link
Copy Markdown
Member

Is there an issue or PR for the pydotorg side of things that we can track in regards to this PR?

@berkerpeksag

Copy link
Copy Markdown
Member

No, I was planning to fix it (also hg.python.org links needs to be updated) while working on python/pythondotorg#825 :)

@abalkin

abalkin commented Aug 7, 2016

Copy link
Copy Markdown
Member

Note that PEP preambles are not in valid reST format. Would it break PEP processing tools if they are converted to reST comments (.. directive) or pre-formatted text (:: directive)?

@brettcannon

Copy link
Copy Markdown
Member

@abalkin yes, they would break. Eventually the headers would need to be changed to be valid reST, but one thing at a time. 😄

@Carreau

Carreau commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

Closing to keep things clean, it's easy to redo.

@Carreau Carreau closed this Sep 26, 2016
lukpueh pushed a commit to lukpueh/peps that referenced this pull request Oct 24, 2019
Add myself (Joshua) to the authors list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants