diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 80cc8ff314b..ee97448b535 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -264,6 +264,7 @@ module.exports = { 'plugins/quadrants', ] }, + 'utils' ], '/': [ '', diff --git a/docs/samples/utils.md b/docs/samples/utils.md new file mode 100644 index 00000000000..a1e8faf3f31 --- /dev/null +++ b/docs/samples/utils.md @@ -0,0 +1,14 @@ +# Utils + +## Disclaimer +The Utils file contains multiple helper functions that the chart.js sample pages use to generate charts. +These functions are subject to change, including but not limited to breaking changes without prior notice. + +Because of this please don't rely on this file in production environments. + +## Functions + +<<< @/docs/scripts/utils.js + +[File on github](https://github.com/chartjs/Chart.js/blob/master/docs/scripts/utils.js) +