Skip to content

Commit c63dbf6

Browse files
dmontaguDouweM
andauthored
Reorganize the docs nav hierarchy (#2748)
Co-authored-by: Douwe Maan <[email protected]>
1 parent 9ddd334 commit c63dbf6

23 files changed

+157
-110
lines changed

docs/examples/ag-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Demonstrates:
1515

1616
## Running the Example
1717

18-
With [dependencies installed and environment variables set](./index.md#usage)
18+
With [dependencies installed and environment variables set](./setup.md#usage)
1919
you will need two command line windows.
2020

2121
### Pydantic AI AG-UI backend

docs/examples/bank-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Demonstrates:
88

99
## Running the Example
1010

11-
With [dependencies installed and environment variables set](./index.md#usage), run:
11+
With [dependencies installed and environment variables set](./setup.md#usage), run:
1212

1313
```bash
1414
python/uv-run -m pydantic_ai_examples.bank_support

docs/examples/chat-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and `chat_app.ts` which renders messages in the browser.
1515

1616
## Running the Example
1717

18-
With [dependencies installed and environment variables set](./index.md#usage), run:
18+
With [dependencies installed and environment variables set](./setup.md#usage), run:
1919

2020
```bash
2121
python/uv-run -m pydantic_ai_examples.chat_app

docs/examples/data-analyst.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Demonstrates:
1919

2020
## Running the Example
2121

22-
With [dependencies installed and environment variables set](./index.md#usage), run:
22+
With [dependencies installed and environment variables set](./setup.md#usage), run:
2323

2424
```bash
2525
python/uv-run -m pydantic_ai_examples.data_analyst

docs/examples/flight-booking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ graph TD
2828

2929
## Running the Example
3030

31-
With [dependencies installed and environment variables set](./index.md#usage), run:
31+
With [dependencies installed and environment variables set](./setup.md#usage), run:
3232

3333
```bash
3434
python/uv-run -m pydantic_ai_examples.flight_booking

docs/examples/pydantic-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Demonstrates:
88

99
## Running the Example
1010

11-
With [dependencies installed and environment variables set](./index.md#usage), run:
11+
With [dependencies installed and environment variables set](./setup.md#usage), run:
1212

1313
```bash
1414
python/uv-run -m pydantic_ai_examples.pydantic_model

docs/examples/question-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Demonstrates:
88

99
## Running the Example
1010

11-
With [dependencies installed and environment variables set](./index.md#usage), run:
11+
With [dependencies installed and environment variables set](./setup.md#usage), run:
1212

1313
```bash
1414
python/uv-run -m pydantic_ai_examples.question_graph

docs/examples/rag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ docker run --rm \
2828
As with the [SQL gen](./sql-gen.md) example, we run postgres on port `54320` to avoid conflicts with any other postgres instances you may have running.
2929
We also mount the PostgreSQL `data` directory locally to persist the data if you need to stop and restart the container.
3030

31-
With that running and [dependencies installed and environment variables set](./index.md#usage), we can build the search database with (**WARNING**: this requires the `OPENAI_API_KEY` env variable and will calling the OpenAI embedding API around 300 times to generate embeddings for each section of the documentation):
31+
With that running and [dependencies installed and environment variables set](./setup.md#usage), we can build the search database with (**WARNING**: this requires the `OPENAI_API_KEY` env variable and will calling the OpenAI embedding API around 300 times to generate embeddings for each section of the documentation):
3232

3333
```bash
3434
python/uv-run -m pydantic_ai_examples.rag build

docs/examples/index.md renamed to docs/examples/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Examples
22

3-
Examples of how to use Pydantic AI and what it can do.
3+
Here we include some examples of how to use Pydantic AI and what it can do.
44

55
## Usage
66

@@ -20,7 +20,7 @@ If you clone the repo, you should instead use `uv sync --extra examples` to inst
2020

2121
### Setting model environment variables
2222

23-
These examples will need you to set up authentication with one or more of the LLMs, see the [model configuration](../models/index.md) docs for details on how to do this.
23+
These examples will need you to set up authentication with one or more of the LLMs, see the [model configuration](../models/overview.md) docs for details on how to do this.
2424

2525
TL;DR: in most cases you'll need to set one of the following environment variables:
2626

docs/examples/slack-lead-qualifier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You need to have a Slack workspace and the necessary permissions to create apps.
6464

6565
## Usage
6666

67-
1. Make sure you have the [dependencies installed](./index.md#usage).
67+
1. Make sure you have the [dependencies installed](./setup.md#usage).
6868

6969
2. Authenticate with Modal:
7070

0 commit comments

Comments
 (0)