From a3b74fcb87baf73b37ce610c8a44c95442673e5f Mon Sep 17 00:00:00 2001 From: leohhhn Date: Mon, 27 May 2024 14:30:37 +0200 Subject: [PATCH 1/3] add infra section --- docusaurus/sidebars.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docusaurus/sidebars.js b/docusaurus/sidebars.js index fc0fb3e..99731de 100644 --- a/docusaurus/sidebars.js +++ b/docusaurus/sidebars.js @@ -88,6 +88,15 @@ const sidebars = { }, ] }, + { + type: 'category', + label: 'Gno Infra', + link: {type: 'doc', id: 'gno-infra/gno-infra'}, + items: [ + 'gno-infra/setting-up-a-local-chain', + 'gno-infra/premining-balances', + ], + }, { type: 'category', label: 'Reference', From 3aebf71a289ebb1807192ae1008764d2a82cb1c7 Mon Sep 17 00:00:00 2001 From: leohhhn Date: Mon, 3 Jun 2024 09:59:45 +0200 Subject: [PATCH 2/3] match folder name change --- docusaurus/sidebars.js | 350 ++++++++++++++++++++--------------------- 1 file changed, 175 insertions(+), 175 deletions(-) diff --git a/docusaurus/sidebars.js b/docusaurus/sidebars.js index 99731de..1fbd7c8 100644 --- a/docusaurus/sidebars.js +++ b/docusaurus/sidebars.js @@ -1,177 +1,177 @@ -// @ts-check + // @ts-check -/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ -const sidebars = { - tutorialSidebar: [ - 'overview', - { - type: 'category', - label: 'Getting Started', - link: {type: 'doc', id: 'getting-started/getting-started'}, - items: [ - { - type: 'category', - label: 'Local Setup', - link: {type: 'doc', id: 'getting-started/local-setup/local-setup'}, - items: [ - 'getting-started/local-setup/installation', - 'getting-started/local-setup/working-with-key-pairs', - 'getting-started/local-setup/browsing-gnoland', - 'getting-started/local-setup/interacting-with-gnoland', - ] - }, - 'getting-started/playground-start', - ], - }, - { - type: 'category', - label: 'How-to Guides', - link: {type: 'doc', id: 'how-to-guides/how-to-guides'}, - items: [ - 'how-to-guides/simple-contract', - 'how-to-guides/simple-library', - 'how-to-guides/testing-gno', - 'how-to-guides/deploy', - 'how-to-guides/write-simple-dapp', - 'how-to-guides/creating-grc20', - 'how-to-guides/connect-from-go', - 'how-to-guides/connect-wallet-dapp', - ], - }, - { - type: 'category', - label: 'Concepts', - link: {type: 'doc', id: 'concepts/concepts'}, - items: [ - 'concepts/realms', - 'concepts/packages', - 'concepts/namespaces', - { - type: 'category', - label: 'Standard Libraries', - link: {type: 'doc', id: 'concepts/stdlibs/stdlibs'}, - items: [ - 'concepts/stdlibs/banker', - 'concepts/stdlibs/coin', - 'concepts/stdlibs/events', - 'concepts/stdlibs/gnopher-hole-stdlib', - ] - }, - 'concepts/gnovm', - 'concepts/gno-language', - 'concepts/testnets', - 'concepts/effective-gno', - 'concepts/proof-of-contribution', - 'concepts/tendermint2', - 'concepts/portal-loop', - 'concepts/gno-modules', - 'concepts/gno-test', - 'concepts/from-go-to-gno', - ], - }, - { - type: 'category', - label: 'Gno Tooling', - link: {type: 'doc', id: 'gno-tooling/gno-tooling'}, - items: [ - 'gno-tooling/cli/gno-tooling-gno', - 'gno-tooling/cli/gno-tooling-gnokey', - 'gno-tooling/cli/gno-tooling-gnodev', - 'gno-tooling/cli/gno-tooling-gnoland', - { - type: 'category', - label: 'gnofaucet', - link: {type: 'doc', id: 'gno-tooling/cli/faucet/gno-tooling-gnofaucet'}, - items: [ - 'gno-tooling/cli/faucet/running-a-faucet', - ] - }, - ] - }, - { - type: 'category', - label: 'Gno Infra', - link: {type: 'doc', id: 'gno-infra/gno-infra'}, - items: [ - 'gno-infra/setting-up-a-local-chain', - 'gno-infra/premining-balances', - ], - }, - { - type: 'category', - label: 'Reference', - link: {type: 'doc', id: 'reference/reference'}, - items: [ - 'reference/rpc-endpoints', - 'reference/network-config', - { - type: 'category', - label: 'Standard Libraries', - link: {type: 'doc', id: 'reference/stdlibs/stdlibs'}, - items: [ - { - type: 'category', - label: 'std', - items: [ - 'reference/stdlibs/std/address', - 'reference/stdlibs/std/banker', - 'reference/stdlibs/std/coin', - 'reference/stdlibs/std/coins', - 'reference/stdlibs/std/chain', - 'reference/stdlibs/std/testing', - ] - } - ] - }, - 'reference/go-gno-compatibility', - { - type: 'category', - label: 'tm2-js-client', - link: {type: 'doc', id: 'reference/tm2-js-client/tm2-js-client'}, - items: [ - 'reference/tm2-js-client/tm2-js-wallet', - { - type: 'category', - label: 'Provider', - items: [ - 'reference/tm2-js-client/Provider/tm2-js-provider', - 'reference/tm2-js-client/Provider/tm2-js-json-rpc-provider', - 'reference/tm2-js-client/Provider/tm2-js-ws-provider', - 'reference/tm2-js-client/Provider/tm2-js-utility', - ] - }, - { - type: 'category', - label: 'Signer', - items: [ - 'reference/tm2-js-client/Signer/tm2-js-signer', - 'reference/tm2-js-client/Signer/tm2-js-key', - 'reference/tm2-js-client/Signer/tm2-js-ledger', - ] - }, - ] - }, - { - type: 'category', - label: 'gno-js-client', - link: {type: 'doc', id: 'reference/gno-js-client/gno-js-client'}, - items: [ - 'reference/gno-js-client/gno-js-provider', - 'reference/gno-js-client/gno-js-wallet', - ] - }, - { - type: 'category', - label: 'gnoclient', - link: {type: 'doc', id: 'reference/gnoclient/gnoclient'}, - items: [ - 'reference/gnoclient/signer', - 'reference/gnoclient/client' - ] - }, - ], - }, - ], -}; + /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ + const sidebars = { + tutorialSidebar: [ + 'overview', + { + type: 'category', + label: 'Getting Started', + link: {type: 'doc', id: 'getting-started/getting-started'}, + items: [ + { + type: 'category', + label: 'Local Setup', + link: {type: 'doc', id: 'getting-started/local-setup/local-setup'}, + items: [ + 'getting-started/local-setup/installation', + 'getting-started/local-setup/working-with-key-pairs', + 'getting-started/local-setup/browsing-gnoland', + 'getting-started/local-setup/interacting-with-gnoland', + ] + }, + 'getting-started/playground-start', + ], + }, + { + type: 'category', + label: 'How-to Guides', + link: {type: 'doc', id: 'how-to-guides/how-to-guides'}, + items: [ + 'how-to-guides/simple-contract', + 'how-to-guides/simple-library', + 'how-to-guides/testing-gno', + 'how-to-guides/deploy', + 'how-to-guides/write-simple-dapp', + 'how-to-guides/creating-grc20', + 'how-to-guides/connect-from-go', + 'how-to-guides/connect-wallet-dapp', + ], + }, + { + type: 'category', + label: 'Concepts', + link: {type: 'doc', id: 'concepts/concepts'}, + items: [ + 'concepts/realms', + 'concepts/packages', + 'concepts/namespaces', + { + type: 'category', + label: 'Standard Libraries', + link: {type: 'doc', id: 'concepts/stdlibs/stdlibs'}, + items: [ + 'concepts/stdlibs/banker', + 'concepts/stdlibs/coin', + 'concepts/stdlibs/events', + 'concepts/stdlibs/gnopher-hole-stdlib', + ] + }, + 'concepts/gnovm', + 'concepts/gno-language', + 'concepts/testnets', + 'concepts/effective-gno', + 'concepts/proof-of-contribution', + 'concepts/tendermint2', + 'concepts/portal-loop', + 'concepts/gno-modules', + 'concepts/gno-test', + 'concepts/from-go-to-gno', + ], + }, + { + type: 'category', + label: 'Gno Tooling', + link: {type: 'doc', id: 'gno-tooling/gno-tooling'}, + items: [ + 'gno-tooling/cli/gno-tooling-gno', + 'gno-tooling/cli/gno-tooling-gnokey', + 'gno-tooling/cli/gno-tooling-gnodev', + 'gno-tooling/cli/gno-tooling-gnoland', + { + type: 'category', + label: 'gnofaucet', + link: {type: 'doc', id: 'gno-tooling/cli/faucet/gno-tooling-gnofaucet'}, + items: [ + 'gno-tooling/cli/faucet/running-a-faucet', + ] + }, + ] + }, + { + type: 'category', + label: 'Gno Infra', + link: {type: 'doc', id: 'gno-infrastructure/gno-infrastructure'}, + items: [ + 'gno-infrastructure/setting-up-a-local-chain', + 'gno-infrastructure/premining-balances', + ], + }, + { + type: 'category', + label: 'Reference', + link: {type: 'doc', id: 'reference/reference'}, + items: [ + 'reference/rpc-endpoints', + 'reference/network-config', + { + type: 'category', + label: 'Standard Libraries', + link: {type: 'doc', id: 'reference/stdlibs/stdlibs'}, + items: [ + { + type: 'category', + label: 'std', + items: [ + 'reference/stdlibs/std/address', + 'reference/stdlibs/std/banker', + 'reference/stdlibs/std/coin', + 'reference/stdlibs/std/coins', + 'reference/stdlibs/std/chain', + 'reference/stdlibs/std/testing', + ] + } + ] + }, + 'reference/go-gno-compatibility', + { + type: 'category', + label: 'tm2-js-client', + link: {type: 'doc', id: 'reference/tm2-js-client/tm2-js-client'}, + items: [ + 'reference/tm2-js-client/tm2-js-wallet', + { + type: 'category', + label: 'Provider', + items: [ + 'reference/tm2-js-client/Provider/tm2-js-provider', + 'reference/tm2-js-client/Provider/tm2-js-json-rpc-provider', + 'reference/tm2-js-client/Provider/tm2-js-ws-provider', + 'reference/tm2-js-client/Provider/tm2-js-utility', + ] + }, + { + type: 'category', + label: 'Signer', + items: [ + 'reference/tm2-js-client/Signer/tm2-js-signer', + 'reference/tm2-js-client/Signer/tm2-js-key', + 'reference/tm2-js-client/Signer/tm2-js-ledger', + ] + }, + ] + }, + { + type: 'category', + label: 'gno-js-client', + link: {type: 'doc', id: 'reference/gno-js-client/gno-js-client'}, + items: [ + 'reference/gno-js-client/gno-js-provider', + 'reference/gno-js-client/gno-js-wallet', + ] + }, + { + type: 'category', + label: 'gnoclient', + link: {type: 'doc', id: 'reference/gnoclient/gnoclient'}, + items: [ + 'reference/gnoclient/signer', + 'reference/gnoclient/client' + ] + }, + ], + }, + ], + }; -module.exports = sidebars; + module.exports = sidebars; From 33dbdddb8c05e4558b21b34067d4750bc6a3fc9b Mon Sep 17 00:00:00 2001 From: leohhhn Date: Mon, 3 Jun 2024 10:00:35 +0200 Subject: [PATCH 3/3] fix --- docusaurus/sidebars.js | 350 ++++++++++++++++++++--------------------- 1 file changed, 175 insertions(+), 175 deletions(-) diff --git a/docusaurus/sidebars.js b/docusaurus/sidebars.js index 1fbd7c8..3c92ce8 100644 --- a/docusaurus/sidebars.js +++ b/docusaurus/sidebars.js @@ -1,177 +1,177 @@ - // @ts-check +// @ts-check - /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ - const sidebars = { - tutorialSidebar: [ - 'overview', - { - type: 'category', - label: 'Getting Started', - link: {type: 'doc', id: 'getting-started/getting-started'}, - items: [ - { - type: 'category', - label: 'Local Setup', - link: {type: 'doc', id: 'getting-started/local-setup/local-setup'}, - items: [ - 'getting-started/local-setup/installation', - 'getting-started/local-setup/working-with-key-pairs', - 'getting-started/local-setup/browsing-gnoland', - 'getting-started/local-setup/interacting-with-gnoland', - ] - }, - 'getting-started/playground-start', - ], - }, - { - type: 'category', - label: 'How-to Guides', - link: {type: 'doc', id: 'how-to-guides/how-to-guides'}, - items: [ - 'how-to-guides/simple-contract', - 'how-to-guides/simple-library', - 'how-to-guides/testing-gno', - 'how-to-guides/deploy', - 'how-to-guides/write-simple-dapp', - 'how-to-guides/creating-grc20', - 'how-to-guides/connect-from-go', - 'how-to-guides/connect-wallet-dapp', - ], - }, - { - type: 'category', - label: 'Concepts', - link: {type: 'doc', id: 'concepts/concepts'}, - items: [ - 'concepts/realms', - 'concepts/packages', - 'concepts/namespaces', - { - type: 'category', - label: 'Standard Libraries', - link: {type: 'doc', id: 'concepts/stdlibs/stdlibs'}, - items: [ - 'concepts/stdlibs/banker', - 'concepts/stdlibs/coin', - 'concepts/stdlibs/events', - 'concepts/stdlibs/gnopher-hole-stdlib', - ] - }, - 'concepts/gnovm', - 'concepts/gno-language', - 'concepts/testnets', - 'concepts/effective-gno', - 'concepts/proof-of-contribution', - 'concepts/tendermint2', - 'concepts/portal-loop', - 'concepts/gno-modules', - 'concepts/gno-test', - 'concepts/from-go-to-gno', - ], - }, - { - type: 'category', - label: 'Gno Tooling', - link: {type: 'doc', id: 'gno-tooling/gno-tooling'}, - items: [ - 'gno-tooling/cli/gno-tooling-gno', - 'gno-tooling/cli/gno-tooling-gnokey', - 'gno-tooling/cli/gno-tooling-gnodev', - 'gno-tooling/cli/gno-tooling-gnoland', - { - type: 'category', - label: 'gnofaucet', - link: {type: 'doc', id: 'gno-tooling/cli/faucet/gno-tooling-gnofaucet'}, - items: [ - 'gno-tooling/cli/faucet/running-a-faucet', - ] - }, - ] - }, - { - type: 'category', - label: 'Gno Infra', - link: {type: 'doc', id: 'gno-infrastructure/gno-infrastructure'}, - items: [ - 'gno-infrastructure/setting-up-a-local-chain', - 'gno-infrastructure/premining-balances', - ], - }, - { - type: 'category', - label: 'Reference', - link: {type: 'doc', id: 'reference/reference'}, - items: [ - 'reference/rpc-endpoints', - 'reference/network-config', - { - type: 'category', - label: 'Standard Libraries', - link: {type: 'doc', id: 'reference/stdlibs/stdlibs'}, - items: [ - { - type: 'category', - label: 'std', - items: [ - 'reference/stdlibs/std/address', - 'reference/stdlibs/std/banker', - 'reference/stdlibs/std/coin', - 'reference/stdlibs/std/coins', - 'reference/stdlibs/std/chain', - 'reference/stdlibs/std/testing', - ] - } - ] - }, - 'reference/go-gno-compatibility', - { - type: 'category', - label: 'tm2-js-client', - link: {type: 'doc', id: 'reference/tm2-js-client/tm2-js-client'}, - items: [ - 'reference/tm2-js-client/tm2-js-wallet', - { - type: 'category', - label: 'Provider', - items: [ - 'reference/tm2-js-client/Provider/tm2-js-provider', - 'reference/tm2-js-client/Provider/tm2-js-json-rpc-provider', - 'reference/tm2-js-client/Provider/tm2-js-ws-provider', - 'reference/tm2-js-client/Provider/tm2-js-utility', - ] - }, - { - type: 'category', - label: 'Signer', - items: [ - 'reference/tm2-js-client/Signer/tm2-js-signer', - 'reference/tm2-js-client/Signer/tm2-js-key', - 'reference/tm2-js-client/Signer/tm2-js-ledger', - ] - }, - ] - }, - { - type: 'category', - label: 'gno-js-client', - link: {type: 'doc', id: 'reference/gno-js-client/gno-js-client'}, - items: [ - 'reference/gno-js-client/gno-js-provider', - 'reference/gno-js-client/gno-js-wallet', - ] - }, - { - type: 'category', - label: 'gnoclient', - link: {type: 'doc', id: 'reference/gnoclient/gnoclient'}, - items: [ - 'reference/gnoclient/signer', - 'reference/gnoclient/client' - ] - }, - ], - }, - ], - }; +/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ +const sidebars = { + tutorialSidebar: [ + 'overview', + { + type: 'category', + label: 'Getting Started', + link: {type: 'doc', id: 'getting-started/getting-started'}, + items: [ + { + type: 'category', + label: 'Local Setup', + link: {type: 'doc', id: 'getting-started/local-setup/local-setup'}, + items: [ + 'getting-started/local-setup/installation', + 'getting-started/local-setup/working-with-key-pairs', + 'getting-started/local-setup/browsing-gnoland', + 'getting-started/local-setup/interacting-with-gnoland', + ] + }, + 'getting-started/playground-start', + ], + }, + { + type: 'category', + label: 'How-to Guides', + link: {type: 'doc', id: 'how-to-guides/how-to-guides'}, + items: [ + 'how-to-guides/simple-contract', + 'how-to-guides/simple-library', + 'how-to-guides/testing-gno', + 'how-to-guides/deploy', + 'how-to-guides/write-simple-dapp', + 'how-to-guides/creating-grc20', + 'how-to-guides/connect-from-go', + 'how-to-guides/connect-wallet-dapp', + ], + }, + { + type: 'category', + label: 'Concepts', + link: {type: 'doc', id: 'concepts/concepts'}, + items: [ + 'concepts/realms', + 'concepts/packages', + 'concepts/namespaces', + { + type: 'category', + label: 'Standard Libraries', + link: {type: 'doc', id: 'concepts/stdlibs/stdlibs'}, + items: [ + 'concepts/stdlibs/banker', + 'concepts/stdlibs/coin', + 'concepts/stdlibs/events', + 'concepts/stdlibs/gnopher-hole-stdlib', + ] + }, + 'concepts/gnovm', + 'concepts/gno-language', + 'concepts/testnets', + 'concepts/effective-gno', + 'concepts/proof-of-contribution', + 'concepts/tendermint2', + 'concepts/portal-loop', + 'concepts/gno-modules', + 'concepts/gno-test', + 'concepts/from-go-to-gno', + ], + }, + { + type: 'category', + label: 'Gno Tooling', + link: {type: 'doc', id: 'gno-tooling/gno-tooling'}, + items: [ + 'gno-tooling/cli/gno-tooling-gno', + 'gno-tooling/cli/gno-tooling-gnokey', + 'gno-tooling/cli/gno-tooling-gnodev', + 'gno-tooling/cli/gno-tooling-gnoland', + { + type: 'category', + label: 'gnofaucet', + link: {type: 'doc', id: 'gno-tooling/cli/faucet/gno-tooling-gnofaucet'}, + items: [ + 'gno-tooling/cli/faucet/running-a-faucet', + ] + }, + ] + }, + { + type: 'category', + label: 'Gno Infrastructure', + link: {type: 'doc', id: 'gno-infrastructure/gno-infrastructure'}, + items: [ + 'gno-infrastructure/setting-up-a-local-chain', + 'gno-infrastructure/premining-balances', + ], + }, + { + type: 'category', + label: 'Reference', + link: {type: 'doc', id: 'reference/reference'}, + items: [ + 'reference/rpc-endpoints', + 'reference/network-config', + { + type: 'category', + label: 'Standard Libraries', + link: {type: 'doc', id: 'reference/stdlibs/stdlibs'}, + items: [ + { + type: 'category', + label: 'std', + items: [ + 'reference/stdlibs/std/address', + 'reference/stdlibs/std/banker', + 'reference/stdlibs/std/coin', + 'reference/stdlibs/std/coins', + 'reference/stdlibs/std/chain', + 'reference/stdlibs/std/testing', + ] + } + ] + }, + 'reference/go-gno-compatibility', + { + type: 'category', + label: 'tm2-js-client', + link: {type: 'doc', id: 'reference/tm2-js-client/tm2-js-client'}, + items: [ + 'reference/tm2-js-client/tm2-js-wallet', + { + type: 'category', + label: 'Provider', + items: [ + 'reference/tm2-js-client/Provider/tm2-js-provider', + 'reference/tm2-js-client/Provider/tm2-js-json-rpc-provider', + 'reference/tm2-js-client/Provider/tm2-js-ws-provider', + 'reference/tm2-js-client/Provider/tm2-js-utility', + ] + }, + { + type: 'category', + label: 'Signer', + items: [ + 'reference/tm2-js-client/Signer/tm2-js-signer', + 'reference/tm2-js-client/Signer/tm2-js-key', + 'reference/tm2-js-client/Signer/tm2-js-ledger', + ] + }, + ] + }, + { + type: 'category', + label: 'gno-js-client', + link: {type: 'doc', id: 'reference/gno-js-client/gno-js-client'}, + items: [ + 'reference/gno-js-client/gno-js-provider', + 'reference/gno-js-client/gno-js-wallet', + ] + }, + { + type: 'category', + label: 'gnoclient', + link: {type: 'doc', id: 'reference/gnoclient/gnoclient'}, + items: [ + 'reference/gnoclient/signer', + 'reference/gnoclient/client' + ] + }, + ], + }, + ], +}; - module.exports = sidebars; +module.exports = sidebars;