-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.js
More file actions
25 lines (21 loc) · 1.13 KB
/
Copy pathsidebars.js
File metadata and controls
25 lines (21 loc) · 1.13 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
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// Hand-written guides. The generated API reference lives in its own sidebar
// (below) so it does not flood this one.
tutorialSidebar: [
'intro',
{type: 'category', label: 'Getting started', collapsed: false, items: [{type: 'autogenerated', dirName: 'getting-started'}]},
{type: 'category', label: 'Authentication', items: [{type: 'autogenerated', dirName: 'authentication'}]},
{type: 'category', label: 'Basics', items: [{type: 'autogenerated', dirName: 'basics'}]},
{type: 'category', label: 'Helpers', items: [{type: 'autogenerated', dirName: 'helpers'}]},
{type: 'category', label: 'Advanced', items: [{type: 'autogenerated', dirName: 'advanced'}]},
'support',
],
// gotd/botapi — the Telegram Bot API surface over MTProto. Its own sidebar so
// it stays distinct from the low-level client tutorial.
botapiSidebar: [{type: 'autogenerated', dirName: 'botapi'}],
// Generated API reference (tools/docgen).
referenceSidebar: [{type: 'autogenerated', dirName: 'reference'}],
};
module.exports = sidebars;