Skip to content

Commit

Permalink
open navbar in same window
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 10, 2022
1 parent 857ef53 commit 82d28fc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
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

0 comments on commit 82d28fc

Please sign in to comment.