-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.ts
47 lines (43 loc) · 1.3 KB
/
sidebar.ts
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
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
import apicore from "./docs/api_core_v1/sidebar";
import apiemissions from "./docs/api_emissions_v1/sidebar";
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
//apisidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
apisidebar: [{
type: "category",
label: "Core",
link: {
type: "generated-index",
title: "NDD Elog Core API",
// description:
// "This is a sample server Petstore server in OpenAPI 3.1. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key to test the authorization filters.",
slug: "/category/coreapi",
},
items: apicore,
},
{
type: "category",
label: "Emissões",
link: {
type: "generated-index",
title: "NDD Elog Emissões API",
slug: "/category/emissionsapi",
},
items: apiemissions,
}
]
};
export default sidebars;