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 next instead of pre-release display label #642
Comments
I like the idea of changing the display-version to include "next" rather than a concrete version, and I think it would also make sense to change the version to next, so that will show up in URLs. Doing this may also detect anything still linking to "latest" :-) Although "next" has some implications of "prerelease", I think it is a bad idea to leave out the (prerelease) without doing anything else. Antora calculates the latest version as "latest version that isn't a prerelease". Therefore, in xrefs from other components, if we leave out the version, it will link to the last released version. Including the "(prerelease)" in the display version will make it clear to those familiar with Antora that this version will not be linked to. Alternatively perhaps we could add an attribute in the component descriptor prerelease: WARNING: This version is not yet released and should not be used in production and at the top of every page {prerelease} and when we branch set the attribute to blank so this warning doesn't appear |
I'd like to implement this soon, over all camel subprojects:
I've decided I slightly prefer I expect this will flush out a lot of incorrect xrefs that use the |
Changing the version to 'next' is going to affect .htaccess, we'll need to redirect from /latest/ to /next/. |
As part of this I plan to make the manual into an unversioned component, which will remove the 'latest' version segment from the urls. This also will need a rewrite rule in .htaccess. |
PRs for this: camel:
camel-spring-boot camel-quarkus
camel-karaf
camel-kafka-connector
camel-k
camel-k-runtime
camel-kamelets
|
Did you forget Camel 3.7.x LTS branch from the core camel project? |
I had already fixed the problems there :-) |
We have latest / pre-release today as indicator for the next version.
If we use pre-release then we have to keep updating the version, and the display is long.
Instead we can just use next which is what we mean. The next upcoming version.
The text was updated successfully, but these errors were encountered: