From 5887362a20cf09ea6479d65fd7df3a487aa05a14 Mon Sep 17 00:00:00 2001 From: Chris Hager Date: Tue, 12 Mar 2024 12:22:17 +0100 Subject: [PATCH] sidebar experiments --- Makefile | 3 +++ docs/sidebars.js | 69 ++++++++++++++++++++++++------------------------ 2 files changed, 38 insertions(+), 34 deletions(-) diff --git a/Makefile b/Makefile index dab30842..2dd70326 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,6 @@ docker-start: docker-build: docker run -p 3000:3000 --name suave-docs --rm -it -w /mnt -v $(CUR_DIR):/mnt node:20 /usr/local/bin/npm run build + +docker-shell: + docker run -p 3000:3000 --name suave-docs --rm -it -w /mnt -v $(CUR_DIR):/mnt node:20 /bin/bash diff --git a/docs/sidebars.js b/docs/sidebars.js index 426a81c4..77beed12 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -4,18 +4,36 @@ module.exports = { type: 'category', label: 'πŸ‘‹ Welcome', collapsed: false, - link: {type: 'doc', id: 'index'}, + link: { type: 'doc', id: 'index' }, items: [ 'what-is-suave', 'what-to-build', - 'technical/specs/rigil/glossary', + { + type: 'link', + label: 'Forum', + href: 'https://collective.flashbots.net/c/suave/27', + }, ], }, { type: 'category', - label: 'πŸ—ΊοΈ Tutorials', + label: 'πŸ—ΊοΈ Concepts', + collapsed: false, + link: { type: 'doc', id: 'concepts/index' }, + items: [ + 'technical/specs/rigil/mevm', + 'technical/specs/rigil/precompiles', + 'technical/specs/rigil/confidential-data-store', + 'concepts/confidential-computation', + 'concepts/block-building', + 'concepts/mev-supplychain-interface', + ] + }, + { + type: 'category', + label: 'πŸ“š Tutorials', collapsed: false, - link: {type: 'doc', id: 'tutorials/index'}, + link: { type: 'doc', id: 'tutorials/index' }, items: [ 'tutorials/run-suave', 'tutorials/deploy-contracts', @@ -23,26 +41,15 @@ module.exports = { 'tutorials/build-suapps', 'tutorials/confidential-compute-requests', 'tutorials/create-precompiles', + 'concepts/confidential-data-storage', ] }, { type: 'category', - label: 'πŸ› οΈ Resources', + label: 'πŸ› οΈ Tools', collapsed: false, - link: {type: 'doc', id: 'resources/index'}, + link: { type: 'doc', id: 'resources/index' }, items: [ - { - type: 'category', - label: 'How SUAVE Extends Solidity', - collapsed: true, - link: {type: 'doc', id: 'concepts/index'}, - items: [ - 'concepts/block-building', - 'concepts/confidential-computation', - 'concepts/confidential-data-storage', - 'concepts/mev-supplychain-interface' - ], - }, 'resources/rigil', 'resources/forge', 'resources/golang-sdk', @@ -51,27 +58,21 @@ module.exports = { }, { type: 'category', - label: 'πŸ€– Technical Specs', - collapsed: false, - link: {type: 'doc', id: 'technical/README'}, + label: 'πŸ”¬ Advanced', + collapsed: true, + link: { type: 'doc', id: 'technical/README' }, items: [ 'technical/specs/rigil/README', 'technical/specs/rigil/kettle', - 'technical/specs/rigil/mevm', - 'technical/specs/rigil/precompiles', - 'technical/specs/rigil/confidential-data-store', 'technical/specs/rigil/suave-chain', + 'technical/specs/rigil/glossary', ], }, - { - type: 'link', - label: 'Forum', - href: 'https://collective.flashbots.net/c/suave/27', - }, - { - type: 'link', - href: 'https://github.com/orgs/flashbots/repositories?q=suave', - label: 'GitHub', - }, + + // { + // type: 'link', + // href: 'https://github.com/orgs/flashbots/repositories?q=suave', + // label: 'GitHub', + // }, ], };