-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
base: master
Are you sure you want to change the base?
Conversation
Looking at the screenshot shared in slack, why is v1.27 listed above v1.26? Do we switch to preliminary.istio.io when we select v1.27? |
I was debating adding preliminary versions to the dropdown but decided against it, new deploy preview should show the updated menu that starts with latest (1.26) |
@@ -71,3 +141,53 @@ | |||
</form> | |||
</nav> | |||
</header> | |||
|
|||
<script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should eventually end up in its own TS file.
This should definitely show preliminary when running on preliminary, but it would be OK to not show it when running on latest or older. (It should also highlight the current version if it's an archive site you're looking at) |
Description
This PR tests a version selector dropdown under "Documentation" and includes previous logic for implementing a netlify edge function.
Reviewers