From: Jukka Kurkela Date: Fri, 2 Apr 2021 14:56:32 +0000 (+0300) Subject: Redirect to first sample (#8783) X-Git-Tag: v3.0.0~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ef1897a98c8dcd4c88c3332f1a7ec559ef6d920;p=thirdparty%2FChart.js.git Redirect to first sample (#8783) --- diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f538e291f..1d66f80bc 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -19,6 +19,12 @@ module.exports = { 'ga': 'UA-28909194-3' } ], + ['redirect', { + redirectors: [ + // Default sample page when accessing /samples. + {base: '/samples', alternative: ['bar/vertical']}, + ], + }], [ 'vuepress-plugin-typedoc', { @@ -81,7 +87,6 @@ module.exports = { title: 'API' }, '/samples/': [ - '', { title: 'Bar Charts', children: [ diff --git a/docs/samples/index.md b/docs/samples/index.md deleted file mode 100644 index 9a7f330f3..000000000 --- a/docs/samples/index.md +++ /dev/null @@ -1 +0,0 @@ -# Samples