-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsidebars.ts
102 lines (100 loc) · 1.95 KB
/
sidebars.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
const sidebars: SidebarsConfig = {
someSidebar: {},
docsSidebar: [
{
type: "doc",
id: "introduction",
},
{
type: "category",
label: "Getting Started",
items: [
{
type: "autogenerated",
dirName: "setup",
},
],
},
{
type: "category",
label: "Configuration",
items: [
{
type: "autogenerated",
dirName: "configuration",
},
],
},
{
type: "category",
label: "API Documentation",
link: {
type: "doc",
id: "api/api",
},
items:
process.env.API_DOCS_DISABLED === "true"
? []
: [...require("./docs/api/endpoints/sidebar.ts")],
},
{
type: "category",
label: "Guides",
items: [
{
type: "autogenerated",
dirName: "guides",
},
],
},
{
type: "category",
label: "Troubleshooting",
items: [
{
type: "autogenerated",
dirName: "troubleshooting",
},
],
},
{
type: "category",
label: "Client Examples",
link: {
type: "generated-index",
title: "Client Examples",
description:
"Examples of how to setup Pocket ID with different clients",
slug: "client-examples",
},
items: [
{
type: "autogenerated",
dirName: "client-examples",
},
],
},
{
type: "category",
label: "Helping Out",
items: [
{
type: "autogenerated",
dirName: "helping-out",
},
],
},
{
type: "link",
label: "Demo",
href: "https://demo.pocket-id.org",
},
{
type: "link",
label: "Discord",
href: "https://discord.gg/Pwctrasts5",
},
],
};
export default sidebars;