Skip to content

Commit b721dfd

Browse files
committed
dev
1 parent 577c0da commit b721dfd

62 files changed

Lines changed: 2101 additions & 62 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dev/docs.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from pathlib import Path
2+
3+
DOCS_PATH = Path(__file__).parent.parent / "docs"
4+
5+
6+
def head_snippet(path: Path) -> str:
7+
return (path / "assets" / "fluid-head-snippet.html").read_text()
8+
9+
10+
def on_post_page(output: str, page, config) -> str:
11+
"""Hook to inject custom HTML into the head of each page in mkdocs build."""
12+
snippet = head_snippet(DOCS_PATH)
13+
return output.replace("</head>", f"{snippet}</head>", 1)

.dev/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
ISORT_ARGS="-c"
55
BLACK_ARG="--check"
66
RUFF_ARG=""
7-
MODULES="fluid tests examples docs_src"
7+
MODULES="fluid tests examples"
88

99
if [ "$1" = "fix" ] ; then
1010
ISORT_ARGS=""

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ docs-publish: ## publish the book to github pages
2424

2525
.PHONY: docs-serve
2626
docs-serve: ## serve documentation
27-
@uv run mkdocs serve --livereload -w fluid -w docs -w docs_src
27+
@uv run mkdocs serve --livereload -w fluid -w docs -w examples
2828

2929
.PHONY: example
3030
example: ## run task scheduler example

docs/assets/fluid-banner-dark.svg

Lines changed: 10 additions & 0 deletions

docs/assets/fluid-banner-light.svg

Lines changed: 10 additions & 0 deletions

docs/assets/fluid-banner.svg

Lines changed: 10 additions & 0 deletions

docs/assets/fluid-favicon.ico

1.76 KB
Binary file not shown.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!-- fluid · favicon + meta head snippet -->
2+
<!-- Drop into <head>. Adjust the /assets/ prefix if you serve from a different path. -->
3+
4+
<!-- Favicon -->
5+
<link rel="icon" href="/assets/fluid-favicon.ico" sizes="any">
6+
<link rel="icon" type="image/svg+xml" href="/assets/fluid-logo.svg">
7+
8+
<!-- PNG fallbacks -->
9+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/png/fluid-logo-16.png">
10+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/png/fluid-logo-32.png">
11+
<link rel="icon" type="image/png" sizes="48x48" href="/assets/png/fluid-logo-48.png">
12+
<link rel="icon" type="image/png" sizes="64x64" href="/assets/png/fluid-logo-64.png">
13+
<link rel="icon" type="image/png" sizes="128x128" href="/assets/png/fluid-logo-128.png">
14+
<link rel="icon" type="image/png" sizes="256x256" href="/assets/png/fluid-logo-256.png">
15+
16+
<!-- Apple touch icons -->
17+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/png/fluid-logo-light-256.png">
18+
<link rel="apple-touch-icon" sizes="512x512" href="/assets/png/fluid-logo-light-512.png">
19+
20+
<!-- PWA manifest -->
21+
<link rel="manifest" href="/assets/fluid-manifest.json">
22+
23+
<!-- Theme colors -->
24+
<meta name="theme-color" content="#F5F3EE" media="(prefers-color-scheme: light)">
25+
<meta name="theme-color" content="#0B0F14" media="(prefers-color-scheme: dark)">
26+
<meta name="msapplication-TileColor" content="#1E40AF">
27+
<meta name="msapplication-TileImage" content="/assets/png/fluid-logo-dark-256.png">
28+
29+
<!-- Open Graph -->
30+
<meta property="og:title" content="fluid — async backend tools for Python">
31+
<meta property="og:description" content="Async workers, schedulers, and queues for Python.">
32+
<meta property="og:image" content="/assets/png/fluid-banner-dark-1200.png">
33+
<meta property="og:image:width" content="1200">
34+
<meta property="og:image:height" content="300">
35+
<meta name="twitter:card" content="summary_large_image">

docs/assets/fluid-logo-dark.svg

Lines changed: 7 additions & 0 deletions

docs/assets/fluid-logo-light.svg

Lines changed: 7 additions & 0 deletions

0 commit comments

Comments
 (0)