Skip to content

Commit

Permalink
Redirect to first sample (#8783)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Apr 2, 2021
1 parent 877f4c6 commit 0ef1897
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/.vuepress/config.js
Expand Up @@ -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',
{
Expand Down Expand Up @@ -81,7 +87,6 @@ module.exports = {
title: 'API'
},
'/samples/': [
'',
{
title: 'Bar Charts',
children: [
Expand Down
1 change: 0 additions & 1 deletion docs/samples/index.md

This file was deleted.

0 comments on commit 0ef1897

Please sign in to comment.