Skip to content

Commit e0d694d

Browse files
authored
Migration: frontend changes to redirect to Grafana Docs (v2) (#1670)
* Create redirects * Layout changes * Rollback `announcementBanner` * Include warning blockquote on homepage
1 parent ac79726 commit e0d694d

File tree

584 files changed

+828
-432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

584 files changed

+828
-432
lines changed

gatsby-node.js

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -176,19 +176,11 @@ const getPageVersions = (
176176
const topLevelLinks = [
177177
{
178178
label: 'guides',
179-
to: '/',
179+
to: 'https://grafana.com/docs/k6/latest/',
180180
},
181181
{
182182
label: 'JAVASCRIPT API',
183-
to: '/javascript-api/',
184-
submenu: [
185-
{ label: 'k6 API', to: `/javascript-api/` },
186-
{
187-
label: 'xk6-disruptor',
188-
to: `/javascript-api/xk6-disruptor/`,
189-
},
190-
{ label: 'jslib', to: `/javascript-api/jslib/` },
191-
],
183+
to: 'https://grafana.com/docs/k6/latest/javascript-api/',
192184
},
193185
{
194186
label: 'Cloud Docs',
@@ -203,15 +195,15 @@ const topLevelLinks = [
203195
},
204196
{
205197
label: 'Extensions',
206-
to: '/extensions/',
198+
to: 'https://grafana.com/docs/k6/latest/extensions/',
207199
},
208200
{
209201
label: 'Integrations',
210-
to: '/integrations/',
202+
to: 'https://grafana.com/docs/k6/latest/misc/integrations/',
211203
},
212204
{
213205
label: 'examples',
214-
to: '/examples/',
206+
to: 'https://grafana.com/docs/k6/latest/examples/',
215207
},
216208
];
217209

0 commit comments

Comments
 (0)