You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit af1e8f5
Browse filesBrowse the repository at this point in the historyBrowse files
uv run python scripts/optimize_image.py docs/posts/YYYY/MM/DD/your_image.png
129
136
```
130
137
131
138
This will create an optimized `.webp` file alongside the original. Update your post's markdown to reference the new `.webp` file, then delete the original if no longer needed.
@@ -141,19 +148,16 @@ This will create an optimized `.webp` file alongside the original. Update your p
uv run python scripts/optimize_image.py --quality 90 --max-width 1600 image.jpeg
151
158
```
152
159
153
-
> **Note:** This script requires [Pillow](https://pillow.readthedocs.io/). Install dev dependencies with:
154
-
> ```bash
155
-
> pip install -r requirements-dev.txt
156
-
>```
160
+
157
161
158
162
### Categories and Tags
159
163
@@ -163,15 +167,15 @@ To see all categories and tags currently in use, run:
163
167
164
168
**Bash (Linux/macOS)**:
165
169
```bash
166
-
python3 scripts/find_tags_categories.py
170
+
uv run python scripts/find_tags_categories.py
167
171
```
168
172
169
173
**PowerShell (Windows)**:
170
174
```powershell
171
-
python scripts/find_tags_categories.py
175
+
uv run python scripts/find_tags_categories.py
172
176
```
173
177
174
-
This script requires `pyyaml`, which is included in `requirements.txt`. It is also run automatically by the `create_post` scripts when scaffolding a new post.
178
+
This script requires `pyyaml`, which is included in the dev dependencies. It is also run automatically by the `create_post` scripts when scaffolding a new post.
175
179
176
180
## Updating Sponsors
177
181
@@ -182,12 +186,11 @@ Sponsor and donor entries live in [`data/sponsors.yml`](data/sponsors.yml), whic
0 commit comments