Skip to content

Commit

Permalink
Migration: frontend changes to redirect to Grafana Docs (v2) (#1670)
Browse files Browse the repository at this point in the history
* Create redirects

* Layout changes

* Rollback `announcementBanner`

* Include warning blockquote on homepage
  • Loading branch information
ppcano authored Jul 24, 2024
1 parent ac79726 commit e0d694d
Show file tree
Hide file tree
Showing 584 changed files with 828 additions and 432 deletions.
18 changes: 5 additions & 13 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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/',
},
];

Expand Down
Loading

0 comments on commit e0d694d

Please sign in to comment.