Skip to content

Issue 16404 - Documentation version selector dropdown #16478

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

sbegin0
Copy link
Contributor

@sbegin0 sbegin0 commented May 12, 2025

Description

This PR tests a version selector dropdown under "Documentation" and includes previous logic for implementing a netlify edge function.

Reviewers

  • Ambient
  • Docs
  • Installation
  • Networking
  • Performance and Scalability
  • Extensions and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure
  • Localization/Translation

@sbegin0 sbegin0 requested a review from a team as a code owner May 12, 2025 21:53
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 12, 2025
preliminary: "1.27"

# List of all versions to be included in the dropdown selector and for archive logic
versions:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can infer all of this programatically.

We know what the version is, we can subtract N from it, and when the site is built, it's built with a flag showing if content is archive, preliminary or current. (At least that used to be true; we can just infer anything that is not latest is archive.)

@sbegin0 sbegin0 changed the title Issue 16404 - Documentation version selector dropdown and Netlify edge function Issue 16404 - Documentation version selector dropdown May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/docs size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants