This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove version warnings in Tabs components (#404)
The Tabs component displays the VersionWarning component instead of the TabItem configured by the page if a TabItem's scope is set to `cloud` and the current docs version is not the same as the latest docs version. This warning is unhelpful, since the "latest" version configured for the docs site is often one major version ahead of the Teleport Cloud version. In addition, since we have removed scope switching from the docs engine, the `scope` prop is supposed to be no-op until we remove all instances of this prop from the docs site. Also updates yarn.lock, which was out of date in earlier commits.
- Loading branch information
Showing
6 changed files
with
44 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export { default } from "./DocsPage"; | ||
export { VersionWarning } from "./VersionWarning"; | ||
|
||
export type { NavigationCategory, PageMeta } from "./types"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11270,7 +11270,7 @@ graphql-ws@^5.12.0: | |
resolved "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.14.0.tgz#766f249f3974fc2c48fae0d1fb20c2c4c79cd591" | ||
integrity sha512-itrUTQZP/TgswR4GSSYuwWUzrE/w5GhbwM2GX3ic2U7aw33jgEsayfIlvaj7/GcIvZgNMzsPTrE5hqPuFUiE5g== | ||
|
||
graphql@^16.8.1: | ||
graphql@^16.6.0, graphql@^16.8.1: | ||
version "16.8.1" | ||
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" | ||
integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== | ||
|
@@ -16189,7 +16189,7 @@ react-docgen@^5.0.0: | |
node-dir "^0.1.10" | ||
strip-indent "^3.0.0" | ||
|
||
react-dom@^18.2.0: | ||
[email protected]: | ||
version "18.2.0" | ||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" | ||
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== | ||
|
@@ -16369,7 +16369,7 @@ react-use@^17.3.1: | |
ts-easing "^0.2.0" | ||
tslib "^2.1.0" | ||
|
||
react@^18.2.0: | ||
[email protected]: | ||
version "18.2.0" | ||
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" | ||
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== | ||
|
0f2dfd8
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.
Successfully deployed to the following URLs:
docs – ./
docs.goteleport.com
docs-git-main-goteleport.vercel.app
docs-goteleport.vercel.app
docs-kohl-delta.vercel.app