From c44494942ec1919b5b600a25035e9f3033bd2e02 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 4 Jul 2026 18:26:38 +0100 Subject: [PATCH] background fix --- sidebars.js | 9 +-------- src/styles/custom.scss | 3 --- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/sidebars.js b/sidebars.js index f2ab24b2..cf995d23 100644 --- a/sidebars.js +++ b/sidebars.js @@ -14,19 +14,12 @@ const path = require('path'); const DOCS_DIR = path.join(__dirname, 'docs'); -// 'backup-restore' -> 'Backup Restore' const labelFor = (id) => id .split('-') .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(' '); -/** - * Renders a doc as an expandable category when a same-named directory of - * sub-pages exists (e.g. docs/authentication/, docs/deployment/), and as a - * plain doc link otherwise. A directory only counts as having sub-pages if - * it contains markdown files other than a readme (docs/showcase/ holds just - * images and a readme stub, so it stays a plain link). - */ +// Docs with a same-named folder of sub-pages become expandable categories (readme stubs don't count) const withSubPages = (id) => { if (typeof id !== 'string') return id; const dir = path.join(DOCS_DIR, id); diff --git a/src/styles/custom.scss b/src/styles/custom.scss index 00bb21c8..89b01b38 100644 --- a/src/styles/custom.scss +++ b/src/styles/custom.scss @@ -85,9 +85,6 @@ nav.navbar { html { scroll-behavior: smooth; -} - -body { background: var(--background); }