File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,16 +36,23 @@ This is a static site built with [MkDocs Material](https://squidfunk.github.io/m
3636
37371 . Install dependencies:
3838 ``` bash
39- pip install mkdocs-material
39+ uv sync
4040 ```
4141
42422 . Start the development server:
4343 ``` bash
44- mkdocs serve
44+ uv run mkdocs serve
4545 ```
4646
47473 . Open your browser to [ http://127.0.0.1:8000 ] ( http://127.0.0.1:8000 )
4848
49+
50+ 4 . Run the image scripts if required:
51+ ``` bash
52+ uv run python scripts/optimize_image.py foo.png
53+ uv run scripts/optimize_all_images.sh
54+ ```
55+
4956### Local Development (Docker)
5057
51581 . Start the development server:
@@ -150,10 +157,7 @@ python3 scripts/optimize_image.py docs/posts/2026/04/14/*.png docs/posts/2026/04
150157python3 scripts/optimize_image.py --quality 90 --max-width 1600 image.jpeg
151158```
152159
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+
157161
158162### Categories and Tags
159163
You can’t perform that action at this time.
0 commit comments