From c0d0c28a4de9c90e3e1e3b1ffa953b3df1ebff75 Mon Sep 17 00:00:00 2001 From: MSalopek Date: Tue, 5 Dec 2023 12:17:18 +0100 Subject: [PATCH] docs: fix warnings; fix errs; use min-h-screen for content --- .../{adr-004-denom-dos-fixes => adr-004-denom-dos-fixes.md} | 0 docs/docs/adrs/intro.md | 2 +- docs/docusaurus.config.js | 2 +- docs/src/css/custom.css | 5 ++++- 4 files changed, 6 insertions(+), 3 deletions(-) rename docs/docs/adrs/{adr-004-denom-dos-fixes => adr-004-denom-dos-fixes.md} (100%) diff --git a/docs/docs/adrs/adr-004-denom-dos-fixes b/docs/docs/adrs/adr-004-denom-dos-fixes.md similarity index 100% rename from docs/docs/adrs/adr-004-denom-dos-fixes rename to docs/docs/adrs/adr-004-denom-dos-fixes.md diff --git a/docs/docs/adrs/intro.md b/docs/docs/adrs/intro.md index 5ab86c2a93..add2190e94 100644 --- a/docs/docs/adrs/intro.md +++ b/docs/docs/adrs/intro.md @@ -35,7 +35,7 @@ To suggest an ADR, please make use of the [ADR template](./adr-template.md) prov | [001](./adr-001-key-assignment.md) | Consumer chain key assignment | Accepted, Implemented | | [002](./adr-002-throttle.md) | Jail Throttling | Accepted, Implemented | | [003](./adr-003-equivocation-gov-proposal.md) | Equivocation governance proposal | Accepted, Implemented | -| [004](./adr-004-denom-dos-fixes) | Denom DOS fixes | Accepted, Implemented | +| [004](./adr-004-denom-dos-fixes.md) | Denom DOS fixes | Accepted, Implemented | | [005](./adr-005-cryptographic-equivocation-verification.md) | Cryptographic verification of equivocation evidence | Accepted, In-progress | | [007](./adr-007-pause-unbonding-on-eqv-prop.md) | Pause validator unbonding during equivocation proposal | Proposed | | [008](./adr-008-throttle-retries.md) | Throttle with retries | Accepted, In-progress | diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index f64da596fa..e9c2b1e75c 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -211,7 +211,7 @@ const config = { toExtensions: ["html"], redirects: [ { - from: ["/", "/main", "/master"], + from: ["/main", "/master"], to: "/", }, ], diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index be62c38a6b..1ae22d5ec1 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -79,7 +79,6 @@ html { @apply no-underline w-full text-2; } } - /* MAINNAV */ .navbar { @apply pb-2 pt-5 h-auto border-b border-b-docusaurusColorBorder shadow-none bg-docusaurusBgColor; @@ -538,4 +537,8 @@ html { } } } + + .main-wrapper { + @apply min-h-screen; + } }