Skip to content
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

Tweak PEP references to work on topic sub-index pages #2658

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

pradyunsg
Copy link
Member

@pradyunsg pradyunsg commented Jun 19, 2022

Fixes #2655

Not sure how strongly people care about being able to reach the other PEPs from the filesystem HTML files opened as-is, since that'd be broken with this. On the other hand, viewing the files from an HTTP server run with python -m http.server build works still -- and so does the preview rendered by RTD + URLs that would be used with peps.python.org. :)

@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Jun 19, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@pradyunsg pradyunsg force-pushed the fix-topic-page-pep-references branch from 6ad7c5d to a201663 Compare June 19, 2022 17:16
@pradyunsg pradyunsg marked this pull request as ready for review June 19, 2022 17:33
@pradyunsg pradyunsg requested a review from AA-Turner as a code owner June 19, 2022 17:33
@AA-Turner
Copy link
Member

Not sure how strongly people care about being able to reach the other PEPs from the filesystem HTML files opened as-is, since that'd be broken with this.

This was a concern/usability point rasised during the implementation of the new rendering system, and so I'd like to keep the functionality.

A

@pradyunsg
Copy link
Member Author

How about fixing that in a follow up?

I'm inclined to suggest that having working links on peps.python.org is more important than local builds with direct file system usage, especially since local builds have a workaround. :)

@JelleZijlstra
Copy link
Member

Agree with @pradyunsg, I'd rather fix the live links first. We can come up with a solution that works better for local builds later.

@JelleZijlstra JelleZijlstra merged commit fa659f0 into python:main Jun 20, 2022
@pradyunsg pradyunsg deleted the fix-topic-page-pep-references branch June 20, 2022 13:57
carljm added a commit to carljm/peps that referenced this pull request Jun 27, 2022
* main: (47 commits)
  PEP 668: Address feedback and mark as accepted (python#2673)
  PEP-0691 Gramatical changes + `meta` key description under Project List (python#2677)
  PEP691: Mark Accepted + Grammar Fixes + Small Fix (python#2674)
  PEP 691: touch up (python#2668)
  PEP 650: Withdraw and move to Standards Track (python#2665)
  PEP 561: Mark as final (python#2663)
  PEP 660: Mark as Final (python#2664)
  PEP 615: Fix incorrect RFC link (python#2662)
  Multiple PEPs: Move Packaging PEPs to Standards Track and mark as Final (python#2657)
  PEP 671: Since it keeps getting asked about, add a para on deferreds (python#2661)
  Infra: Tweak PEP references to work on topic sub-index pages (python#2658)
  PEP 632: Remove `Topic: Packaging` header (python#2656)
  Infra: Make colour theme cycler button accessible (python#2619)
  PEP 593: Fix citation references (python#2640)
  PEP 553: Fix citation references (python#2639)
  PEP 668: Add PEP-Delegate (python#2654)
  PEP 693: Python 3.12 Release Schedule (python#2648)
  Add support for topic indices (python#2579)
  PEP691: Switch to a List for Project, Address more Feedback (python#2653)
  PEP 671: Add section on evaluation order (python#2652)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Links on topic pages are broken
3 participants