Document mkdocs serve/build commands in getting-started

This commit is contained in:
brutsalvadi
2026-05-08 10:09:05 +02:00
parent 24bb3c6946
commit 7d70cf6ea5
+14 -1
View File
@@ -42,10 +42,23 @@ bash scripts/dev.sh --edit
The Astro dev server proxies all `/api/`, `/pages/`, `/stories/`, `/assets/`, and `/rebuild` requests to `http://localhost:8001`. The Astro dev server proxies all `/api/`, `/pages/`, `/stories/`, `/assets/`, and `/rebuild` requests to `http://localhost:8001`.
## Browsing this documentation
The docs dependency group is declared in `pyproject.toml` and is separate from the runtime dependencies.
```bash
# Live-reload server at http://127.0.0.1:8000
uv run --group docs mkdocs serve
# Build static output to site/
uv run --group docs mkdocs build
```
## Adding Python dependencies ## Adding Python dependencies
```bash ```bash
uv add <package> # updates pyproject.toml and uv.lock uv add <package> # runtime dep — updates pyproject.toml and uv.lock
uv add --group docs <package> # docs-only dep
``` ```
## Adding JS dependencies ## Adding JS dependencies