Skip to content

Commit

Permalink
feat: reorganize learn sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
a-bahdanau committed Oct 3, 2024
1 parent 9a9b0f5 commit 1625df6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 52 deletions.
1 change: 1 addition & 0 deletions sidebars/develop.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ module.exports = [
type: 'category',
label: 'Network Protocols',
items: [
'learn/networking/low-level-adnl', // TODO: MERGE ADNL
'develop/network/adnl-tcp',
'develop/network/adnl-udp',
'develop/network/dht',
Expand Down
79 changes: 27 additions & 52 deletions sidebars/learn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,53 @@
* @type {import('@docusaurus/plugin-content-docs').SidebarConfig}
*/
module.exports = [
'learn/introduction',
'learn/introduction', // TODO: Change to
'learn/glossary',
{
'type': 'html',
'value': '<hr/>',
},
{
'type': 'html',
'value': '<span class=\'menu__link\'><b><small> Introduction </small></b></span>',
'value': '<span class=\'menu__link\'><b><small> Dive into TON </small></b></span>',
},
'learn/introduction',
{
type: 'category',
label: 'What is Blockchain?',
label: 'TON Blockchain',
items: [
'learn/overviews/ton-blockchain',
'learn/overviews/addresses',
'learn/overviews/cells',
{
type: 'category',
label: 'TON Blockchain',
label: 'TON Networking',
items: [
'learn/overviews/ton-blockchain',
'learn/overviews/addresses',
'learn/overviews/cells',
{
type: 'category',
label: 'TON Networking',
items: [
{
type: 'doc',
label: 'Overview',
id: 'learn/networking/overview',
},
{
type: 'category',
label: 'ADNL Protocol',
items: [
{
type: 'doc',
label: 'Overview',
id: 'learn/networking/adnl',
},
'learn/networking/low-level-adnl',
],
},
'learn/networking/overlay-subnetworks',
'learn/networking/rldp',
'learn/networking/ton-dht',
],
type: 'doc',
label: 'Overview',
id: 'learn/networking/overview',
},
'learn/overviews/blockchain-comparison',
{
type: 'link',
label: 'Open-Source and Decentralization in TON',
href: 'https://defi.org/ton/',
type: 'doc',
label: 'ADNL Protocol',
id: 'learn/networking/adnl',
},
'learn/networking/overlay-subnetworks',
'learn/networking/rldp',
'learn/networking/ton-dht',

],
},
]
'develop/blockchain/shards',
'develop/blockchain/sharding-lifecycle',
'learn/overviews/blockchain-comparison',
{
type: 'link',
label: 'Open-Source and Decentralization in TON',
href: 'https://defi.org/ton/',
},
],
},
{
type: 'category',
Expand All @@ -69,21 +60,5 @@ module.exports = [
'develop/ethereum-to-ton/blockchain-services',
]
},
{
'type': 'html',
'value': '<hr/>',
},
{
'type': 'html',
'value': '<span class=\'menu__link\'><b><small> Dive into TON </small></b></span>',
},
{
type: 'category',
label: 'Blockchain Fundamentals',
items: [
'develop/blockchain/shards',
'develop/blockchain/sharding-lifecycle',
],
},
'learn/academy/academy-overview',
];

0 comments on commit 1625df6

Please sign in to comment.