Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Update tutorials #89

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 73 additions & 3 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,79 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
learnSidebar: [{ type: "autogenerated", dirName: "learn" }],
buildSidebar: [{ type: "autogenerated", dirName: "build" }],
userSidebar: [{ type: "autogenerated", dirName: "user" }],
learnSidebar: [{ type: "autogenerated", dirName: "learn" },
{
type: "category",
label: "Tutorials",
collapsed: false,
items: [
{
type: "link",
label: "Run a Node, API, and CLI",
href: "https://tutorials.cosmos.network/tutorials/3-run-node/",
},
{
type: "link",
label: "Run a Cosmos Chain with Ignite CLI",
href: "https://tutorials.cosmos.network/hands-on-exercise/1-ignite-cli/",
Copy link
Member

@julienrbrt julienrbrt Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it makes sense to include this because it points to ignite v0.22 which is severely outdated.
With Ignite v28 with v0.50 support, I don't think we should link to outdated content but instead Ignite documentation directly that is already updated.

https://docs.ignite.com/nightly/guide for now and then should be updated once Ignite is tagged (should be soon afaik).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, this is true. I will wait then and just include my changes for the tutorials

},
{
type: "link",
label: "Understanding Modules",
href: "https://tutorials.cosmos.network/tutorials/8-understand-sdk-modules/",
},
],
}
],
buildSidebar: [{ type: "autogenerated", dirName: "build" },
{
type: "category",
label: "Tutorials",
collapsed: false,
items: [
{
type: "link",
label: "Run a Node, API, and CLI",
href: "https://tutorials.cosmos.network/tutorials/3-run-node/",
},
{
type: "link",
label: "Run a Cosmos Chain with Ignite CLI",
href: "https://tutorials.cosmos.network/hands-on-exercise/1-ignite-cli/",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

},
{
type: "link",
label: "Understanding Modules",
href: "https://tutorials.cosmos.network/tutorials/8-understand-sdk-modules/",
},
],
}
],
userSidebar: [
{ type: "autogenerated", dirName: "user" },
{
type: "category",
label: "Tutorials",
collapsed: false,
items: [
{
type: "link",
label: "Run a Node, API, and CLI",
href: "https://tutorials.cosmos.network/tutorials/3-run-node/",
},
{
type: "link",
label: "Run a Cosmos Chain with Ignite CLI",
href: "https://tutorials.cosmos.network/hands-on-exercise/1-ignite-cli/",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

},
{
type: "link",
label: "Understanding Modules",
href: "https://tutorials.cosmos.network/tutorials/8-understand-sdk-modules/",
},
],
}
]
};

module.exports = sidebars;