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

use "latest" dir for API docs in doc URLs on the web site #1970

Merged
merged 1 commit into from
May 28, 2024

Conversation

cfryanr
Copy link
Member

@cfryanr cfryanr commented May 28, 2024

When we released Pinniped v0.30.0, we included generated code for Kubernetes 1.30. The release process updated this config file for our web site to say 1.30: https://github.com/vmware-tanzu/pinniped/blob/main/site/config.yaml#L11

Sadly, 1.30 in YAML means the decimal value 1.3, not the string "1.30". This broke many API doc links on our web site because they accidentally use 1.3 where they should use 1.30.

This PR changes all those links to use https://github.com/vmware-tanzu/pinniped/blob/main/generated/latest/README.adoc instead of interpolating the specific version number like https://github.com/vmware-tanzu/pinniped/blob/main/generated/1.30/README.adoc.

Release note:

NONE

@joshuatcasey
Copy link
Member

Merging and bypassing CI since this is only a site/ change.

@joshuatcasey joshuatcasey merged commit eafc9ad into main May 28, 2024
13 of 40 checks passed
@joshuatcasey joshuatcasey deleted the use_latest_dir_for_api_docs branch May 28, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants