Skip to content

Render dedicated pages for launching-pad working groups#2283

Open
kaitersgonnakait wants to merge 1 commit intorust-lang:mainfrom
kaitersgonnakait:2268-fix-legacy-pages
Open

Render dedicated pages for launching-pad working groups#2283
kaitersgonnakait wants to merge 1 commit intorust-lang:mainfrom
kaitersgonnakait:2268-fix-legacy-pages

Conversation

@kaitersgonnakait
Copy link
Copy Markdown

When the site was converted from a Rocket server to a static generator, render_governance only iterated over top-level teams from index_data(), dropping pages for working groups under launching-pad (e.g. /governance/wgs/wg-secure-code). The page_data logic to preserve these URLs.

Adds launching_pad_subteam_pages() to produce the missing working group IndexTeam entries and chains them into the render loop.

By filtering by teams that are subteam-of = "launching-pad" and kind = "working-group", this creates the legacy pages for these working groups:

  • wg-cli at governance/wgs/cli
  • wg-embedded at governance/wgs/embedded
  • wg-gamedev at governance/wgs/gamedev
  • wg-secure-code at governance/wgs/wg-secure-code

An alternate solution to add redirects to the new location of the teams on this page here: https://rust-lang.org/governance/teams/

Closes #2268

When the site was converted from a Rocket server to a static generator,
render_governance only iterated over top-level teams from index_data(),
silently dropping pages for working groups under launching-pad (e.g.
/governance/wgs/wg-secure-code). The page_data logic to allow these was
preserved but never called.

Adds launching_pad_subteam_pages() to produce the missing IndexTeam
entries and chains them into the render loop.
@kaitersgonnakait kaitersgonnakait requested a review from a team as a code owner April 12, 2026 04:31
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.

Add redirects for working group pages

1 participant