Skip to content

Surface sponsors on welcome page and sidebar#2921

Merged
Kludex merged 1 commit intomainfrom
docs-sponsors-overhaul
Apr 28, 2026
Merged

Surface sponsors on welcome page and sidebar#2921
Kludex merged 1 commit intomainfrom
docs-sponsors-overhaul

Conversation

@Kludex
Copy link
Copy Markdown
Owner

@Kludex Kludex commented Apr 28, 2026

Summary

  • Added a Sponsorship section to the welcome page mirroring Starlette's pattern, with FastAPI and Hugging Face logos linking to their sites and a CTA to GitHub Sponsors.
  • Added a persistent sponsor block at the bottom of the sidebar (logos + "Become a sponsor" button) via a nav.html override and an extra.css stylesheet.
  • Removed the standalone sponsorship.md page (and its nav entry) in favor of linking directly to https://github.com/sponsors/Kludex.
  • Inverted the Hugging Face wordmark in dark mode so it stays readable.

Test plan

  • mkdocs build --strict passes.
  • Local mkdocs serve shows the sponsor section on the welcome page and the sidebar block on every page.
  • Sidebar sponsor logos render correctly in both light and dark modes.

AI Disclaimer

This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

📖 Docs preview: https://10bdc460.uvicorn.pages.dev

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 28, 2026

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing docs-sponsors-overhaul (828deec) with main (10ddc6d)

Open in CodSpeed

Mirrors Starlette's homepage sponsor block and adds a persistent sidebar entry with the FastAPI and Hugging Face logos plus a 'Become a sponsor' link. The standalone sponsorship page is removed in favor of linking directly to GitHub Sponsors. The Hugging Face wordmark is inverted in dark mode so it stays readable.
@Kludex Kludex force-pushed the docs-sponsors-overhaul branch from 44fdf7c to 828deec Compare April 28, 2026 08:03
@Kludex Kludex merged commit 438f648 into main Apr 28, 2026
42 of 44 checks passed
@Kludex Kludex deleted the docs-sponsors-overhaul branch April 28, 2026 08:14
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