|
1 | | -/** |
2 | | - * Creating a sidebar enables you to: |
3 | | - - create an ordered group of docs |
4 | | - - render a sidebar for each doc of that group |
5 | | - - provide next/previous navigation |
6 | | -
|
7 | | - The sidebars can be generated from the filesystem, or explicitly defined here. |
8 | | -
|
9 | | - Create as many sidebars as you want. |
10 | | - */ |
11 | | - |
12 | | -// @ts-check |
13 | | - |
14 | 1 | /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ |
15 | 2 | const sidebars = { |
16 | | - // By default, Docusaurus generates a sidebar from the docs folder structure |
17 | | - // tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], |
18 | | - |
19 | | - // But you can create a sidebar manually |
20 | | - sidebarBoltPy: [ |
21 | | - { |
22 | | - type: 'doc', |
23 | | - id: 'index', |
24 | | - label: 'Bolt for Python', |
25 | | - className: 'sidebar-title', |
26 | | - }, |
27 | | - 'getting-started', |
28 | | - { |
29 | | - type: 'category', |
30 | | - label: 'Basic concepts', |
31 | | - items: [ |
32 | | - 'basic/assistant', |
33 | | - 'basic/message-listening', |
34 | | - 'basic/message-sending', |
35 | | - 'basic/event-listening', |
36 | | - 'basic/web-api', |
37 | | - 'basic/action-listening', |
38 | | - 'basic/action-respond', |
39 | | - 'basic/acknowledge', |
40 | | - 'basic/shortcuts', |
41 | | - 'basic/commands', |
42 | | - 'basic/opening-modals', |
43 | | - 'basic/updating-pushing-views', |
44 | | - 'basic/view_submissions', |
45 | | - 'basic/app-home', |
46 | | - 'basic/options', |
47 | | - 'basic/custom-steps', |
48 | | - 'basic/authenticating-oauth', |
49 | | - 'basic/socket-mode' |
50 | | - ], |
51 | | - }, |
52 | | - { |
53 | | - type: 'category', |
54 | | - label: 'Advanced concepts', |
55 | | - items: [ |
56 | | - 'advanced/adapters', |
57 | | - 'advanced/custom-adapters', |
58 | | - 'advanced/async', |
59 | | - 'advanced/errors', |
60 | | - 'advanced/logging', |
61 | | - 'advanced/authorization', |
62 | | - 'advanced/token-rotation', |
63 | | - 'advanced/listener-middleware', |
64 | | - 'advanced/global-middleware', |
65 | | - 'advanced/context', |
66 | | - 'advanced/lazy-listeners', |
67 | | - ], |
68 | | - }, |
69 | | - { |
70 | | - type: 'category', |
71 | | - label: 'Steps from apps (Deprecated)', |
72 | | - items: [ |
73 | | - 'steps/steps', |
74 | | - 'steps/executing-steps', |
75 | | - 'steps/creating-steps', |
76 | | - 'steps/adding-editing-steps', |
77 | | - 'steps/saving-steps', |
78 | | - ], |
79 | | - }, |
80 | | - { type: 'html', value: '<hr>' }, |
81 | | - { |
82 | | - type: 'category', |
83 | | - label: 'Tutorials', |
84 | | - items: [ |
85 | | - 'tutorial/getting-started-http', |
86 | | - 'tutorial/ai-chatbot', |
87 | | - `tutorial/custom-steps-for-jira` |
88 | | - ], |
89 | | - }, |
90 | | - { type: 'html', value: '<hr>' }, |
91 | | - { |
92 | | - type: 'link', |
93 | | - label: 'Reference', |
94 | | - href: 'https://tools.slack.dev/bolt-python/api-docs/slack_bolt/', |
95 | | - }, |
96 | | - { type: 'html', value: '<hr>' }, |
97 | | - { |
98 | | - type: 'link', |
99 | | - label: 'Release notes', |
100 | | - href: 'https://github.com/slackapi/bolt-python/releases', |
101 | | - }, |
102 | | - { |
103 | | - type: 'link', |
104 | | - label: 'Code on GitHub', |
105 | | - href: 'https://github.com/SlackAPI/bolt-python', |
106 | | - }, |
107 | | - { |
108 | | - type: 'link', |
109 | | - label: 'Contributors Guide', |
110 | | - href: 'https://github.com/SlackAPI/bolt-python/blob/main/.github/contributing.md', |
111 | | - }, |
112 | | - ], |
| 3 | + sidebarBoltPy: [ |
| 4 | + { |
| 5 | + type: "doc", |
| 6 | + id: "index", |
| 7 | + label: "Bolt for Python", |
| 8 | + className: "sidebar-title", |
| 9 | + }, |
| 10 | + { type: "html", value: "<hr>" }, |
| 11 | + { |
| 12 | + type: "category", |
| 13 | + label: "Guides", |
| 14 | + collapsed: false, |
| 15 | + items: [ |
| 16 | + "getting-started", |
| 17 | + { |
| 18 | + type: "category", |
| 19 | + label: "Basic concepts", |
| 20 | + items: [ |
| 21 | + "basic/assistant", |
| 22 | + "basic/message-listening", |
| 23 | + "basic/message-sending", |
| 24 | + "basic/event-listening", |
| 25 | + "basic/web-api", |
| 26 | + "basic/action-listening", |
| 27 | + "basic/action-respond", |
| 28 | + "basic/acknowledge", |
| 29 | + "basic/shortcuts", |
| 30 | + "basic/commands", |
| 31 | + "basic/opening-modals", |
| 32 | + "basic/updating-pushing-views", |
| 33 | + "basic/view_submissions", |
| 34 | + "basic/app-home", |
| 35 | + "basic/options", |
| 36 | + "basic/custom-steps", |
| 37 | + "basic/authenticating-oauth", |
| 38 | + "basic/socket-mode", |
| 39 | + ], |
| 40 | + }, |
| 41 | + { |
| 42 | + type: "category", |
| 43 | + label: "Advanced concepts", |
| 44 | + items: [ |
| 45 | + "advanced/adapters", |
| 46 | + "advanced/custom-adapters", |
| 47 | + "advanced/async", |
| 48 | + "advanced/errors", |
| 49 | + "advanced/logging", |
| 50 | + "advanced/authorization", |
| 51 | + "advanced/token-rotation", |
| 52 | + "advanced/listener-middleware", |
| 53 | + "advanced/global-middleware", |
| 54 | + "advanced/context", |
| 55 | + "advanced/lazy-listeners", |
| 56 | + ], |
| 57 | + }, |
| 58 | + { |
| 59 | + type: "category", |
| 60 | + label: "Steps from apps (Deprecated)", |
| 61 | + items: [ |
| 62 | + "steps/steps", |
| 63 | + "steps/executing-steps", |
| 64 | + "steps/creating-steps", |
| 65 | + "steps/adding-editing-steps", |
| 66 | + "steps/saving-steps", |
| 67 | + ], |
| 68 | + }, |
| 69 | + ], |
| 70 | + }, |
| 71 | + { type: "html", value: "<hr>" }, |
| 72 | + { |
| 73 | + type: "category", |
| 74 | + label: "Tutorials", |
| 75 | + items: [ |
| 76 | + "tutorial/getting-started-http", |
| 77 | + "tutorial/ai-chatbot", |
| 78 | + "tutorial/custom-steps-for-jira", |
| 79 | + ], |
| 80 | + }, |
| 81 | + { type: "html", value: "<hr>" }, |
| 82 | + { |
| 83 | + type: "link", |
| 84 | + label: "Reference", |
| 85 | + href: "https://tools.slack.dev/bolt-python/api-docs/slack_bolt/", |
| 86 | + }, |
| 87 | + { type: "html", value: "<hr>" }, |
| 88 | + { |
| 89 | + type: "link", |
| 90 | + label: "Release notes", |
| 91 | + href: "https://github.com/slackapi/bolt-python/releases", |
| 92 | + }, |
| 93 | + { |
| 94 | + type: "link", |
| 95 | + label: "Code on GitHub", |
| 96 | + href: "https://github.com/SlackAPI/bolt-python", |
| 97 | + }, |
| 98 | + { |
| 99 | + type: "link", |
| 100 | + label: "Contributors Guide", |
| 101 | + href: "https://github.com/SlackAPI/bolt-python/blob/main/.github/contributing.md", |
| 102 | + }, |
| 103 | + ], |
113 | 104 | }; |
114 | 105 |
|
115 | 106 | export default sidebars; |
0 commit comments