From 99bbeefd46b6a42b4711f3220b005c03e427c4f1 Mon Sep 17 00:00:00 2001 From: Bradley Camacho <42678939+bradleycamacho@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:14:11 -0800 Subject: [PATCH 1/2] Add new footer and custom styling --- styles/global.css | 4 ---- theme.config.tsx | 26 +++++++++++++++++++++++++- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/styles/global.css b/styles/global.css index 4a1dcb2af..23c8cc467 100644 --- a/styles/global.css +++ b/styles/global.css @@ -31,10 +31,6 @@ div.md-img img { margin-bottom: 0; } -/* Nextra logic for removing footer isn't working right now */ -footer { - display: none; -} /* Make shasums actually legible */ span.shasum { diff --git a/theme.config.tsx b/theme.config.tsx index acc8ef17d..d8085b20e 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -44,8 +44,32 @@ const config: DocsThemeConfig = { }, docsRepositoryBase: "https://github.com/ethereum-optimism/docs/blob/main/", footer: { - text: "OP Documentation", + text: ( +
+ ), }, + + + + sidebar: { defaultMenuCollapseLevel: 1, autoCollapse: true, From f71d4e92508fae920a5f4aefee78b8604fab4867 Mon Sep 17 00:00:00 2001 From: krofax