From b0863f5ba2ed4de70391a27eec6a9ae3a7cef56f Mon Sep 17 00:00:00 2001 From: Jones-peter Date: Thu, 18 Dec 2025 16:34:36 +0530 Subject: [PATCH 1/2] Doc caching issue resolved --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 563792b..d88de92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.x + cache: 'pip' - name: Install Dependencies run: pip install mkdocs-material From a6e111b983f684cbba3ce711793d488a25efd6c9 Mon Sep 17 00:00:00 2001 From: Jones-peter Date: Thu, 18 Dec 2025 16:43:08 +0530 Subject: [PATCH 2/2] Docs : Updated --- docs/index.md | 1 - overrides/stylesheets/extra.css | 30 +++++++++++++++++++++++++----- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/docs/index.md b/docs/index.md index b942a62..e0f49da 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,7 +33,6 @@ hide: --- **JsWeb** is a blazing-fast, lightweight ASGI Python web framework that combines traditional MVC architecture and modern API-first development into a single, unified technology. - Build full-stack web apps and APIs together without switching frameworks. ## ✨ Key Features diff --git a/overrides/stylesheets/extra.css b/overrides/stylesheets/extra.css index 3f89c60..b61cb67 100644 --- a/overrides/stylesheets/extra.css +++ b/overrides/stylesheets/extra.css @@ -7,9 +7,29 @@ z-index: 1; } -/* Keep the site name visible on scroll */ -.md-header__topic:not([hidden]) { - display: flex; - align-items: center; - margin-left: .4rem; +/* + Header Title Fix: + Always show the first topic (Site Title) and hide the second topic (Page Title). +*/ + +/* Target the container for the titles */ +.md-header__title { + /* Ensure the container is visible */ + opacity: 1 !important; +} + +/* 1. The Site Title (JsWeb) */ +.md-header__title .md-header__topic:first-child { + opacity: 1 !important; + transform: none !important; + visibility: visible !important; + display: block !important; + width: auto !important; + font-size: 1.5rem !important; /* Increased font size */ + font-weight: bold !important; +} + +/* 2. The Page Title (e.g., Getting Started) */ +.md-header__title .md-header__topic:last-child { + display: none !important; }