Skip to content

Commit ffc9d0b

Browse files
committed
Prettier-ized.
1 parent 49b4a71 commit ffc9d0b

File tree

1 file changed

+151
-154
lines changed

1 file changed

+151
-154
lines changed

sidebars.ts

+151-154
Original file line numberDiff line numberDiff line change
@@ -27,159 +27,156 @@ import type { SidebarsConfig } from "@docusaurus/plugin-content-docs"
2727
Create as many sidebars as you want.
2828
*/
2929
const sidebars: SidebarsConfig = {
30-
docsSidebar: [
31-
{
32-
type: 'category',
33-
collapsed: false,
34-
label: 'Get started with CodeRabbit',
35-
items: [
36-
'overview/introduction',
37-
'getting-started/quickstart',
38-
],
39-
},
40-
{
41-
type: 'category',
42-
collapsed: false,
43-
label: 'Add CodeRabbit to your repository',
44-
items: [
45-
'platforms/platforms',
46-
{
47-
type: 'category',
48-
collapsed: true,
49-
label: 'Supported Git platforms',
50-
items: [
51-
'platforms/github-com',
52-
'platforms/github-enterprise-server',
53-
'platforms/gitlab-com',
54-
'platforms/self-hosted-gitlab',
55-
'platforms/azure-devops',
56-
'platforms/bitbucket-cloud',
57-
],
58-
},
59-
'getting-started/adding-organizations',
60-
'getting-started/upgrading-permissions',
61-
{
62-
type: 'category',
63-
collapsed: true,
64-
label: 'Self-host CodeRabbit',
65-
items: [
66-
'self-hosted/github',
67-
'self-hosted/gitlab',
68-
'self-hosted/azure-devops',
69-
'self-hosted/bitbucket',
70-
],
71-
},
72-
],
73-
},
74-
{
75-
type: 'category',
76-
collapsed: false,
77-
label: 'Configure CodeRabbit',
78-
items: [
79-
'getting-started/configure-coderabbit',
80-
'integrations/knowledge-base',
81-
'tools/tools',
82-
],
83-
},
84-
{
85-
type: 'category',
86-
collapsed: false,
87-
label: 'Review pull requests',
88-
items: [
89-
'guides/commands',
90-
'guides/agent_chat',
91-
{
92-
type: 'category',
93-
collapsed: false,
94-
label: 'Analyze and improve your code',
95-
items: [
96-
'integrations/code-graph-analysis',
97-
'finishing-touches/docstrings',
98-
],
99-
},
100-
],
101-
},
102-
{
103-
type: 'category',
104-
collapsed: false,
105-
label: 'Create and resolve issues',
106-
items: [
107-
'integrations/issue-integrations',
108-
'guides/issue-chat',
109-
'guides/issue-creation',
110-
'guides/linked-issues',
111-
],
112-
},
113-
{
114-
type: 'category',
115-
collapsed: false,
116-
label: 'Generate reports',
117-
items: [
118-
'guides/ondemand-reports',
119-
'guides/custom-reports',
120-
'guides/scheduled-reports',
121-
],
122-
},
123-
{
124-
type: 'category',
125-
collapsed: false,
126-
label: 'Reference',
127-
items: [
128-
{
129-
type: 'link',
130-
label: 'CodeRabbit API',
131-
href: 'https://api.coderabbit.ai/api/swagger/',
132-
},
133-
{
134-
type: 'category',
135-
label: 'Supported tools',
136-
collapsed: true,
137-
items: [
138-
'tools/actionlint',
139-
'tools/biome',
140-
'tools/buf',
141-
'tools/checkov',
142-
'tools/circleci',
143-
'tools/cppcheck',
144-
'tools/detekt',
145-
'tools/eslint',
146-
'tools/gitleaks',
147-
'tools/golangci-lint',
148-
'tools/hadolint',
149-
'tools/languagetool',
150-
'tools/markdownlint',
151-
'tools/oxlint',
152-
'tools/phpstan',
153-
'tools/pipeline-remediation',
154-
'tools/pmd',
155-
'tools/prisma-lint',
156-
'tools/regal',
157-
'tools/rubocop',
158-
'tools/ruff',
159-
'tools/semgrep',
160-
'tools/shellcheck',
161-
'tools/sqlfluff',
162-
'tools/swiftlint',
163-
'tools/yamllint',
164-
],
165-
},
166-
],
167-
},
168-
{
169-
type: 'category',
170-
collapsed: false,
171-
label: 'Resources',
172-
items: [
173-
'getting-started/support',
174-
'getting-started/subscription-management',
175-
'overview/why-coderabbit',
176-
'faq',
177-
'early-access',
178-
'future-development',
179-
'changelog',
180-
],
181-
},
182-
],
183-
};
30+
docsSidebar: [
31+
{
32+
type: "category",
33+
collapsed: false,
34+
label: "Get started with CodeRabbit",
35+
items: ["overview/introduction", "getting-started/quickstart"],
36+
},
37+
{
38+
type: "category",
39+
collapsed: false,
40+
label: "Add CodeRabbit to your repository",
41+
items: [
42+
"platforms/platforms",
43+
{
44+
type: "category",
45+
collapsed: true,
46+
label: "Supported Git platforms",
47+
items: [
48+
"platforms/github-com",
49+
"platforms/github-enterprise-server",
50+
"platforms/gitlab-com",
51+
"platforms/self-hosted-gitlab",
52+
"platforms/azure-devops",
53+
"platforms/bitbucket-cloud",
54+
],
55+
},
56+
"getting-started/adding-organizations",
57+
"getting-started/upgrading-permissions",
58+
{
59+
type: "category",
60+
collapsed: true,
61+
label: "Self-host CodeRabbit",
62+
items: [
63+
"self-hosted/github",
64+
"self-hosted/gitlab",
65+
"self-hosted/azure-devops",
66+
"self-hosted/bitbucket",
67+
],
68+
},
69+
],
70+
},
71+
{
72+
type: "category",
73+
collapsed: false,
74+
label: "Configure CodeRabbit",
75+
items: [
76+
"getting-started/configure-coderabbit",
77+
"integrations/knowledge-base",
78+
"tools/tools",
79+
],
80+
},
81+
{
82+
type: "category",
83+
collapsed: false,
84+
label: "Review pull requests",
85+
items: [
86+
"guides/commands",
87+
"guides/agent_chat",
88+
{
89+
type: "category",
90+
collapsed: false,
91+
label: "Analyze and improve your code",
92+
items: [
93+
"integrations/code-graph-analysis",
94+
"finishing-touches/docstrings",
95+
],
96+
},
97+
],
98+
},
99+
{
100+
type: "category",
101+
collapsed: false,
102+
label: "Create and resolve issues",
103+
items: [
104+
"integrations/issue-integrations",
105+
"guides/issue-chat",
106+
"guides/issue-creation",
107+
"guides/linked-issues",
108+
],
109+
},
110+
{
111+
type: "category",
112+
collapsed: false,
113+
label: "Generate reports",
114+
items: [
115+
"guides/ondemand-reports",
116+
"guides/custom-reports",
117+
"guides/scheduled-reports",
118+
],
119+
},
120+
{
121+
type: "category",
122+
collapsed: false,
123+
label: "Reference",
124+
items: [
125+
{
126+
type: "link",
127+
label: "CodeRabbit API",
128+
href: "https://api.coderabbit.ai/api/swagger/",
129+
},
130+
{
131+
type: "category",
132+
label: "Supported tools",
133+
collapsed: true,
134+
items: [
135+
"tools/actionlint",
136+
"tools/biome",
137+
"tools/buf",
138+
"tools/checkov",
139+
"tools/circleci",
140+
"tools/cppcheck",
141+
"tools/detekt",
142+
"tools/eslint",
143+
"tools/gitleaks",
144+
"tools/golangci-lint",
145+
"tools/hadolint",
146+
"tools/languagetool",
147+
"tools/markdownlint",
148+
"tools/oxlint",
149+
"tools/phpstan",
150+
"tools/pipeline-remediation",
151+
"tools/pmd",
152+
"tools/prisma-lint",
153+
"tools/regal",
154+
"tools/rubocop",
155+
"tools/ruff",
156+
"tools/semgrep",
157+
"tools/shellcheck",
158+
"tools/sqlfluff",
159+
"tools/swiftlint",
160+
"tools/yamllint",
161+
],
162+
},
163+
],
164+
},
165+
{
166+
type: "category",
167+
collapsed: false,
168+
label: "Resources",
169+
items: [
170+
"getting-started/support",
171+
"getting-started/subscription-management",
172+
"overview/why-coderabbit",
173+
"faq",
174+
"early-access",
175+
"future-development",
176+
"changelog",
177+
],
178+
},
179+
],
180+
}
184181

185182
export default sidebars

0 commit comments

Comments
 (0)