Skip to content

Commit

Permalink
sidebar experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Mar 12, 2024
1 parent 8802de4 commit 5887362
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 34 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
69 changes: 35 additions & 34 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,52 @@ 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',
'tutorials/suave-standard-library',
'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',
Expand All @@ -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',
// },
],
};

0 comments on commit 5887362

Please sign in to comment.