@@ -2,88 +2,92 @@ const pkg = require('../package.json');
22const docsVersion = pkg . version . indexOf ( '-' ) > - 1 ? 'next' : 'latest' ;
33
44module . exports = {
5- someSidebar : {
6- Introduction : [ 'index' ] ,
7- 'Getting Started' : [
8- 'getting-started/index' ,
9- 'getting-started/installation' ,
10- 'getting-started/integration' ,
11- 'getting-started/usage' ,
12- 'getting-started/v3-migration'
13- ] ,
14- General : [
15- 'general/data-structures' ,
16- 'general/accessibility' ,
17- 'general/options' ,
18- 'general/colors' ,
19- 'general/fonts' ,
20- 'general/performance'
21- ] ,
22- Configuration : [
23- 'configuration/index' ,
24- 'configuration/responsive' ,
25- 'configuration/device-pixel-ratio' ,
26- 'configuration/locale' ,
27- { Interactions : [ 'configuration/interactions/index' , 'configuration/interactions/events' , 'configuration/interactions/modes' ] } ,
28- 'configuration/animations' ,
29- 'configuration/layout' ,
30- 'configuration/legend' ,
31- 'configuration/title' ,
32- 'configuration/tooltip' ,
33- 'configuration/elements' ,
34- 'configuration/decimation'
35- ] ,
36- 'Chart Types' : [
37- 'charts/line' ,
38- 'charts/bar' ,
39- 'charts/radar' ,
40- 'charts/doughnut' ,
41- 'charts/polar' ,
42- 'charts/bubble' ,
43- 'charts/scatter' ,
44- 'charts/area' ,
45- 'charts/mixed'
46- ] ,
47- Axes : [
48- 'axes/index' ,
49- { Cartesian : [
50- 'axes/cartesian/index' ,
51- 'axes/cartesian/category' ,
52- 'axes/cartesian/linear' ,
53- 'axes/cartesian/logarithmic' ,
54- 'axes/cartesian/time' ,
55- 'axes/cartesian/timeseries'
56- ] } ,
57- { Radial : [
58- 'axes/radial/index' ,
59- 'axes/radial/linear'
60- ] } ,
61- 'axes/labelling' ,
62- 'axes/styling'
63- ] ,
64- Developers : [
65- 'developers/index' ,
66- 'developers/api' ,
67- {
68- type : 'link' ,
69- label : 'TypeDoc' ,
70- href : 'https://chartjs.org/docs/' + docsVersion + '/typedoc/'
71- } ,
72- 'developers/updates' ,
73- 'developers/plugins' ,
74- 'developers/charts' ,
75- 'developers/axes' ,
76- 'developers/contributing' ,
77- 'developers/publishing'
78- ] ,
79- 'Additional Notes' : [
80- 'notes/comparison' ,
81- {
82- type : 'link' ,
83- label : 'Extensions' ,
84- href : 'https://github.com/chartjs/awesome'
85- } ,
86- 'notes/license'
87- ]
88- }
5+ someSidebar : {
6+ Introduction : [ 'index' ] ,
7+ 'Getting Started' : [
8+ 'getting-started/index' ,
9+ 'getting-started/installation' ,
10+ 'getting-started/integration' ,
11+ 'getting-started/usage' ,
12+ 'getting-started/v3-migration' ,
13+ ] ,
14+ General : [
15+ 'general/data-structures' ,
16+ 'general/accessibility' ,
17+ 'general/options' ,
18+ 'general/colors' ,
19+ 'general/fonts' ,
20+ 'general/performance' ,
21+ ] ,
22+ Configuration : [
23+ 'configuration/index' ,
24+ 'configuration/responsive' ,
25+ 'configuration/device-pixel-ratio' ,
26+ 'configuration/locale' ,
27+ { Interactions : [ 'configuration/interactions/index' , 'configuration/interactions/events' , 'configuration/interactions/modes' ] } ,
28+ 'configuration/animations' ,
29+ 'configuration/layout' ,
30+ 'configuration/legend' ,
31+ 'configuration/title' ,
32+ 'configuration/tooltip' ,
33+ 'configuration/elements' ,
34+ 'configuration/decimation' ,
35+ ] ,
36+ 'Chart Types' : [
37+ 'charts/line' ,
38+ 'charts/bar' ,
39+ 'charts/radar' ,
40+ 'charts/doughnut' ,
41+ 'charts/polar' ,
42+ 'charts/bubble' ,
43+ 'charts/scatter' ,
44+ 'charts/area' ,
45+ 'charts/mixed' ,
46+ ] ,
47+ Axes : [
48+ 'axes/index' ,
49+ {
50+ Cartesian : [
51+ 'axes/cartesian/index' ,
52+ 'axes/cartesian/category' ,
53+ 'axes/cartesian/linear' ,
54+ 'axes/cartesian/logarithmic' ,
55+ 'axes/cartesian/time' ,
56+ 'axes/cartesian/timeseries' ,
57+ ] ,
58+ } ,
59+ {
60+ Radial : [
61+ 'axes/radial/index' ,
62+ 'axes/radial/linear' ,
63+ ] ,
64+ } ,
65+ 'axes/labelling' ,
66+ 'axes/styling' ,
67+ ] ,
68+ Developers : [
69+ 'developers/index' ,
70+ 'developers/api' ,
71+ {
72+ type : 'link' ,
73+ label : 'TypeDoc' ,
74+ href : 'https://chartjs.org/docs/' + docsVersion + '/typedoc/' ,
75+ } ,
76+ 'developers/updates' ,
77+ 'developers/plugins' ,
78+ 'developers/charts' ,
79+ 'developers/axes' ,
80+ 'developers/contributing' ,
81+ 'developers/publishing' ,
82+ ] ,
83+ 'Additional Notes' : [
84+ 'notes/comparison' ,
85+ {
86+ type : 'link' ,
87+ label : 'Extensions' ,
88+ href : 'https://github.com/chartjs/awesome' ,
89+ } ,
90+ 'notes/license' ,
91+ ] ,
92+ } ,
8993} ;
0 commit comments