From 4fbdb3458ce65b4dbd1eba45a587c7b8f3296c23 Mon Sep 17 00:00:00 2001 From: hk-2029 Date: Tue, 17 Mar 2026 17:53:48 +0000 Subject: [PATCH] docs: constrain homepage width, hide right TOC on repository guide, restore internal TOC --- documentation/wiki/assets/css/extra.css | 12 ++++++++++++ .../wiki/developer-guide/repository-guide.md | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/documentation/wiki/assets/css/extra.css b/documentation/wiki/assets/css/extra.css index ef893ad19..57d1dfbcb 100644 --- a/documentation/wiki/assets/css/extra.css +++ b/documentation/wiki/assets/css/extra.css @@ -417,6 +417,18 @@ background: rgba(36,120,181,0.04); } +/* ═══════════════════════════════════════════════ + HOMEPAGE WIDTH CONSTRAINT + (nav + toc hidden on index → content goes full-width; cap it) +═══════════════════════════════════════════════ */ + +.md-content[data-md-component="content"] .md-typeset .hero, +.md-content[data-md-component="content"] .md-typeset .card-grid, +.md-content[data-md-component="content"] .md-typeset .countries, +.md-content[data-md-component="content"] .md-typeset .section-heading { + max-width: 61rem; +} + /* ═══════════════════════════════════════════════ HERO SECTION (homepage) ═══════════════════════════════════════════════ */ diff --git a/documentation/wiki/developer-guide/repository-guide.md b/documentation/wiki/developer-guide/repository-guide.md index c38a9f4a3..c19fa1228 100644 --- a/documentation/wiki/developer-guide/repository-guide.md +++ b/documentation/wiki/developer-guide/repository-guide.md @@ -1,9 +1,27 @@ +--- +hide: + - toc +--- + # SimPaths Repository Guide A guide to navigating the SimPaths repository structure and codebase. --- +## Table of Contents + +1. [Repository Structure](#repository-structure) +2. [Core Components](#core-components) +3. [Key Directories Explained](#key-directories-explained) +4. [Sub-package Detail](#sub-package-detail) +5. [Data Pipeline Reference](#data-pipeline-reference) +6. [Development Workflow](#development-workflow) +7. [Code Navigation Tips](#code-navigation-tips) +8. [Additional Resources](#additional-resources) + +--- + ## Repository Structure ```