Autogenerate API sidebar

This commit is contained in:
Amol
2025-07-04 13:24:20 +05:30
parent 095040713e
commit d705a4314f
3 changed files with 18 additions and 3 deletions
+1 -2
View File
@@ -10,7 +10,6 @@
*/
// @ts-check
import apiSidebar from './docs/API-docs/sidebar.ts';
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
@@ -18,7 +17,7 @@ const sidebars = {
tutorialSidebar: [{type: 'autogenerated', dirName: 'help'}],
selfhostSidebar: [{type: 'autogenerated', dirName: 'self-host'}],
contributeSidebar: [{type: 'autogenerated', dirName: 'contribute'}],
apiSidebar: apiSidebar,
apiSidebar: [{type: 'autogenerated', dirName: 'API-docs'}],
// But you can create a sidebar manually