-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathdocs-sidebar.js
More file actions
65 lines (54 loc) · 1.96 KB
/
Copy pathdocs-sidebar.js
File metadata and controls
65 lines (54 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
const layerDocs = require('../../docs/modules/layers/sidebar.json');
const infovisLayerDocs = require('../../docs/modules/infovis-layers/sidebar.json');
const graphLayerDocs = require('../../docs/modules/graph-layers/sidebar.json');
const editableLayerDocs = require('../../docs/modules/editable-layers/sidebar.json');
const arrowLayerDocs = require('../../docs/modules/arrow-layers/sidebar.json');
const geoLayerDocs = require('../../docs/modules/geo-layers/sidebar.json');
const bingMapsDocs = require('../../docs/modules/bing-maps/sidebar.json');
const leafletDocs = require('../../docs/modules/leaflet/sidebar.json');
const reactDocs = require('../../docs/modules/react/sidebar.json');
const experimentalDocs = require('../../docs/modules/experimental/sidebar.json');
const sidebars = {
tutorialSidebar: [
{
type: 'category',
label: 'Overview',
className: 'heading_bold',
items: ['README', 'whats-new', 'upgrade-guide', 'CONTRIBUTING']
},
{
type: 'category',
label: 'Generic Layers',
className: 'heading_bold',
items: [layerDocs]
},
{
type: 'category',
label: 'Non-Geospatial Layers',
className: 'heading_bold',
items: [infovisLayerDocs, graphLayerDocs]
},
{
type: 'category',
label: 'Geospatial Layers',
className: 'heading_bold',
items: [geoLayerDocs, editableLayerDocs, arrowLayerDocs, experimentalDocs]
},
{
type: 'category',
label: 'Basemaps',
className: 'heading_bold',
items: [leafletDocs, bingMapsDocs]
},
{type: 'category', label: 'React Bindings', className: 'heading_bold', items: [reactDocs]}
]
};
module.exports = sidebars;