Skip to content

Commit

Permalink
Contribution Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Yeung authored and Ryan Yeung committed Jul 5, 2022
1 parent b43bfeb commit b1dd565
Show file tree
Hide file tree
Showing 9 changed files with 84 additions and 26 deletions.
3 changes: 0 additions & 3 deletions community/contribute.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---

id: contribute
<!---
addition of ID
-->
title: Contribute!
sidebar_position: 2
description: How to contribute to the Subspace Docs
Expand Down
1 change: 1 addition & 0 deletions community/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
id: Awesome
title: Awesome Subspace
sidebar_position: 1
description: Awesome Community List for Subspace Labs and Network
Expand Down
24 changes: 18 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const config = {
plugins: [
[
'@docusaurus/plugin-content-docs',
{
{ //COMMUNITY PLUGIN
id: 'community',
path: 'community',
routeBasePath: 'community',
Expand Down Expand Up @@ -149,10 +149,22 @@ const config = {
],
},
{
to: 'community/',
position: 'left',
type: 'dropdown',
label: 'Community',
},
position: 'left',
items: [
{ //Implementation of Contribution Guide
type: 'doc',
docId: 'contribute',
label: 'Contribution Guide',
docsPluginId: 'community',
},
{
to: 'community/',
label: 'Community Resources',
},
],
},
{
type: 'docsVersionDropdown',
label: 'Core Versions',
Expand Down Expand Up @@ -180,7 +192,7 @@ const config = {
},
],
},
footer: {
footer: {
links: [
{
title: 'Subspace Network',
Expand Down Expand Up @@ -257,7 +269,7 @@ const config = {
href: 'https://subspace.network',
},
copyright: `Copyright © ${new Date().getFullYear()} Subspace Labs, Inc.`,
},
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.21",
"@docusaurus/plugin-content-docs": "^2.0.0-beta.21",
"@docusaurus/plugin-google-gtag": "^2.0.0-beta.21",
"@docusaurus/plugin-sitemap": "^2.0.0-beta.21",
"@docusaurus/preset-classic": "^2.0.0-beta.21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,20 @@
]
},
{
"type": "link",
"label": "Community Resources",
"href": "../../community/"
"type": "category",
"label": "Community",
"items": [
{
"type": "link",
"label": "Contribution Guide",
"href": "../../community/contribute"
},
{
"type": "link",
"label": "Community Resources",
"href": "../../community/"
}
]
}
]
}
]
}
23 changes: 18 additions & 5 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,25 @@ const sidebars = {
},
],
},
{
type: 'link',
label: 'Community Resources',
href: '../../community/',
},
{
type: 'category',
label: 'Community',
items: [
{ //Implementation of Contribution Guide
type: 'link',
label: 'Contribution Guide',
href: '../../community/contribute',
},
{
type: 'link',
label: 'Community Resources',
href: '../../community/',
},
],
},
],
};



module.exports = sidebars;
17 changes: 14 additions & 3 deletions subspace-desktop_versioned_sidebars/version-v0.6.9-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,20 @@
]
},
{
"type": "link",
"label": "Community Resources",
"href": "../../community/"
"type": "category",
"label": "Community",
"items": [
{
"type": "link",
"label": "Contribution Guide",
"href": "../../community/contribute"
},
{
"type": "link",
"label": "Community Resources",
"href": "../../community/"
}
]
}
]
}
18 changes: 15 additions & 3 deletions subspacejs_versioned_sidebars/version-v0.2.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,21 @@
]
},
{
"type": "link",
"label": "Community Resources",
"href": "../../community/"

"type": "category",
"label": "Community",
"items": [
{
"type": "link",
"label": "Contribution Guide",
"href": "../../community/contribute"
},
{
"type": "link",
"label": "Community Resources",
"href": "../../community/"
}
]
}
]
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@
utility-types "^3.10.0"
webpack "^5.72.1"

"@docusaurus/[email protected]":
"@docusaurus/[email protected]", "@docusaurus/plugin-content-docs@^2.0.0-beta.21":
version "2.0.0-beta.21"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-beta.21.tgz#b3171fa9aed99e367b6eb7111187bd0e3dcf2949"
integrity sha512-aa4vrzJy4xRy81wNskyhE3wzRf3AgcESZ1nfKh8xgHUkT7fDTZ1UWlg50Jb3LBCQFFyQG2XQB9N6llskI/KUnw==
Expand Down

0 comments on commit b1dd565

Please sign in to comment.