fixed routes for customer in docs (#11052)

This commit is contained in:
Srini Kadamati
2020-09-24 23:43:03 -04:00
committed by GitHub
parent 3467d2d8d6
commit 66e49807ef
3 changed files with 85 additions and 57 deletions

View File

@@ -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,
});
};