Skip to content

Commit

Permalink
Revert "Migration: frontend changes to redirect to Grafana Docs (v2)" (
Browse files Browse the repository at this point in the history
…#1671)

This reverts commit e0d694d.
  • Loading branch information
heitortsergent authored Jul 24, 2024
1 parent e0d694d commit 1cf062e
Show file tree
Hide file tree
Showing 584 changed files with 432 additions and 828 deletions.
18 changes: 13 additions & 5 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,19 @@ const getPageVersions = (
const topLevelLinks = [
{
label: 'guides',
to: 'https://grafana.com/docs/k6/latest/',
to: '/',
},
{
label: 'JAVASCRIPT API',
to: 'https://grafana.com/docs/k6/latest/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/` },
],
},
{
label: 'Cloud Docs',
Expand All @@ -195,15 +203,15 @@ const topLevelLinks = [
},
{
label: 'Extensions',
to: 'https://grafana.com/docs/k6/latest/extensions/',
to: '/extensions/',
},
{
label: 'Integrations',
to: 'https://grafana.com/docs/k6/latest/misc/integrations/',
to: '/integrations/',
},
{
label: 'examples',
to: 'https://grafana.com/docs/k6/latest/examples/',
to: '/examples/',
},
];

Expand Down
Loading

0 comments on commit 1cf062e

Please sign in to comment.