feat: adds openapi documentation
This commit is contained in:
parent
5ee45209d8
commit
b066849d90
6 changed files with 4041 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
||||
import * as apiSidebar from './docs/api/sidebar';
|
||||
|
||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||
|
||||
|
@ -14,8 +15,8 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
|||
*/
|
||||
const sidebars: SidebarsConfig = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
|
||||
|
||||
tutorialSidebar: ['intro', {'label': "Censorship 101", 'type': "category", items: [{'type': 'autogenerated', dirName: 'censorship'}]}],
|
||||
apisidebar: apiSidebar.default,
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue