From 175d9539a2a2e37c0111a80cd2f54dfef08517ee Mon Sep 17 00:00:00 2001 From: Victor Oliva Date: Tue, 16 Apr 2024 00:04:02 +0200 Subject: [PATCH] revisit side nav --- docs/pages/api/polkadot_api.mdx | 3 --- docs/pages/examples/example.mdx | 3 --- docs/pages/recipes/upgrade.md | 3 +++ vocs.config.tsx | 18 +++++++++++------- 4 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 docs/pages/api/polkadot_api.mdx delete mode 100644 docs/pages/examples/example.mdx create mode 100644 docs/pages/recipes/upgrade.md diff --git a/docs/pages/api/polkadot_api.mdx b/docs/pages/api/polkadot_api.mdx deleted file mode 100644 index aa3c8309..00000000 --- a/docs/pages/api/polkadot_api.mdx +++ /dev/null @@ -1,3 +0,0 @@ -# Polkadot-API - -polkadot-api diff --git a/docs/pages/examples/example.mdx b/docs/pages/examples/example.mdx deleted file mode 100644 index 18698e4b..00000000 --- a/docs/pages/examples/example.mdx +++ /dev/null @@ -1,3 +0,0 @@ -# Example - -Example \ No newline at end of file diff --git a/docs/pages/recipes/upgrade.md b/docs/pages/recipes/upgrade.md new file mode 100644 index 00000000..50b0f1a6 --- /dev/null +++ b/docs/pages/recipes/upgrade.md @@ -0,0 +1,3 @@ +# Preparing for a runtime upgrade + +[WIP] diff --git a/vocs.config.tsx b/vocs.config.tsx index 73503894..e18c2726 100644 --- a/vocs.config.tsx +++ b/vocs.config.tsx @@ -4,6 +4,12 @@ export default defineConfig({ title: "Polkadot-API", description: "Typescript API to interact with polkadot chains", basePath: "/polkadot-api-docs", + topNav: [ + { + text: "Guide", + link: "/getting-started", + }, + ], sidebar: [ { text: "Getting Started", @@ -26,22 +32,20 @@ export default defineConfig({ link: "/signers", }, { - text: "API", - collapsed: true, + text: "Recipes", items: [ { - text: "Polkadot-API", - link: "/api/polkadot_api", + text: "Prepare for runtime upgrade", + link: "/recipes/upgrade", }, ], }, { text: "Examples", - collapsed: true, items: [ { - text: "Example", - link: "/examples/example", + text: "Teleport across chains", + link: "https://github.com/polkadot-api/react-teleport-example", }, ], },