Skip to content

docs(feat[brand]): Add Python logo and brand kit - #760

Merged
tony merged 1 commit into
masterfrom
logo
Nov 28, 2026
Merged

tony merged 1 commit into
masterfrom
logo

Conversation

@tony

@tony tony commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add Python cog logo assets under assets/ and .github/social-preview.png.
  • Update README.md with a <picture> logo header and PNG fallback.
  • Add the Sphinx brand icon, manifest, and social card kit under docs/_static/brand/.
  • Wire Open Graph, Twitter card, favicon, and manifest metadata across docs/.

Changes by area

Repository assets and README

  • assets/logo.svg, assets/logo.png, assets/README.md: add the Python library cog SVG, 512 × 512 PNG, and kit provenance notes.
  • .github/social-preview.png: add the 1200 × 630 repository social sharing card.
  • README.md: replace the raw docs/_static/img/libtmux.svg <img> tag with <picture> serving assets/logo.svg and a raw master assets/logo.png fallback.

Sphinx documentation brand kit

  • docs/_static/brand/: add light and dark app icons, favicons, browserconfig*.xml, site*.webmanifest, Safari mask icon, 1200 × 630 Open Graph cards, 1200 × 600 Twitter cards, and 180 × 180 Apple touch icons.
  • docs/_static/img/libtmux.svg, docs/_static/favicon.ico: replace the legacy SVG and favicon with copies matching docs/_static/brand/.
  • docs/conf.py: configure ogp_image, ogp_image_alt, and html_context["brand_twitter_image"].
  • docs/_templates/page.html: wire pathto(...) brand icons, #3572A5 theme metadata, and Open Graph and Twitter card tags.
  • docs/manifest.json: point web app icons at _static/brand/, set theme_color to #3572A5, and normalize scope to "/".

Design decisions

  • README.md pairs a relative assets/logo.svg <source> with a raw master assets/logo.png <img> fallback so GitHub renders the vector mark while PyPI renders a working raster URL.
  • docs/_static/img/libtmux.svg and docs/_static/favicon.ico stay in place as byte-identical copies of docs/_static/brand/ so light_logo, dark_logo, and html_favicon in docs/conf.py keep resolving without path churn.

Companion PR

Setup Required

Test plan

  • Verify assets/logo.png (512 × 512), .github/social-preview.png (1200 × 630), and docs/_static/brand/ match the reviewed logo kit
  • Confirm assets/logo.svg and docs/_static/img/libtmux.svg byte-match docs/_static/brand/logo.svg, and docs/_static/favicon.ico byte-matches docs/_static/brand/favicon.ico
  • uv run pytest README.md passes README.md doctests with executable code fences unchanged
  • just build-docs (dirhtml) emits the expected Open Graph, Twitter card, favicon, Apple touch icon, and manifest tags
  • uv run ruff check docs/conf.py and git diff --check pass

@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.01%. Comparing base (2da514b) to head (4e24a5c).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #760   +/-   ##
=======================================
  Coverage   58.01%   58.01%           
=======================================
  Files          29       29           
  Lines        4416     4416           
  Branches      895      895           
=======================================
  Hits         2562     2562           
  Misses       1543     1543           
  Partials      311      311           

☔ 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.

@tony
tony force-pushed the logo branch 4 times, most recently from b7ff9d5 to 0369193 Compare November 22, 2026 19:25
@tony tony added the documentation Docs, examples, recipes label Nov 24, 2026
@tony
tony force-pushed the logo branch 2 times, most recently from 45a5fe4 to abbbfaf Compare November 28, 2026 12:49
@tony tony mentioned this pull request Nov 28, 2026
43 of 62 tasks
@tony tony added this to the 0.70.0 milestone Nov 28, 2026
@tony tony changed the title Add language and product logos docs(feat[brand]): Add Python logo and brand kit Nov 28, 2026
@tony
tony merged commit bbcd9fc into master Nov 28, 2026
15 checks passed
@tony
tony deleted the logo branch November 28, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Docs, examples, recipes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant