Skip to content

Commit e716c08

Browse files
committed
feat: code review improvements, python 3.13 and uv in docs.yml
1 parent 0834ae4 commit e716c08

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy Docs
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, publish-as-mkdocs]
66
workflow_dispatch:
77

88
permissions:
@@ -22,11 +22,12 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4
25+
- uses: astral-sh/setup-uv@v4
2526
- uses: actions/setup-python@v5
2627
with:
2728
python-version: "3.13"
28-
- run: pip install mkdocs-material pymdown-extensions
29-
- run: mkdocs build
29+
- run: uv sync --extra docs
30+
- run: uv run mkdocs build
3031
- uses: actions/upload-pages-artifact@v3
3132
with:
3233
path: site/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A comprehensive collection of examples demonstrating PydanticAI framework capabi
66

77
### System Requirements
88

9-
- Python 3.10+
9+
- Python 3.13+
1010
- `uv` package manager
1111

1212
### Environment Setup
@@ -328,7 +328,7 @@ Bielik example shows alternative to cloud APIs:
328328
### Import Errors
329329

330330
- Run `uv sync` to install all dependencies
331-
- Verify you're using Python 3.10+
331+
- Verify you're using Python 3.13+
332332

333333
### Async Issues
334334

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Getting Started
66

77
## Prerequisites
88

9-
- **Python 3.10+**
9+
- **Python 3.13+**
1010
- **[uv](https://docs.astral.sh/uv/)** package manager
1111

1212
## Setup
@@ -59,7 +59,7 @@ See the [Examples Overview](examples/index.md) for the full list and recommended
5959
### Import Errors
6060

6161
- Run `uv sync` to install all dependencies
62-
- Verify you're using Python 3.10+
62+
- Verify you're using Python 3.13+
6363

6464
### Async Issues
6565

0 commit comments

Comments
 (0)