Просмотр исходного кода

docs: Manual ordering of developer guide sidebar

Michael Bromley 2 лет назад
Родитель
Сommit
8eeac2db3a
1 измененных файлов с 20 добавлено и 4 удалено
  1. 20 4
      docs/sidebars.js

+ 20 - 4
docs/sidebars.js

@@ -15,15 +15,31 @@
 const sidebars = {
     // By default, Docusaurus generates a sidebar from the docs folder structure
     learnSidebar: [
+        {
+            type: 'doc',
+            label: 'Installation',
+            id: 'guides/getting-started/installation',
+        },
         {
             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',
-            label: 'Key Concepts',
-            items: [{ type: 'autogenerated', dirName: 'guides/concepts' }],
+            label: 'Core Concepts',
+            items: [{ type: 'autogenerated', dirName: 'guides/core-concepts' }],
         },
         {
             type: 'category',