diff --git a/gatsby-node.js b/gatsby-node.js index a8b7e2b10d..760e017168 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -176,19 +176,11 @@ const getPageVersions = ( const topLevelLinks = [ { label: 'guides', - to: '/', + to: 'https://grafana.com/docs/k6/latest/', }, { label: 'JAVASCRIPT API', - to: '/javascript-api/', - submenu: [ - { label: 'k6 API', to: `/javascript-api/` }, - { - label: 'xk6-disruptor', - to: `/javascript-api/xk6-disruptor/`, - }, - { label: 'jslib', to: `/javascript-api/jslib/` }, - ], + to: 'https://grafana.com/docs/k6/latest/javascript-api/', }, { label: 'Cloud Docs', @@ -203,15 +195,15 @@ const topLevelLinks = [ }, { label: 'Extensions', - to: '/extensions/', + to: 'https://grafana.com/docs/k6/latest/extensions/', }, { label: 'Integrations', - to: '/integrations/', + to: 'https://grafana.com/docs/k6/latest/misc/integrations/', }, { label: 'examples', - to: '/examples/', + to: 'https://grafana.com/docs/k6/latest/examples/', }, ]; diff --git a/src/components/pages/doc-welcome/outdated-blockquote/index.js b/src/components/pages/doc-welcome/outdated-blockquote/index.js new file mode 100644 index 0000000000..c156aec5c0 --- /dev/null +++ b/src/components/pages/doc-welcome/outdated-blockquote/index.js @@ -0,0 +1 @@ +export { OutdatedBlockquote } from './outdated-blockquote.view'; diff --git a/src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js b/src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js new file mode 100644 index 0000000000..7c559927e9 --- /dev/null +++ b/src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js @@ -0,0 +1,27 @@ +import Blockquote from 'components/shared/blockquote'; +import React from 'react'; + +export const OutdatedBlockquote = () => ( +
+++ We've migrated the k6 documentation to Grafana!{' '} + + Click here + {' '} + to view the latest version of the k6 documentation. +
+
+
+ This page is still available for users to be able to view the{' '} + + k6 Cloud documentation + + , and will be removed at a later date. +
{t('welcome.use-cases.browser-testing.pre-description')} - + k6 browser {t('welcome.use-cases.browser-testing.description')} @@ -76,8 +71,15 @@ export const UseCases = () => { {t('welcome.use-cases.chaos-testing.title')}
- {t('welcome.use-cases.chaos-testing.description')}
-
+ You can use k6 to simulate traffic as part of your chaos
+ experiments, trigger them from your k6 tests or inject different
+ types of faults in Kubernetes with{' '}
+
xk6-disruptor
.
@@ -87,7 +89,22 @@ export const UseCases = () => {
{t('welcome.use-cases.performance-monitoring.description')}
++ With k6, you can automate and schedule to trigger tests very + frequently with a small load to continuously validate the + performance and availability of your production environment. You can + also use{' '} + + Grafana Cloud Synthetic Monitoring + {' '} + for a managed solution built specifically for synthetic monitoring + that supports k6 test scripts. +