Browse Source

docs: Manual ordering of developer guide sidebar

Michael Bromley 2 years ago
parent
commit
8eeac2db3a
1 changed files with 20 additions and 4 deletions
  1. 20 4
      docs/sidebars.js

+ 20 - 4
docs/sidebars.js

@@ -15,15 +15,31 @@
 const sidebars = {
 const sidebars = {
     // By default, Docusaurus generates a sidebar from the docs folder structure
     // By default, Docusaurus generates a sidebar from the docs folder structure
     learnSidebar: [
     learnSidebar: [
+        {
+            type: 'doc',
+            label: 'Installation',
+            id: 'guides/getting-started/installation',
+        },
         {
         {
             type: 'category',
             type: 'category',
-            label: 'Getting Started',
-            items: [{ type: 'autogenerated', dirName: 'guides/getting-started' }],
+            label: 'Developer Guide',
+            items: [
+                'guides/developer-guide/overview/index',
+                'guides/developer-guide/configuration/index',
+                'guides/developer-guide/data-model/index',
+                'guides/developer-guide/the-api-layer/index',
+                'guides/developer-guide/the-service-layer/index',
+                'guides/developer-guide/strategies-configurable-operations/index',
+                'guides/developer-guide/custom-fields/index',
+                'guides/developer-guide/worker-job-queue/index',
+                'guides/developer-guide/plugins/index',
+                'guides/developer-guide/migrations/index',
+            ],
         },
         },
         {
         {
             type: 'category',
             type: 'category',
-            label: 'Key Concepts',
-            items: [{ type: 'autogenerated', dirName: 'guides/concepts' }],
+            label: 'Core Concepts',
+            items: [{ type: 'autogenerated', dirName: 'guides/core-concepts' }],
         },
         },
         {
         {
             type: 'category',
             type: 'category',