-
Notifications
You must be signed in to change notification settings - Fork 8
docs: expand availability tags from 6 to 17 values #4324
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: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| tags: ["navigation", "configuration", "docs.yml"] | ||
| --- | ||
|
|
||
| ## Expanded availability tags | ||
|
|
||
| You can now use 17 availability tags for pages, sections, folders, and API reference endpoints. In addition to the original 6 values (`stable`, `generally-available`, `in-development`, `pre-release`, `deprecated`, `beta`), the following are now supported: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 [vale] reported by reviewdog 🐶
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| - `release-candidate` | ||
| - `public-beta` | ||
| - `private-beta` | ||
| - `limited-availability` | ||
| - `canary-release` | ||
| - `preview` | ||
| - `alpha` | ||
| - `experimental` | ||
| - `internal` | ||
| - `sunset` | ||
| - `retired` | ||
|
|
||
| ```yaml docs.yml {3, 7} | ||
| navigation: | ||
| - section: Plant API | ||
| availability: generally-available | ||
| contents: | ||
| - page: Getting started | ||
| path: ./pages/getting-started.mdx | ||
| availability: preview | ||
| ``` | ||
|
|
||
| <Button intent="none" outlined rightIcon="arrow-right" href="/learn/docs/configuration/navigation#availability">Read the docs</Button> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| You can set the availability for the entire API reference or for specific sections in your `docs.yml` configuration. Options are: `stable`, `generally-available`, `in-development`, `pre-release`, `deprecated`, or `beta`. | ||
| You can set the availability for the entire API reference or for specific sections in your `docs.yml` configuration. Options are: `stable`, `generally-available`, `release-candidate`, `public-beta`, `beta`, `private-beta`, `limited-availability`, `canary-release`, `preview`, `pre-release`, `alpha`, `experimental`, `internal`, `in-development`, `sunset`, `deprecated`, or `retired`. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
|
|
||
| When you set the availability of a section, all of the endpoints in that section are automatically marked with that availability unless explicitly set otherwise. | ||
|
|
||
|
|
@@ -12,4 +12,4 @@ navigation: | |
| icon: flower | ||
| contents: | ||
| # endpoints here | ||
| ``` | ||
| ``` | ||
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.
[FernStyles.Current] Avoid time-relative terms like 'now' that become outdated