Remove Hugging Face sponsor block from docs (#2923)

This commit is contained in:
Marcelo Trylesinski 2026-04-28 17:24:46 +02:00 committed by GitHub
parent 438f64834d
commit 6761b2c8f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 41 deletions

View File

@ -38,21 +38,6 @@
object-fit: contain;
}
img[src*="#only-dark"],
img[src*="#gh-dark-mode-only"] {
display: none;
}
[data-md-color-scheme="slate"] img[src*="#only-dark"],
[data-md-color-scheme="slate"] img[src*="#gh-dark-mode-only"] {
display: inline;
}
[data-md-color-scheme="slate"] img[src*="#only-light"],
[data-md-color-scheme="slate"] img[src*="#gh-light-mode-only"] {
display: none;
}
.md-nav__sponsor-cta {
display: inline-block;
margin-top: 0.15rem;

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 46 KiB

View File

@ -54,10 +54,6 @@ Help us keep Uvicorn maintained and sustainable by [becoming a sponsor](https://
<a href="https://fastapi.tiangolo.com">
<img src="img/fastapi-logo.png" alt="FastAPI" style="height: 80px;">
</a>
<a href="https://huggingface.co">
<img src="img/hf-logo-with-title.svg#only-light" alt="Hugging Face" style="height: 80px;">
<img src="img/hf-logo-with-title-dark.svg#only-dark" alt="Hugging Face" style="height: 80px;">
</a>
</div>
## Quickstart

View File

@ -51,10 +51,6 @@
<a href="https://fastapi.tiangolo.com" title="FastAPI" class="md-nav__sponsor">
<img src="{{ 'img/fastapi-logo.png' | url }}" alt="FastAPI">
</a>
<a href="https://huggingface.co" title="Hugging Face" class="md-nav__sponsor">
<img src="{{ 'img/hf-logo-with-title.svg' | url }}#only-light" alt="Hugging Face">
<img src="{{ 'img/hf-logo-with-title-dark.svg' | url }}#only-dark" alt="Hugging Face">
</a>
<a href="https://github.com/sponsors/Kludex" class="md-nav__sponsor-cta">
Become a sponsor! ❤️
</a>