Skip to content

Commit

Permalink
Polishes.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelosalloum committed Nov 22, 2024
1 parent a47da7f commit 10b7469
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 37 deletions.
70 changes: 34 additions & 36 deletions config/disbursementPlatform.sidebar.ts
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;
2 changes: 1 addition & 1 deletion platforms/stellar-disbursement-platform/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ This is an open-source project that is built on top of the Stellar network, and
- [stellar/stellar-disbursement-platform-frontend](https://github.com/stellar/stellar-disbursement-platform-frontend): This repository contains the web frontend code for the Stellar Disbursement Platform.
- [stellar/helm-charts](https://github.com/stellar/helm-charts/tree/main/charts/stellar-disbursement-platform): This repository contains the Helm chart for deploying the Stellar Disbursement Platform using kubernetes.

In this section, you'll find an [Admin Guide](./admin-guide/10-overview.mdx) that will teach you how to run the Stellar Disbursement Platform as well as an [API Reference](./api-reference/admin.tag.mdx).
In this section, you'll find an [Admin Guide](./stellar-disbursement-platform/admin-guide/) that will teach you how to run the Stellar Disbursement Platform as well as an [API Reference](./api-reference/admin.tag.mdx).

0 comments on commit 10b7469

Please sign in to comment.