From 9da5363977207f6b825384b1ba3eea5ea78cde0d Mon Sep 17 00:00:00 2001 From: Serhii Shymkiv Date: Mon, 3 Jun 2024 21:54:09 +0300 Subject: [PATCH] Update side menu sections to be links. --- sidebars.js | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) diff --git a/sidebars.js b/sidebars.js index d251fcbeb..dddcc0673 100644 --- a/sidebars.js +++ b/sidebars.js @@ -4,6 +4,10 @@ module.exports = { { type: 'category', label: 'About Mina', + link: { + type: 'doc', + id: 'about-mina/index', + }, items: [ 'about-mina/index', 'about-mina/what-are-zero-knowledge-proofs', @@ -21,6 +25,10 @@ module.exports = { { type: 'category', label: 'Using Mina', + link: { + type: 'doc', + id: 'using-mina/install-a-wallet', + }, items: [ 'using-mina/install-a-wallet', 'using-mina/ledger-hardware-wallet', @@ -32,10 +40,18 @@ module.exports = { { type: 'category', label: 'zkApp Developers', + link: { + type: 'doc', + id: 'zkapps/o1js/index', + }, items: [ { type: 'category', label: 'o1js', + link: { + type: 'doc', + id: 'zkapps/o1js/index', + }, items: [ 'zkapps/o1js/index', 'zkapps/o1js/basic-concepts', @@ -52,11 +68,19 @@ module.exports = { { type: 'category', label: 'zkApps', + link: { + type: 'doc', + id: 'zkapps/writing-a-zkapp/index', + }, items: [ 'zkapps/writing-a-zkapp/index', { type: 'category', label: 'Introduction to zkApps', + link: { + type: 'doc', + id: 'zkapps/writing-a-zkapp/introduction-to-zkapps/how-zkapps-work', + }, items: [ 'zkapps/writing-a-zkapp/introduction-to-zkapps/how-zkapps-work', 'zkapps/writing-a-zkapp/introduction-to-zkapps/install-zkapp-cli', @@ -74,6 +98,10 @@ module.exports = { { type: 'category', label: 'Feature Overview', + link: { + type: 'doc', + id: 'zkapps/writing-a-zkapp/feature-overview/on-chain-values', + }, items: [ 'zkapps/writing-a-zkapp/feature-overview/on-chain-values', 'zkapps/writing-a-zkapp/feature-overview/offchain-storage', @@ -90,6 +118,10 @@ module.exports = { { type: 'category', label: 'Advanced', + link: { + type: 'doc', + id: 'zkapps/advanced/experimental', + }, items: [ 'zkapps/advanced/experimental', 'zkapps/advanced/zkapps-for-ethereum-developers', @@ -98,6 +130,10 @@ module.exports = { { type: 'category', label: 'Tutorials', + link: { + type: 'doc', + id: 'zkapps/tutorials/index', + }, items: [ 'zkapps/tutorials/index', 'zkapps/tutorials/hello-world', @@ -116,6 +152,10 @@ module.exports = { { type: 'category', label: 'o1js Reference', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/README', + }, items: [ { type: 'doc', @@ -125,6 +165,10 @@ module.exports = { { type: 'category', label: 'Classes', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/classes/AccountUpdate', + }, items: [ { type: 'doc', @@ -351,6 +395,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/functions/Bytes', + }, items: [ { type: 'doc', @@ -582,6 +630,10 @@ module.exports = { { type: 'category', label: 'Interfaces', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/interfaces/Permissions', + }, items: [ { type: 'doc', @@ -593,10 +645,18 @@ module.exports = { { type: 'category', label: 'Namespaces', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Crypto/README', + }, items: [ { type: 'category', label: 'Crypto', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Crypto/README', + }, items: [ { type: 'doc', @@ -606,6 +666,10 @@ module.exports = { { type: 'category', label: 'Type-Aliases', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Crypto/type-aliases/Curve', + }, items: [ { type: 'doc', @@ -624,6 +688,10 @@ module.exports = { { type: 'category', label: 'Encryption', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Encryption/README', + }, items: [ { type: 'doc', @@ -633,6 +701,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Encryption/functions/decrypt', + }, items: [ { type: 'doc', @@ -651,6 +723,10 @@ module.exports = { { type: 'category', label: 'Experimental', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Experimental/README', + }, items: [ { type: 'doc', @@ -660,6 +736,10 @@ module.exports = { { type: 'category', label: 'Classes', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Experimental/classes/OffchainStateCommitments', + }, items: [ { type: 'doc', @@ -671,6 +751,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Experimental/functions/OffchainState', + }, items: [ { type: 'doc', @@ -689,6 +773,10 @@ module.exports = { { type: 'category', label: 'Lightnet', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Lightnet/README', + }, items: [ { type: 'doc', @@ -698,6 +786,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Lightnet/functions/acquireKeyPair', + }, items: [ { type: 'doc', @@ -721,6 +813,10 @@ module.exports = { { type: 'category', label: 'Mina', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/README', + }, items: [ { type: 'doc', @@ -730,6 +826,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/functions/LocalBlockchain', + }, items: [ { type: 'doc', @@ -841,10 +941,18 @@ module.exports = { { type: 'category', label: 'Namespaces', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/namespaces/TestPublicKey/README', + }, items: [ { type: 'category', label: 'TestPublicKey', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/namespaces/TestPublicKey/README', + }, items: [ { type: 'doc', @@ -854,6 +962,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/namespaces/TestPublicKey/functions/random', + }, items: [ { type: 'doc', @@ -867,6 +979,10 @@ module.exports = { { type: 'category', label: 'Transaction', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/namespaces/Transaction/README', + }, items: [ { type: 'doc', @@ -876,6 +992,10 @@ module.exports = { { type: 'category', label: 'Functions', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/namespaces/Transaction/functions/fromJSON', + }, items: [ { type: 'doc', @@ -891,6 +1011,10 @@ module.exports = { { type: 'category', label: 'Type-Aliases', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/type-aliases/ActionStates', + }, items: [ { type: 'doc', @@ -947,6 +1071,10 @@ module.exports = { { type: 'category', label: 'Variables', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/namespaces/Mina/variables/activeInstance', + }, items: [ { type: 'doc', @@ -962,6 +1090,10 @@ module.exports = { { type: 'category', label: 'Type-Aliases', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/type-aliases/Account', + }, items: [ { type: 'doc', @@ -1143,6 +1275,10 @@ module.exports = { { type: 'category', label: 'Variables', + link: { + type: 'doc', + id: 'zkapps/o1js-reference/variables/Account', + }, items: [ { type: 'doc', @@ -1413,6 +1549,10 @@ module.exports = { { type: 'category', label: 'Participate', + link: { + type: 'doc', + id: 'participate/online-communities', + }, items: [ 'participate/online-communities', 'participate/office-hours',