Skip to content

Commit

Permalink
Merge pull request #3 from 0xSpaceShard/feat/user-spaces
Browse files Browse the repository at this point in the history
Feat/user spaces
  • Loading branch information
Ioan Alexandru Oara authored Feb 8, 2024
2 parents bc869ea + 8b7c2e1 commit af93f6f
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 56 deletions.
5 changes: 0 additions & 5 deletions docs/contracts/_category_.json

This file was deleted.

5 changes: 5 additions & 0 deletions docs/contracts/architecture/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Architecture",
"position": 1,
"collapsed": false
}
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/sdk/_category_.json → docs/sdks/sdk/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "SDK",
"position": 2,
"position": 1,
"collapsed": false
}
2 changes: 1 addition & 1 deletion docs/sdk/overview.md → docs/sdks/sdk/overview.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: overview
title: Overview
sidebar_position: 2
sidebar_position: 1
---

# Nimbora SDK
5 changes: 5 additions & 0 deletions docs/strategies/overview/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Overview",
"position": 1,
"collapsed": false
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "Strategies",
"position": 3,
"position": 2,
"collapsed": false
}
20 changes: 10 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ const config = {
},
items: [
{
type: 'doc',
docId: 'contracts/overview',
to: 'docs/contracts/architecture/overview',
position: 'left',
label: 'Contracts',
className: 'V3_active'
},
{
type: 'doc',
docId: 'sdk/overview',
to: 'docs/sdks/sdk/overview',
position: 'left',
label: 'SDK',
className: 'V3_active'
},
{
type: 'doc',
docId: 'strategies/overview',
to: 'docs/strategies/overview',
position: 'left',
label: 'Strategies',
className: 'V3_active'
},
{
href: 'https://github.com/0xSpaceShard/nimbora_yields_l2',
Expand All @@ -99,17 +99,17 @@ const config = {
title: 'Docs',
items: [
{
to: 'docs/contracts/architecture/overview',
label: 'Contracts',
to: '/docs/contracts/overview',
},
{
to: 'docs/sdks/sdk/overview',
label: 'SDK',
to: '/docs/sdk/overview',
},
{
to: 'docs/strategies/overview',
label: 'Strategies',
to: '/docs/strategies/overview',
}
},
],
},
{
Expand Down
34 changes: 3 additions & 31 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,9 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
sidebar: [{type: 'autogenerated', dirName: '.'}],

// But you can create a sidebar manually

// sidebar: [
// {
// type: 'category',
// label: 'Contracts',
// items: [
// 'contracts/overview',
// 'contracts/guides/l1-contracts',
// 'contracts/guides/l2-contracts',
// 'contracts/reference/l1-contracts',
// 'contracts/reference/l2-contracts',
// ]
// },
// {
// type: 'category',
// label: 'SDK',
// items: [
// 'sdk/overview',

// ]
// },
// {
// type: 'category',
// label: 'UX',
// items: ['ux/overview']
// },
// ],

contractsSidebar: [{type: 'autogenerated', dirName: 'contracts'}],
sdkSidebar: [{type: 'autogenerated', dirName: 'sdks'}],
strategiesSidebar: [{type: 'autogenerated', dirName: 'strategies'}],
};

export default sidebars;
14 changes: 7 additions & 7 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ import { ArrowUpRight as LinkIcon, BookOpen, HelpCircle, Info, MessageCircle } f

export const actions = [
{
title: 'Get Started',
title: 'Nimbora Smart Contracts',
icon: Info,
to: '/docs/contracts/overview',
text: 'Learn how to start using Nimbora',
to: '/docs/contracts/architecture/overview',
text: 'Learn how to start using Nimbora smart contracts',
},
{
title: 'Integrate with Nimbora',
icon: BookOpen,
to: '/docs/sdk/overview',
to: '/docs/sdks/sdk/overview',
text: 'Learn how to integrate Nimbora with your application',
},
{
title: 'Nimbora Smart Contracts',
title: 'What is Nimbora',
icon: HelpCircle,
to: '/docs/contracts/overview',
text: 'Learn about Nimbora smart contracts',
to: '/docs/strategies/overview',
text: 'Learn about Nimbora and how to interact with it L1 and L2 strategies',
}
]

Expand Down

0 comments on commit af93f6f

Please sign in to comment.