mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Vuepress HTML redirect for samples folder (#8785)
* HTML redirect using vuepress plugin * Add other needed redirects Co-authored-by: Evert Timberg <--global>
This commit is contained in:
parent
69fae1a1e7
commit
678974654b
@ -14,6 +14,9 @@ module.exports = {
|
||||
plugins: [
|
||||
'tabs',
|
||||
['flexsearch'],
|
||||
['@vuepress/html-redirect', {
|
||||
duration: 0,
|
||||
}],
|
||||
[
|
||||
'@vuepress/google-analytics',
|
||||
{
|
||||
|
3
docs/.vuepress/redirects
Normal file
3
docs/.vuepress/redirects
Normal file
@ -0,0 +1,3 @@
|
||||
/charts/ /charts/line
|
||||
/general/ /general/data-structures
|
||||
/samples/ /samples/bar/vertical
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -3854,6 +3854,12 @@
|
||||
"integrity": "sha512-BMFayLzT2BvXmnhM9mDHw0UPU7J0pH1X9gQA4HmZxOf7f3+atK5eJGsc1Ia/+1FTG2ESvhFLUU/CC3h5arjEJw==",
|
||||
"dev": true
|
||||
},
|
||||
"@vuepress/plugin-html-redirect": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@vuepress/plugin-html-redirect/-/plugin-html-redirect-0.1.2.tgz",
|
||||
"integrity": "sha512-5UIWO6+s/pAXysauYDbLAJg1Jv9eSYjRsQqVPZaLmS666R1ExPmfYiCjsD4vqju+jjlPCngJ8yB7zcHrCTqXEQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@vuepress/plugin-last-updated": {
|
||||
"version": "1.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@vuepress/plugin-last-updated/-/plugin-last-updated-1.8.2.tgz",
|
||||
|
@ -56,6 +56,7 @@
|
||||
"@rollup/plugin-node-resolve": "^11.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
||||
"@typescript-eslint/parser": "^4.18.0",
|
||||
"@vuepress/plugin-html-redirect": "^0.1.2",
|
||||
"@vuepress/plugin-google-analytics": "1.8.2",
|
||||
"chartjs-adapter-luxon": "^1.0.0-beta.2",
|
||||
"chartjs-adapter-moment": "^0.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user