Chart.js/docs/sidebars.js
Jacco van den Berg 0c1320c2f9
Sample plugin in docs for canvas background (#8492)
* color done

* add example inline plugins for background image and color

* add link to css background

* improve text bit

* fix build error

* implement kurkles feedback

* fix indenting tab -> spaces
2021-02-22 08:52:57 -05:00

95 lines
2.3 KiB
JavaScript

const pkg = require('../package.json');
const docsVersion = pkg.version.indexOf('-') > -1 ? 'next' : 'latest';
module.exports = {
someSidebar: {
Introduction: ['index'],
'Getting Started': [
'getting-started/index',
'getting-started/installation',
'getting-started/integration',
'getting-started/usage',
'getting-started/v3-migration'
],
General: [
'general/data-structures',
'general/accessibility',
'general/options',
'general/colors',
'general/fonts',
'general/performance'
],
Configuration: [
'configuration/index',
'configuration/responsive',
'configuration/device-pixel-ratio',
'configuration/locale',
{Interactions: ['configuration/interactions/index', 'configuration/interactions/events', 'configuration/interactions/modes']},
'configuration/canvas-background',
'configuration/animations',
'configuration/layout',
'configuration/legend',
'configuration/title',
'configuration/tooltip',
'configuration/elements',
'configuration/decimation'
],
'Chart Types': [
'charts/line',
'charts/bar',
'charts/radar',
'charts/doughnut',
'charts/polar',
'charts/bubble',
'charts/scatter',
'charts/area',
'charts/mixed'
],
Axes: [
'axes/index',
{
Cartesian: [
'axes/cartesian/index',
'axes/cartesian/category',
'axes/cartesian/linear',
'axes/cartesian/logarithmic',
'axes/cartesian/time',
'axes/cartesian/timeseries'
],
},
{
Radial: [
'axes/radial/index',
'axes/radial/linear'
],
},
'axes/labelling',
'axes/styling'
],
Developers: [
'developers/index',
'developers/api',
{
type: 'link',
label: 'TypeDoc',
href: 'https://chartjs.org/docs/' + docsVersion + '/typedoc/'
},
'developers/updates',
'developers/plugins',
'developers/charts',
'developers/axes',
'developers/contributing',
'developers/publishing'
],
'Additional Notes': [
'notes/comparison',
{
type: 'link',
label: 'Extensions',
href: 'https://github.com/chartjs/awesome'
},
'notes/license'
]
}
};