-
Notifications
You must be signed in to change notification settings - Fork 468
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
Fix Version Notation and Add Dynamic Support for Version Categorization #19327
base: main
Are you sure you want to change the base?
Conversation
mohini-crl
commented
Jan 28, 2025
- Updated version notation to ensure consistency by capitalizing version strings where necessary.
- Added dynamic logic to fetch and display supported and unsupported versions on release pages based on maint_supp_exp_date and asst_supp_exp_date.
…etching of supported and unsupported versions
Files changed:
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
A few small requests -- let me know if anything doesn't make sense to you.
src/current/releases/index.md
Outdated
@@ -400,7 +418,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi | |||
</section> | |||
|
|||
<section class="filter-content" markdown="1" data-scope="windows"> | |||
Windows 8 or higher is required. Windows downloads are **experimental**. Experimental downloads are not yet qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases. | |||
Windows 8 or higher is required. Windows downloads are **experimental**. Experimental downloads are not yet qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases |
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.
Double-checking: this period was removed because it was generating double periods, right? In preview, it still shows one period at the end (which I think is correct).
@@ -169,7 +169,7 @@ Innovation releases are not eligible for Assistance Support, and reach EOL at th | |||
<sup id="lts-tbd">* : This major version will receive LTS patch releases, which will be listed on an additional row, upon their availability.</sup><br /> | |||
<sup id="skippable">** : This major version is an optional innovation release and will not receive receive LTS patch releases. Innovation releases are EOL when Maintenance Support ends.</sup><br /> | |||
|
|||
## Unsupported versions | |||
## Unsupported Versions |
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.
## Unsupported Versions | |
## Unsupported versions |
This may be confusing, but we use sentence case (Only capitalize proper nouns) for page headings. Title case is used for page titles. (See style guide). This means the Support Phases and Support Types headings on this page should also be adjusted, but that can be addressed separately from this PR, since it's not part of your changes.
src/current/releases/index.md
Outdated
@@ -604,6 +623,6 @@ All binaries available on this page released prior to the release date of 24.3.0 | |||
|
|||
To review the CCL, refer to the [CockroachDB Community License](https://www.cockroachlabs.com/cockroachdb-community-license) page. You can find the applicable Business Source License or third party licenses by reviewing these in the `licenses` folder for the applicable version of CockroachDB in the GitHub repository [cockroachdb/cockroach](https://github.com/cockroachdb/cockroach). See individual files for details. | |||
|
|||
## Unsupported versions | |||
## Unsupported Versions |
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.
## Unsupported Versions | |
## Unsupported versions |
See my earlier comment.
src/current/releases/index.md
Outdated
@@ -604,6 +623,6 @@ All binaries available on this page released prior to the release date of 24.3.0 | |||
|
|||
To review the CCL, refer to the [CockroachDB Community License](https://www.cockroachlabs.com/cockroachdb-community-license) page. You can find the applicable Business Source License or third party licenses by reviewing these in the `licenses` folder for the applicable version of CockroachDB in the GitHub repository [cockroachdb/cockroach](https://github.com/cockroachdb/cockroach). See individual files for details. | |||
|
|||
## Unsupported versions | |||
## Unsupported Versions | |||
[Here]({% link releases/unsupported-versions.md %}) are the versions of CockroachDB that are no longer supported |
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.
Note the extra line break to separate from the heading text.
[Here]({% link releases/unsupported-versions.md %}) are the versions of CockroachDB that are no longer supported | |
Release notes for unsupported CockroachDB versions are found on [Unsupported Versions]({% link releases/unsupported-versions.md %}). |
@@ -15,7 +15,7 @@ docs_area: releases | |||
{% assign released_versions = site.data.releases | map: "major_version" | uniq | reverse %} |
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.
I think this page needs a callout on the top to clarify that the versions aren't supported. Try this:
{{site.data.alerts.callout_danger}}
The CockroachDB versions on this page are no longer supported. For more information, refer to [Release Support Policy]({% link releases/release-support-policy.md %}#unsupported-versions). To download and learn about currently supported CockroachDB versions, refer to [CockroachDB Releases]({% link releases/index.md %}).
{{site.data.alerts.end}}