Skip to content

Fix page titles and the klink sidebar logo - #153

Merged
timkpaine merged 1 commit into
python-project-templates:mainfrom
Point72:tkp/theme-title-logo
Sep 8, 2026
Merged

Fix page titles and the klink sidebar logo#153
timkpaine merged 1 commit into
python-project-templates:mainfrom
Point72:tkp/theme-title-logo

Conversation

@timkpaine

Copy link
Copy Markdown
Member

The <title> tag was built from html_title, which carried a styled element for the version. Themes deriving from the basic layout rendered that markup escaped into browser tabs, so keep html_title plain text.

Sphinx only assigns a document title when a page opens with a single top level section, so a README leading with a logo or badges left the root page titled "". Fall back to the configured project title.

Klink's theme.conf points at _static/logo.png by default and yardang ships no such file, leaving a broken image in its sidebar.

Search coverage now follows BUNDLED_THEMES so a newly added theme cannot silently miss it.

The <title> tag was built from html_title, which carried a styled <code>
element for the version. Themes deriving from the basic layout rendered that
markup escaped into browser tabs, so keep html_title plain text.

Sphinx only assigns a document title when a page opens with a single top
level section, so a README leading with a logo or badges left the root page
titled "<no title>". Fall back to the configured project title.

Klink's theme.conf points at _static/logo.png by default and yardang ships
no such file, leaving a broken image in its sidebar.

Search coverage now follows BUNDLED_THEMES so a newly added theme cannot
silently miss it.
@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.19%. Comparing base (673a31b) to head (2d69e4a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #153   +/-   ##
=======================================
  Coverage   86.19%   86.19%           
=======================================
  Files          16       16           
  Lines        2021     2021           
  Branches      209      209           
=======================================
  Hits         1742     1742           
  Misses        217      217           
  Partials       62       62           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@timkpaine
timkpaine merged commit 526cd4a into python-project-templates:main Sep 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant