Skip to content

Commit 4657e2f

Browse files
lesnik512claude
andcommitted
docs: add project lockup hero to home page
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a462131 commit 4657e2f

4 files changed

Lines changed: 30 additions & 1 deletion

File tree

docs/assets/lockup-dark.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/assets/lockup-light.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/css/brand.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,23 @@
1515
--md-accent-fg-color: #e0a300;
1616
--md-typeset-a-color: #7fb79f;
1717
}
18+
19+
/* Centered project lockup hero on the docs home page */
20+
.mp-hero {
21+
text-align: center;
22+
margin: 1.5rem 0 2.5rem;
23+
}
24+
.mp-hero .mp-lockup {
25+
margin: 0;
26+
font-size: 0; /* collapse whitespace between the stacked <img> variants */
27+
line-height: 0;
28+
}
29+
.mp-hero .mp-logo {
30+
max-width: 420px;
31+
width: 70%;
32+
height: auto;
33+
}
34+
/* Light lockup by default; cream lockup in dark (slate) mode. */
35+
.mp-hero .mp-logo--dark { display: none; }
36+
[data-md-color-scheme="slate"] .mp-hero .mp-logo--light { display: none; }
37+
[data-md-color-scheme="slate"] .mp-hero .mp-logo--dark { display: inline; }

docs/index.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# httpware
1+
<div class="mp-hero" markdown>
2+
3+
<h1 class="mp-lockup">
4+
<img class="mp-logo mp-logo--light" src="assets/lockup-light.svg" alt="httpware">
5+
<img class="mp-logo mp-logo--dark" src="assets/lockup-dark.svg" alt="" aria-hidden="true">
6+
</h1>
7+
8+
</div>
29

310
A Python HTTP client framework with sync and async clients for building resilient service clients. `httpware` is a thin opinionated wrapper around `httpx2` — it re-exports `httpx2.Request`/`httpx2.Response` as the public request/response surface, adds a middleware chain (with a built-in resilience suite: `AsyncRetry`/`Retry` + `RetryBudget`, `AsyncBulkhead`/`Bulkhead`, `AsyncCircuitBreaker`/`CircuitBreaker`, and `AsyncTimeout`), opt-in typed response decoding, and a status-keyed exception tree raised automatically on 4xx/5xx.
411

0 commit comments

Comments
 (0)