docs: OpenAPI setup

This commit is contained in:
nxglabs
2023-12-25 03:22:18 +05:30
parent 78dfaccd38
commit 74abeff8d9
34 changed files with 10506 additions and 1122 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
*/
// @ts-check
import apiSidebar from './docs/API-docs/sidebar.ts';
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
@@ -17,7 +18,7 @@ const sidebars = {
tutorialSidebar: [{type: 'autogenerated', dirName: 'help'}],
selfhostSidebar: [{type: 'autogenerated', dirName: 'self-host'}],
contributeSidebar: [{type: 'autogenerated', dirName: 'contribute'}],
apiSidebar: [{type: 'autogenerated', dirName: 'API-docs'}],
apiSidebar: apiSidebar,
// But you can create a sidebar manually