Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: nested sidebar format #2374

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 68 additions & 66 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,77 +7,79 @@ const sidebars = {
label: 'Bolt for JavaScript',
className: 'sidebar-title',
},
'getting-started',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uh i just added an extra <hr> here

{
type: 'category',
label: 'Slack API calls',
items: ['concepts/message-sending', 'concepts/web-api'],
},
{
type: 'category',
label: 'Events',
items: ['concepts/message-listening', 'concepts/event-listening'],
},
{
type: 'category',
label: 'App UI & Interactivity',
items: [
'concepts/acknowledge',
'concepts/shortcuts',
'concepts/commands',
'concepts/actions',
'concepts/creating-modals',
'concepts/updating-pushing-views',
'concepts/view-submissions',
'concepts/select-menu-options',
'concepts/publishing-views',
],
},
'concepts/assistant',
'concepts/custom-steps',
{ type: 'html', value: '<hr>' },
{
type: 'category',
label: 'App Configuration',
label: 'Guides',
collapsed: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this is new, too. Everything else is github not understanding what's going on. it is the same!

items: [
'concepts/socket-mode',
'concepts/error-handling',
'concepts/logging',
'concepts/custom-routes',
'concepts/deferring-initialization',
'concepts/receiver',
'getting-started',
{
type: 'category',
label: 'Slack API calls',
items: ['concepts/message-sending', 'concepts/web-api'],
},
{
type: 'category',
label: 'Events',
items: ['concepts/message-listening', 'concepts/event-listening'],
},
{
type: 'category',
label: 'App UI & Interactivity',
items: [
'concepts/acknowledge',
'concepts/shortcuts',
'concepts/commands',
'concepts/actions',
'concepts/creating-modals',
'concepts/updating-pushing-views',
'concepts/view-submissions',
'concepts/select-menu-options',
'concepts/publishing-views',
],
},
'concepts/assistant',
'concepts/custom-steps',
{
type: 'category',
label: 'App Configuration',
items: [
'concepts/socket-mode',
'concepts/error-handling',
'concepts/logging',
'concepts/custom-routes',
'concepts/deferring-initialization',
'concepts/receiver',
],
},
{
type: 'category',
label: 'Middleware & Context',
items: ['concepts/global-middleware', 'concepts/listener-middleware', 'concepts/context'],
},
{
type: 'category',
label: 'Authorization & Security',
items: ['concepts/authenticating-oauth', 'concepts/authorization', 'concepts/token-rotation'],
},
{
type: 'category',
label: 'Deployments',
items: ['deployments/aws-lambda', 'deployments/heroku'],
},
{
type: 'category',
label: 'Migration Guides',
items: ['migration/migration-v2', 'migration/migration-v3', 'migration/migration-v4'],
},
{
type: 'category',
label: 'Legacy',
items: ['legacy/hubot-migration', 'legacy/steps-from-apps', 'legacy/conversation-store'],
},
],
},
{
type: 'category',
label: 'Middleware & Context',
items: ['concepts/global-middleware', 'concepts/listener-middleware', 'concepts/context'],
},
{
type: 'category',
label: 'Authorization & Security',
items: ['concepts/authenticating-oauth', 'concepts/authorization', 'concepts/token-rotation'],
},
{
type: 'category',
label: 'Deployments',
items: ['deployments/aws-lambda', 'deployments/heroku'],
},
{
type: 'category',
label: 'Migration Guides',
items: ['migration/migration-v2', 'migration/migration-v3', 'migration/migration-v4'],
},
{
type: 'category',
label: 'Legacy',
items: ['legacy/hubot-migration', 'legacy/steps-from-apps', 'legacy/conversation-store'],
},
{ type: 'html', value: '<hr>' },
{
type: 'category',
label: 'Tutorials',
items: ['tutorials/ai-assistant'],
},
{ type: 'html', value: '<hr>' },
'reference',
{ type: 'html', value: '<hr>' },
Expand Down
Loading