You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm that the upgrade and release note pages are updated. Typically, this is a separate issue.
In content/docs, create the new main by making a copy of the current main directory. Rename the directories appropriately. For example, the old main is copied to a new main, the old main becomes latest, and the old latest version gets deleted (agentgateway only maintains n latest and n+1 main in development).
For the _index.md pages of each version, update the version in the title.
In the latest version of the content/docs you just copied, update the test paths from main to latest.
Example search:
In ./website/content/docs/standalone/latest
Find file: content/docs/standalone/main/
Replace with file: content/docs/standalone/latest/
# and repeat for kubernetes
In the hugo.yaml file, update the versions to include the new minor version as main, the previous main as latest, and the previous latest as its version.
Update the version conrefs in the assets/docs/versions directory. Often, there is not a release for the next version, so you might have to use the same for latest and main.
Add the release date to the version table in assets/docs/pages/reference/versions.md, and remove any retired versions.
Update the version shortcodes to include the newest version. For example, if 2.2.x is the latest release, search for version include-if="2.1.x" to add version include-if="2.2.x,2.1.x". Keep in mind that the include-if might start with different versions, like include-if="2.0.x,2.1.x,2.2.x" so do a few searches.
Example find and replacements for a hypothetical 2.8 release
"2.8.x, > "2.9.x,2.8.x,
,2.8.x" > ,2.8.x,2.9.x"
"2.8.x" > "2.9.x,2.8.x"
"2.4.x, > "
,2.4.x" > "
Delete any content that is in "2.4.x" only tags (older than n-3)
For anything that is now in "2.9.x,2.8.x,2.7.x,2.6.x,2.5.x" or "2.5.x,2.6.x,2.7.x,2.8.x,2.9.x" tags, keep the content but delete the version tags surrounding it
Search content for any hard-coded instances of the version, like 2.1, as well as any retired versions, and update if needed. Example pages are upgrade, version skew, and reference pages.
Generate reference docs for the new version.
Post-release
Merge in the autogenerated PR that the workflow created
Verify that the docs are published
Cut a GitHub release of the docs repo for the new release, and include any retired version (such as Release for 2.6.x and last state for retired 2.2.x)
If maintaining a downstream version, update the content paths for the new version.
Doc issues for 1.3 features
Pre-release
content/docs, create the newmainby making a copy of the current main directory. Rename the directories appropriately. For example, the old main is copied to a newmain, the old main becomeslatest, and the old latest version gets deleted (agentgateway only maintainsnlatest andn+1main in development).latestversion of thecontent/docsyou just copied, update the test paths frommaintolatest.Example search:
hugo.yamlfile, update theversionsto include the new minor version as main, the previous main as latest, and the previous latest as its version.assets/docs/versionsdirectory. Often, there is not a release for the next version, so you might have to use the same for latest and main.assets/docs/pages/reference/versions.md, and remove any retired versions.version include-if="2.1.x"to addversion include-if="2.2.x,2.1.x". Keep in mind that the include-if might start with different versions, likeinclude-if="2.0.x,2.1.x,2.2.x"so do a few searches."2.8.x,>"2.9.x,2.8.x,,2.8.x">,2.8.x,2.9.x""2.8.x">"2.9.x,2.8.x""2.4.x,>",2.4.x">""2.4.x"only tags (older than n-3)"2.9.x,2.8.x,2.7.x,2.6.x,2.5.x"or"2.5.x,2.6.x,2.7.x,2.8.x,2.9.x"tags, keep the content but delete the version tags surrounding it2.1, as well as any retired versions, and update if needed. Example pages are upgrade, version skew, and reference pages.Post-release
Release for 2.6.x and last state for retired 2.2.x)