Skip to content

Commit

Permalink
Fix sidebar config
Browse files Browse the repository at this point in the history
  • Loading branch information
jlvandenhout committed Jan 24, 2024
1 parent 27957fb commit fcd2d37
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 182 deletions.
4 changes: 2 additions & 2 deletions docs/build/getting-started/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ module.exports = {
{
type: 'link',
label: 'WASP CLI',
href: '/isc/how-tos/manage-chains/wasp-cli',
href: '/wasp/manage-chains/wasp-cli',
},
{
label: 'Schema Tool',
type: 'link',
href: '/isc/how-tos/wasm/introduction',
href: '/schema/introduction',
},
{
label: 'Explorer',
Expand Down
154 changes: 1 addition & 153 deletions docs/build/isc/v1.0.0-rc.6/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
//tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],

// But you can create a sidebar manually
EVMSidebar: [
ISCSidebar: [
{
type: 'doc',
label: 'Introduction',
Expand Down Expand Up @@ -168,158 +168,6 @@ module.exports = {
},
],
},
{
type: 'category',
label: 'Test Smart Contracts with Solo',
items: [
{
type: 'doc',
label: 'What is Solo?',
id: 'how-tos/solo/what-is-solo',
},
{
type: 'doc',
label: 'First Example',
id: 'how-tos/solo/first-example',
},
{
type: 'doc',
label: 'The L1 Ledger',
id: 'how-tos/solo/the-l1-ledger',
},
{
type: 'doc',
label: 'Deploy a Smart Contract',
id: 'how-tos/solo/deploying-sc',
},
{
type: 'doc',
label: 'Invoke a Smart Contract',
id: 'how-tos/solo/invoking-sc',
},
{
type: 'doc',
label: 'Call a View',
id: 'how-tos/solo/view-sc',
},
{
type: 'doc',
label: 'Error Handling',
id: 'how-tos/solo/error-handling',
},
{
type: 'doc',
label: 'Accounts',
id: 'how-tos/solo/the-l2-ledger',
},
{
type: 'doc',
label: 'Test Smart Contracts',
id: 'how-tos/solo/test',
},
{
type: 'doc',
label: 'Example Tests',
id: 'how-tos/solo/examples',
},
{
type: 'doc',
label: 'Colored Tokens and Time Locks',
id: 'how-tos/solo/timelock',
},
],
},
{
type: 'category',
label: 'Wasm VM (experimental)',
items: [
{
type: 'doc',
label: 'The Schema Tool',
id: 'how-tos/wasm/introduction',
},
{
type: 'doc',
label: 'Create a Schema',
id: 'how-tos/wasm/usage',
},
{
type: 'doc',
label: 'Define the State',
id: 'how-tos/wasm/state',
},
{
type: 'doc',
label: 'Use Structured Data Types',
id: 'how-tos/wasm/structs',
},
{
type: 'doc',
label: 'Generate Type Definitions',
id: 'how-tos/wasm/typedefs',
},
{
type: 'doc',
label: 'Trigger Events',
id: 'how-tos/wasm/events',
},
{
type: 'doc',
label: 'Define Functions',
id: 'how-tos/wasm/funcs',
},
{
type: 'doc',
label: 'Limit Access',
id: 'how-tos/wasm/access',
},
{
type: 'doc',
label: 'Define Function Parameters',
id: 'how-tos/wasm/params',
},
{
type: 'doc',
label: 'Define Function Results',
id: 'how-tos/wasm/results',
},
{
type: 'doc',
label: 'Use Thunk Functions',
id: 'how-tos/wasm/thunks',
},
{
type: 'doc',
label: 'Use View-Only Functions',
id: 'how-tos/wasm/views',
},
{
type: 'doc',
label: 'Initialize a Smart Contract',
id: 'how-tos/wasm/init',
},
{
type: 'doc',
label: 'Transfer Tokens',
id: 'how-tos/wasm/transfers',
},
{
type: 'doc',
label: 'Add Function Descriptors',
id: 'how-tos/wasm/funcdesc',
},
{
type: 'doc',
label: 'Call Functions',
id: 'how-tos/wasm/call',
},
{
type: 'doc',
label: 'Post Asynchronous Requests',
id: 'how-tos/wasm/post',
},
],
},
],
},
{
Expand Down
54 changes: 27 additions & 27 deletions versionedConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exports.buildPluginsConfig = [
},
{
id: 'isc',
label: 'ISC',
label: 'Smart contracts',
description: 'Create smart contracts.',
icon: 'SmartContracts',
subsection: 'build-layer-2',
Expand All @@ -34,32 +34,32 @@ exports.buildPluginsConfig = [
},
],
},
// {
// id: 'wasp-evm',
// label: 'EVM',
// description: 'Create EVM smart contracts.',
// icon: 'SmartContracts',
// subsection: 'build-layer-2',
// versions: [
// {
// label: 'v1.0.0-rc.6',
// badges: ['Shimmer'],
// },
// ],
// },
// {
// id: 'wasp-cli',
// label: 'Wasp CLI',
// description: 'Create custom smart contract chains.',
// icon: 'SmartContracts',
// subsection: 'build-layer-2',
// versions: [
// {
// label: 'v1.0.0-rc.6',
// badges: ['Shimmer'],
// },
// ],
// },
{
id: 'solo',
label: 'Solo',
description: 'Test ISC smart contracts.',
icon: 'SmartContracts',
subsection: 'build-layer-2',
versions: [
{
label: 'v1.0.0-rc.6',
badges: ['Shimmer'],
},
],
},
{
id: 'schema',
label: 'Schema tool',
description: 'Generate WASM smart contracts.',
icon: 'SmartContracts',
subsection: 'build-layer-2',
versions: [
{
label: 'v1.0.0-rc.6',
badges: ['Shimmer'],
},
],
},
// {
// id: 'wasp-wasm',
// label: 'WASM (Experimental)',
Expand Down

0 comments on commit fcd2d37

Please sign in to comment.