-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a47da7f
commit 10b7469
Showing
2 changed files
with
35 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,44 @@ | ||
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs"; | ||
|
||
import sdpSidebar from '../platforms/stellar-disbursement-platform/api-reference/sidebar' | ||
import sdpSidebar from "../platforms/stellar-disbursement-platform/api-reference/sidebar"; | ||
|
||
const sidebars: SidebarsConfig = { | ||
stellar_disbursement_platform: [ | ||
stellar_disbursement_platform: [ | ||
{ | ||
type: "category", | ||
label: "Stellar Disbursement Platform", | ||
link: { | ||
type: "doc", | ||
id: "README", | ||
}, | ||
items: [ | ||
"README", | ||
{ | ||
type: "category", | ||
label: "Stellar Disbursement Platform", | ||
link: { | ||
type: 'doc', | ||
id: 'README', | ||
type: "category", | ||
label: "Admin Guide", | ||
link: { | ||
description: | ||
"All you need to know about setting up, running, and using the Stellar Disbursement Platform.", | ||
type: "generated-index", | ||
slug: "/admin-guide", | ||
}, | ||
items: [{ type: "autogenerated", dirName: "admin-guide" }], | ||
}, | ||
items: [ | ||
'README', | ||
{ | ||
type: 'category', | ||
label: "Admin Guide", | ||
link: { | ||
description: "All you need to know about setting up, running, and using the Anchor Platform.", | ||
type: 'generated-index', | ||
slug: '/admin-guide', | ||
}, | ||
items: [ | ||
{ type: "autogenerated", dirName: "admin-guide" } | ||
] | ||
}, | ||
{ | ||
type: 'category', | ||
label: 'API Reference', | ||
collapsed: false, | ||
link: { | ||
description: 'View all Stellar Disbursement Platform API information.', | ||
type: 'generated-index', | ||
slug: '/api-reference', | ||
}, | ||
items: [ | ||
...sdpSidebar.filter((item) => item.type === 'category'), | ||
], | ||
}, | ||
], | ||
{ | ||
type: "category", | ||
label: "API Reference", | ||
collapsed: false, | ||
link: { | ||
description: | ||
"View all Stellar Disbursement Platform API information.", | ||
type: "generated-index", | ||
slug: "/api-reference", | ||
}, | ||
items: [...sdpSidebar.filter((item) => item.type === "category")], | ||
}, | ||
], | ||
], | ||
}, | ||
], | ||
}; | ||
|
||
export default sidebars; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters