Skip to content
Merged
Show file tree
Hide file tree
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
173 changes: 84 additions & 89 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const sidebars: SidebarsConfig = {

{
type: "category",
label: "Devvit Setup",
label: "Devvit Setup Overview",
items: [
{
type: "doc",
Expand All @@ -144,28 +144,6 @@ const sidebars: SidebarsConfig = {
},
],
},

{
type: "category",
label: "Post Creation & Navigation",
items: [
"capabilities/client/navigation",
"capabilities/client/toasts",
"capabilities/client/menu-actions",
"capabilities/server/settings-and-secrets",
"capabilities/server/launch_screen_and_entry_points/view_modes_entry_points",
{
type: "category",
label: "Launch Screen",
collapsed: true,
items: [
"capabilities/server/launch_screen_and_entry_points/launch_overview",
"capabilities/server/launch_screen_and_entry_points/view_modes_entry_points",
"capabilities/server/launch_screen_and_entry_points/launch_screen_customization",
],
},
],
},
{
type: "category",
label: "Access External Endpoints",
Expand All @@ -174,29 +152,6 @@ const sidebars: SidebarsConfig = {
"capabilities/server/http-fetch-policy",
],
},
{
type: "category",
label: "Saving Data",
items: [
"capabilities/server/redis",
"capabilities/server/cache-helper",
"capabilities/server/post-data",
],
},
{
type: "category",
label: "User Input",
items: [
"capabilities/server/media-uploads",
"capabilities/client/forms",
"capabilities/server/userActions",
],
},
{
type: "category",
label: "Realtime Apps",
items: ["capabilities/realtime/overview"],
},
{
type: "category",
label: "Automation & Triggers",
Expand All @@ -215,6 +170,32 @@ const sidebars: SidebarsConfig = {
"earn-money/payments/support_this_app",
],
},
{
type: "category",
label: "Post Creation & Navigation",
items: [
"capabilities/client/navigation",
"capabilities/client/toasts",
"capabilities/client/menu-actions",
"capabilities/server/settings-and-secrets",
"capabilities/server/launch_screen_and_entry_points/view_modes_entry_points",
{
type: "category",
label: "Launch Screen",
collapsed: true,
items: [
"capabilities/server/launch_screen_and_entry_points/launch_overview",
"capabilities/server/launch_screen_and_entry_points/view_modes_entry_points",
"capabilities/server/launch_screen_and_entry_points/launch_screen_customization",
],
},
],
},
{
type: "category",
label: "Realtime Apps",
items: ["capabilities/realtime/overview"],
},
{
type: "category",
label: "Reddit API",
Expand Down Expand Up @@ -253,29 +234,20 @@ const sidebars: SidebarsConfig = {
},
{
type: "category",
label: "Devvit Blocks",
label: "Saving Data",
items: [
"capabilities/blocks/overview",
"capabilities/blocks/blocks_payments",
"capabilities/blocks/dimensions",
"capabilities/blocks/working_with_usestate",
"capabilities/blocks/working_with_useinterval",
"capabilities/blocks/working_with_useasync",
"capabilities/blocks/app_image_assets",
"capabilities/realtime/realtime_in_devvit_blocks",
{
type: "category",
label: "Blocks Reference",
items: [
"blocks/stacks",
"blocks/text",
"blocks/icon",
"blocks/button",
"blocks/image",
"blocks/spacer",
"blocks/colors",
],
},
"capabilities/server/redis",
"capabilities/server/cache-helper",
"capabilities/server/post-data",
],
},
{
type: "category",
label: "User Input",
items: [
"capabilities/server/media-uploads",
"capabilities/client/forms",
"capabilities/server/userActions",
],
},
{
Expand All @@ -292,14 +264,13 @@ const sidebars: SidebarsConfig = {
},

{
type: "doc",
label: "Using AI Tools",
id: "guides/ai/ai",
},
{
type: "doc",
label: "Template Library",
id: "examples/template-library",
type: "category",
label: "Best Practices",
items: [
"guides/best-practices/community_games",
"guides/best-practices/mod_resources",
"capabilities/server/text_fallback",
],
},
{
type: "category",
Expand All @@ -311,19 +282,6 @@ const sidebars: SidebarsConfig = {
"guides/tools/ui_simulator",
],
},
{
type: "category",
label: "Best Practices",
items: [
"guides/best-practices/community_games",
"guides/best-practices/mod_resources",
],
},
{
type: "doc",
label: "Text Fallback",
id: "capabilities/server/text_fallback",
},
{
type: "category",
label: "Migration Guides",
Expand All @@ -341,12 +299,49 @@ const sidebars: SidebarsConfig = {
},
],
},
{
type: "doc",
label: "Template Library",
id: "examples/template-library",
},
{
type: "doc",
label: "Using AI Tools",
id: "guides/ai/ai",
},
{
type: "html",
value: "<hr/>",
className: "sidebar-divider",
defaultStyle: false,
},
{
type: "category",
label: "Devvit Blocks",
items: [
"capabilities/blocks/overview",
"capabilities/blocks/blocks_payments",
"capabilities/blocks/dimensions",
"capabilities/blocks/working_with_usestate",
"capabilities/blocks/working_with_useinterval",
"capabilities/blocks/working_with_useasync",
"capabilities/blocks/app_image_assets",
"capabilities/realtime/realtime_in_devvit_blocks",
{
type: "category",
label: "Blocks Reference",
items: [
"blocks/stacks",
"blocks/text",
"blocks/icon",
"blocks/button",
"blocks/image",
"blocks/spacer",
"blocks/colors",
],
},
],
},
{
type: "doc",
label: "Changelog",
Expand Down
Loading