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

feat: migrate to docusaurus #13471

Merged
merged 25 commits into from
Oct 10, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
open navbar in same window
  • Loading branch information
julienrbrt committed Oct 10, 2022
commit 82d28fc3b447bdd43d86ebb114d40ab31e4cee9d
13 changes: 11 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const config = {
alt: "Cosmos SDK Logo",
src: "img/logo-sdk.svg",
href: "https://docs.cosmos.network",
target: "_self",
},
items: [
{
Expand All @@ -93,8 +94,16 @@ const config = {
dropdownActiveClassDisabled: true,
// versions not yet migrated to docusaurus
dropdownItemsAfter: [
{ to: "https://docs.cosmos.network/v0.46/", label: "v0.46" },
{ to: "https://docs.cosmos.network/v0.45/", label: "v0.45" },
{
href: "https://docs.cosmos.network/v0.46/",
label: "v0.46",
target: "_self",
},
{
href: "https://docs.cosmos.network/v0.45/",
label: "v0.45",
target: "_self",
},
],
},
],
Expand Down
4 changes: 4 additions & 0 deletions docs/src/css/base.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
Copied from https://github.com/ignite/cli/blob/develop/docs/src/css/base.css
*/

@layer base {
html {
@apply font-inter;
Expand Down
4 changes: 4 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
Slighlty modified version of https://github.com/ignite/cli/blob/develop/docs/src/css/custom.css
*/

@import "tailwindcss/base";
@import "./fonts.css";
@import "./base.css";
Expand Down
4 changes: 3 additions & 1 deletion docs/src/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

*/


/*
Copied from https://github.com/ignite/cli/blob/develop/docs/src/css/fonts.css
*/

/* Inter */
@font-face {
Expand Down