Skip to content

Enhancement: Add page anchor tags for easy sharing of PSF Board resolutions #2349

Description

@dawnwages

Is your feature request related to a problem? Please describe.
It is difficult to share specific resolutions from the official, definitive source to my Python peers from https://www.python.org/psf/records/board/resolutions/

Describe the solution you'd like
If we had IDs of the resolution that were formed perhaps by concatenating the date the resolution was formed and the resolution # of the meeting to give anchor tags of the resolutions web page: https://www.python.org/psf/records/board/resolutions/ and allow for easier search and sharing of the PSF Resolutions.

This would also be helpful with announcements.

Describe alternatives you've considered
I usually just screenshot or tell them the date and the name of the resolution, which is less than ideal because it removes the "source of truth" traceability.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. changed the title [-]Add page anchor tags for easy sharing of PSF Board resolutions https://www.python.org/psf/records/board/resolutions/[/-] [+]Enhancement: Add page anchor tags for easy sharing of PSF Board resolutions[/+] on Sep 17, 2024
  2. JacobCoffee commented on Sep 17, 2024

    @JacobCoffee
    Member

    Hi @dawnwages, would something like this work?

    Where we can link to either year, and each vote line APPROVED|DENIED has its date as a link to jump.

    image

  3. added
    frontendRelates to the frontend of the app
    easyThis issue should be trivial to accomplish
    on Feb 19, 2026
  4. nagasrisai commented on Mar 18, 2026

    @nagasrisai

    Hi! I've submitted a fix for this in PR #2966: #2966

    Approach: Added a new add_heading_anchors template filter in apps/pages/templatetags/page_tags.py. It post-processes the rendered HTML of any PSF page and injects id attributes plus pilcrow (¶) self-link anchors into every h2–h4 heading, based on the heading's slugified text.

    The filter is applied in templates/psf/default.html, so the Board Resolutions page and all other PSF pages automatically get linkable sections — for example, linking directly to #2023 to jump to the 2023 resolutions.

    Duplicate headings are handled with a -N suffix to avoid id collisions. Headings that already have an id are left untouched. 10 unit tests are included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyThis issue should be trivial to accomplishfrontendRelates to the frontend of the app

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions