Skip to content

Commit

Permalink
revisit side nav
Browse files Browse the repository at this point in the history
  • Loading branch information
voliva committed Apr 15, 2024
1 parent 299e622 commit 175d953
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
3 changes: 0 additions & 3 deletions docs/pages/api/polkadot_api.mdx

This file was deleted.

3 changes: 0 additions & 3 deletions docs/pages/examples/example.mdx

This file was deleted.

3 changes: 3 additions & 0 deletions docs/pages/recipes/upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Preparing for a runtime upgrade

[WIP]
18 changes: 11 additions & 7 deletions vocs.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
},
],
},
Expand Down

0 comments on commit 175d953

Please sign in to comment.