diff --git a/sidebars.ts b/sidebars.ts index 0708c70..2b7ef6c 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -26,13 +26,13 @@ const sidebars: SidebarsConfig = { }, { type: "doc", - id: "introduction/intro-games", - label: "Introduction to Games", + id: "capabilities/devvit-web/devvit_web_overview", + label: "Devvit Technical Overview", }, { type: "doc", - id: "introduction/intro-mod-tools", - label: "Introduction to Mod Tools", + id: "examples/app-showcase", + label: "App Showcase", }, { type: "html", @@ -46,36 +46,69 @@ const sidebars: SidebarsConfig = { className: "sidebar-section-header", defaultStyle: false, }, - { - type: "doc", - id: "capabilities/devvit-web/devvit_web_overview", - label: "Devvit Web Overview", + type: "category", + label: "Build Games", + items: [ + { + type: "doc", + id: "introduction/intro-games", + label: "Introduction to Games", + }, + { + type: "doc", + id: "quickstart/quickstart", + label: "Quickstart for Games", + }, + { + type: "doc", + id: "quickstart/quickstart-unity", + label: "Quickstart for Unity Games", + }, + ], }, { - type: "doc", - id: "quickstart/quickstart", - label: "Quickstart for Games", + type: "category", + label: "Build Mod Tools", + items: [ + { + type: "doc", + id: "introduction/intro-mod-tools", + label: "Introduction to Mod Tools", + }, + { + type: "doc", + id: "quickstart/quickstart-mod-tool", + label: "Quickstart for Mod Tools", + }, + ], }, { - type: "doc", - id: "quickstart/quickstart-unity", - label: "Quickstart for Unity Games", + type: "html", + value: "
", + className: "sidebar-divider", + defaultStyle: false, + }, + { + type: "html", + value: "Launch Your App", + className: "sidebar-section-header", + defaultStyle: false, }, { type: "doc", - id: "quickstart/quickstart-mod-tool", - label: "Quickstart for Mod Tools", + id: "guides/launch/launch-guide", + label: "Launch Guide", }, { type: "doc", - label: "Using AI Tools", - id: "guides/ai/ai", + id: "guides/launch/feature-guide", + label: "Feature Guide", }, { - type: "category", - label: "Launch Your App", - items: ["guides/launch/launch-guide", "guides/launch/feature-guide"], + type: "doc", + id: "earn-money/reddit_developer_funds", + label: "Reddit Developer Funds", }, { type: "html", @@ -91,108 +124,133 @@ const sidebars: SidebarsConfig = { }, { - type: "doc", - id: "capabilities/devvit-web/devvit_web_configuration", - label: "Devvit Web Configuration", + type: "category", + label: "Devvit Setup", + items: [ + { + type: "doc", + id: "capabilities/devvit-web/devvit_web_configuration", + label: "Devvit Configuration", + }, + { + type: "doc", + id: "capabilities/client/overview", + label: "Client Overview", + }, + { + type: "doc", + id: "capabilities/server/overview", + label: "Server Overview", + }, + ], }, { type: "category", - label: "Client", + label: "Post Creation & Navigation", items: [ - "capabilities/client/overview", "capabilities/client/navigation", - "capabilities/client/forms", "capabilities/client/toasts", "capabilities/client/menu-actions", - ], - }, - { - type: "category", - label: "Server", - items: [ - "capabilities/server/overview", + "capabilities/server/settings-and-secrets", + "capabilities/server/launch_screen_and_entry_points/view_modes_entry_points", { type: "category", - label: "Launch Screen and Entry Points", - collapsed: true, // + 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", - "capabilities/server/launch_screen_and_entry_points/splash_migration", ], }, + ], + }, + { + type: "category", + label: "Access External Endpoints", + items: [ + "capabilities/server/http-fetch", + "capabilities/server/http-fetch-policy", + ], + }, + { + type: "category", + label: "Saving Data", + items: [ "capabilities/server/redis", - "capabilities/server/userActions", + "capabilities/server/cache-helper", "capabilities/server/post-data", - "capabilities/server/splash-screen", - "capabilities/server/text_fallback", - "capabilities/server/scheduler", - "capabilities/server/triggers", + ], + }, + { + type: "category", + label: "User Input", + items: [ "capabilities/server/media-uploads", - "capabilities/server/settings-and-secrets", - "capabilities/server/cache-helper", + "capabilities/client/forms", + "capabilities/server/userActions", + ], + }, + { + type: "category", + label: "Realtime Apps", + items: ["capabilities/realtime/overview"], + }, + { + type: "category", + label: "Automation & Triggers", + items: ["capabilities/server/scheduler", "capabilities/server/triggers"], + }, + { + type: "category", + label: "In-App Purchases", + items: [ + "earn-money/payments/payments_overview", + "earn-money/payments/payments_add", + "earn-money/payments/payments_migrate", + "earn-money/payments/payments_test", + "earn-money/payments/payments_publish", + "earn-money/payments/payments_manage", + "earn-money/payments/support_this_app", + ], + }, + { + type: "category", + label: "Reddit API", + items: [ + { + type: "doc", + label: "Reddit API Overview", + id: "capabilities/server/reddit-api", + }, + { + type: "doc", + label: "Reddit API Client", + id: "api/redditapi/RedditAPIClient/classes/RedditAPIClient", + }, { type: "category", - label: "HTTP Fetch", + label: "Classes", items: [ - "capabilities/server/http-fetch", - "capabilities/server/http-fetch-policy", + { + type: "autogenerated", + dirName: "api/redditapi/models/classes", + }, ], }, { type: "category", - label: "Reddit API", + label: "Interfaces", items: [ { - type: "doc", - label: "Overview", - id: "capabilities/server/reddit-api", - }, - { - type: "category", - label: "API Reference", - items: [ - { - type: "doc", - label: "Reddit API Client", - id: "api/redditapi/RedditAPIClient/classes/RedditAPIClient", - }, - { - type: "category", - label: "Classes", - items: [ - { - type: "autogenerated", - dirName: "api/redditapi/models/classes", - }, - ], - }, - { - type: "category", - label: "Interfaces", - items: [ - { - type: "autogenerated", - dirName: "api/redditapi/models/interfaces", - }, - ], - }, - ], + type: "autogenerated", + dirName: "api/redditapi/models/interfaces", }, ], }, ], }, - { - type: "category", - label: "Realtime", - items: [ - "capabilities/realtime/overview", - "capabilities/realtime/realtime_in_devvit_blocks", - ], - }, { type: "category", label: "Devvit Blocks", @@ -204,9 +262,10 @@ const sidebars: SidebarsConfig = { "capabilities/blocks/working_with_useinterval", "capabilities/blocks/working_with_useasync", "capabilities/blocks/app_image_assets", + "capabilities/realtime/realtime_in_devvit_blocks", { type: "category", - label: "Reference", + label: "Blocks Reference", items: [ "blocks/stacks", "blocks/text", @@ -227,64 +286,21 @@ const sidebars: SidebarsConfig = { }, { type: "html", - value: "Earn Money", + value: "Guides", className: "sidebar-section-header", defaultStyle: false, }, - { - type: "doc", - label: "Reddit Developer Funds", - id: "earn-money/reddit_developer_funds", - }, - { - type: "category", - label: "Payments", - items: [ - "earn-money/payments/payments_overview", - "earn-money/payments/payments_add", - "earn-money/payments/payments_migrate", - "earn-money/payments/payments_test", - "earn-money/payments/payments_publish", - "earn-money/payments/payments_manage", - "earn-money/payments/support_this_app", - ], - }, - { - type: "html", - value: "
", - className: "sidebar-divider", - defaultStyle: false, - }, - { - type: "html", - value: "Examples", - className: "sidebar-section-header", - defaultStyle: false, - }, { type: "doc", - label: "App Showcase", - id: "examples/app-showcase", + label: "Using AI Tools", + id: "guides/ai/ai", }, { type: "doc", label: "Template Library", id: "examples/template-library", }, - { - type: "html", - value: "
", - className: "sidebar-divider", - defaultStyle: false, - }, - { - type: "html", - value: "Guides", - className: "sidebar-section-header", - defaultStyle: false, - }, - { type: "category", label: "Development Tools", @@ -293,7 +309,6 @@ const sidebars: SidebarsConfig = { "guides/tools/logs", "guides/tools/playtest", "guides/tools/ui_simulator", - "guides/tools/devvit_test", ], }, { @@ -304,6 +319,11 @@ const sidebars: SidebarsConfig = { "guides/best-practices/mod_resources", ], }, + { + type: "doc", + label: "Text Fallback", + id: "capabilities/server/text_fallback", + }, { type: "category", label: "Migration Guides", @@ -311,6 +331,14 @@ const sidebars: SidebarsConfig = { "guides/migrate/devvit-singleton", "guides/migrate/devvit-web-experimental", "guides/migrate/inline-web-view", + { + type: "category", + label: "Splash Screens", + items: [ + "capabilities/server/splash-screen", + "capabilities/server/launch_screen_and_entry_points/splash_migration", + ], + }, ], }, { @@ -332,13 +360,13 @@ const sidebars: SidebarsConfig = { { type: "link", label: "Discord", - href: "https://discord.gg/Cd43ExtEFS", + href: "https://developers.reddit.com/discord", className: "sidebar-icon-link discord-link", }, { type: "link", label: "r/Devvit", - href: "https://www.reddit.com/r/devvit/", + href: "https://www.reddit.com/r/Devvit", className: "sidebar-icon-link subreddit-link", }, ], diff --git a/versioned_sidebars/version-0.12-sidebars.json b/versioned_sidebars/version-0.12-sidebars.json index f0a3353..21ffb38 100644 --- a/versioned_sidebars/version-0.12-sidebars.json +++ b/versioned_sidebars/version-0.12-sidebars.json @@ -12,13 +12,13 @@ }, { "type": "doc", - "id": "introduction/intro-games", - "label": "Introduction to Games" + "id": "capabilities/devvit-web/devvit_web_overview", + "label": "Devvit Technical Overview" }, { "type": "doc", - "id": "introduction/intro-mod-tools", - "label": "Introduction to Mod Tools" + "id": "examples/app-showcase", + "label": "App Showcase" }, { "type": "html", @@ -33,37 +33,68 @@ "defaultStyle": false }, { - "type": "doc", - "id": "capabilities/devvit-web/devvit_web_overview", - "label": "Devvit Web Overview" + "type": "category", + "label": "Build Games", + "items": [ + { + "type": "doc", + "id": "introduction/intro-games", + "label": "Introduction to Games" + }, + { + "type": "doc", + "id": "quickstart/quickstart", + "label": "Quickstart for Games" + }, + { + "type": "doc", + "id": "quickstart/quickstart-unity", + "label": "Quickstart for Unity Games" + } + ] }, { - "type": "doc", - "id": "quickstart/quickstart", - "label": "Quickstart for Games" + "type": "category", + "label": "Build Mod Tools", + "items": [ + { + "type": "doc", + "id": "introduction/intro-mod-tools", + "label": "Introduction to Mod Tools" + }, + { + "type": "doc", + "id": "quickstart/quickstart-mod-tool", + "label": "Quickstart for Mod Tools" + } + ] }, { - "type": "doc", - "id": "quickstart/quickstart-unity", - "label": "Quickstart for Unity Games" + "type": "html", + "value": "
", + "className": "sidebar-divider", + "defaultStyle": false + }, + { + "type": "html", + "value": "Launch Your App", + "className": "sidebar-section-header", + "defaultStyle": false }, { "type": "doc", - "id": "quickstart/quickstart-mod-tool", - "label": "Quickstart for Mod Tools" + "id": "guides/launch/launch-guide", + "label": "Launch Guide" }, { "type": "doc", - "label": "Using AI Tools", - "id": "guides/ai/ai" + "id": "guides/launch/feature-guide", + "label": "Feature Guide" }, { - "type": "category", - "label": "Launch Your App", - "items": [ - "guides/launch/launch-guide", - "guides/launch/feature-guide" - ] + "type": "doc", + "id": "earn-money/reddit_developer_funds", + "label": "Reddit Developer Funds" }, { "type": "html", @@ -77,108 +108,138 @@ "className": "sidebar-section-header", "defaultStyle": false }, - { - "type": "doc", - "id": "capabilities/devvit-web/devvit_web_configuration", - "label": "Devvit Web Configuration" - }, { "type": "category", - "label": "Client", + "label": "Devvit Setup", "items": [ - "capabilities/client/overview", - "capabilities/client/navigation", - "capabilities/client/forms", - "capabilities/client/toasts", - "capabilities/client/menu-actions" + { + "type": "doc", + "id": "capabilities/devvit-web/devvit_web_configuration", + "label": "Devvit Configuration" + }, + { + "type": "doc", + "id": "capabilities/client/overview", + "label": "Client Overview" + }, + { + "type": "doc", + "id": "capabilities/server/overview", + "label": "Server Overview" + } ] }, { "type": "category", - "label": "Server", + "label": "Post Creation & Navigation", "items": [ - "capabilities/server/overview", + "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 and Entry Points", + "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", - "capabilities/server/launch_screen_and_entry_points/splash_migration" + "capabilities/server/launch_screen_and_entry_points/launch_screen_customization" ] - }, + } + ] + }, + { + "type": "category", + "label": "Access External Endpoints", + "items": [ + "capabilities/server/http-fetch", + "capabilities/server/http-fetch-policy" + ] + }, + { + "type": "category", + "label": "Saving Data", + "items": [ "capabilities/server/redis", - "capabilities/server/userActions", - "capabilities/server/post-data", - "capabilities/server/splash-screen", - "capabilities/server/text_fallback", - "capabilities/server/scheduler", - "capabilities/server/triggers", - "capabilities/server/media-uploads", - "capabilities/server/settings-and-secrets", "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", + "items": [ + "capabilities/server/scheduler", + "capabilities/server/triggers" + ] + }, + { + "type": "category", + "label": "In-App Purchases", + "items": [ + "earn-money/payments/payments_overview", + "earn-money/payments/payments_add", + "earn-money/payments/payments_migrate", + "earn-money/payments/payments_test", + "earn-money/payments/payments_publish", + "earn-money/payments/payments_manage", + "earn-money/payments/support_this_app" + ] + }, + { + "type": "category", + "label": "Reddit API", + "items": [ + { + "type": "doc", + "label": "Reddit API Overview", + "id": "capabilities/server/reddit-api" + }, + { + "type": "doc", + "label": "Reddit API Client", + "id": "api/redditapi/RedditAPIClient/classes/RedditAPIClient" + }, { "type": "category", - "label": "HTTP Fetch", + "label": "Classes", "items": [ - "capabilities/server/http-fetch", - "capabilities/server/http-fetch-policy" + { + "type": "autogenerated", + "dirName": "api/redditapi/models/classes" + } ] }, { "type": "category", - "label": "Reddit API", + "label": "Interfaces", "items": [ { - "type": "doc", - "label": "Overview", - "id": "capabilities/server/reddit-api" - }, - { - "type": "category", - "label": "API Reference", - "items": [ - { - "type": "doc", - "label": "Reddit API Client", - "id": "api/redditapi/RedditAPIClient/classes/RedditAPIClient" - }, - { - "type": "category", - "label": "Classes", - "items": [ - { - "type": "autogenerated", - "dirName": "api/redditapi/models/classes" - } - ] - }, - { - "type": "category", - "label": "Interfaces", - "items": [ - { - "type": "autogenerated", - "dirName": "api/redditapi/models/interfaces" - } - ] - } - ] + "type": "autogenerated", + "dirName": "api/redditapi/models/interfaces" } ] } ] }, - { - "type": "category", - "label": "Realtime", - "items": [ - "capabilities/realtime/overview", - "capabilities/realtime/realtime_in_devvit_blocks" - ] - }, { "type": "category", "label": "Devvit Blocks", @@ -190,9 +251,10 @@ "capabilities/blocks/working_with_useinterval", "capabilities/blocks/working_with_useasync", "capabilities/blocks/app_image_assets", + "capabilities/realtime/realtime_in_devvit_blocks", { "type": "category", - "label": "Reference", + "label": "Blocks Reference", "items": [ "blocks/stacks", "blocks/text", @@ -213,62 +275,20 @@ }, { "type": "html", - "value": "Earn Money", - "className": "sidebar-section-header", - "defaultStyle": false - }, - { - "type": "doc", - "label": "Reddit Developer Funds", - "id": "earn-money/reddit_developer_funds" - }, - { - "type": "category", - "label": "Payments", - "items": [ - "earn-money/payments/payments_overview", - "earn-money/payments/payments_add", - "earn-money/payments/payments_migrate", - "earn-money/payments/payments_test", - "earn-money/payments/payments_publish", - "earn-money/payments/payments_manage", - "earn-money/payments/support_this_app" - ] - }, - { - "type": "html", - "value": "
", - "className": "sidebar-divider", - "defaultStyle": false - }, - { - "type": "html", - "value": "Examples", + "value": "Guides", "className": "sidebar-section-header", "defaultStyle": false }, { "type": "doc", - "label": "App Showcase", - "id": "examples/app-showcase" + "label": "Using AI Tools", + "id": "guides/ai/ai" }, { "type": "doc", "label": "Template Library", "id": "examples/template-library" }, - { - "type": "html", - "value": "
", - "className": "sidebar-divider", - "defaultStyle": false - }, - { - "type": "html", - "value": "Guides", - "className": "sidebar-section-header", - "defaultStyle": false - }, { "type": "category", "label": "Development Tools", @@ -276,8 +296,7 @@ "guides/tools/devvit_cli", "guides/tools/logs", "guides/tools/playtest", - "guides/tools/ui_simulator", - "guides/tools/devvit_test" + "guides/tools/ui_simulator" ] }, { @@ -288,13 +307,26 @@ "guides/best-practices/mod_resources" ] }, + { + "type": "doc", + "label": "Text Fallback", + "id": "capabilities/server/text_fallback" + }, { "type": "category", "label": "Migration Guides", "items": [ "guides/migrate/devvit-singleton", "guides/migrate/devvit-web-experimental", - "guides/migrate/inline-web-view" + "guides/migrate/inline-web-view", + { + "type": "category", + "label": "Splash Screens", + "items": [ + "capabilities/server/splash-screen", + "capabilities/server/launch_screen_and_entry_points/splash_migration" + ] + } ] }, { @@ -316,13 +348,13 @@ { "type": "link", "label": "Discord", - "href": "https://discord.gg/Cd43ExtEFS", + "href": "https://developers.reddit.com/discord", "className": "sidebar-icon-link discord-link" }, { "type": "link", "label": "r/Devvit", - "href": "https://www.reddit.com/r/devvit/", + "href": "https://www.reddit.com/r/Devvit", "className": "sidebar-icon-link subreddit-link" } ]