Skip to content

Commit

Permalink
fixed routes for customer in docs (#11052)
Browse files Browse the repository at this point in the history
  • Loading branch information
srinify authored Sep 25, 2020
1 parent 3467d2d commit 66e4980
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 57 deletions.
25 changes: 25 additions & 0 deletions docs/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,4 +609,29 @@ exports.createPages = ({ actions }) => {
toPath: '/docs/intro',
isPermanent: true,
});
createRedirect({
fromPath: '/tutorial.html',
toPath: '/docs/creating-charts-dashboards/first-dashboard',
isPermanent: true,
});
createRedirect({
fromPath: '/tutorial.html#connecting-to-a-new-database',
toPath: '/docs/creating-charts-dashboards/first-dashboard',
isPermanent: true,
});
createRedirect({
fromPath: '/tutorial.html#adding-a-new-table',
toPath: '/docs/creating-charts-dashboards/first-dashboard',
isPermanent: true,
});
createRedirect({
fromPath: '/tutorial.html#exploring-your-data',
toPath: '/docs/creating-charts-dashboards/first-dashboard',
isPermanent: true,
});
createRedirect({
fromPath: '/tutorial.html#creating-a-slice-and-dashboard',
toPath: '/docs/creating-charts-dashboards/first-dashboard',
isPermanent: true,
});
};
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 66e4980

Please sign in to comment.