From 0836000ce4bbd023869cf43b80d6b3ef14fe114c Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Tue, 19 Dec 2023 09:34:54 +0100 Subject: [PATCH] Fix. --- .github/workflows/docs.yml | 2 +- docs/guide/project_structure/index.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e9ef8b256..2ecf7b956 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -109,7 +109,7 @@ jobs: - name: Build API reference run: | cd libs - cargo doc --package pavex --no-deps + cargo doc --package pavex --package pavex_cli_client --no-deps - name: Copy API reference files run: | mkdir -p docs/api_reference diff --git a/docs/guide/project_structure/index.md b/docs/guide/project_structure/index.md index 3ed9b6d52..6124ab173 100644 --- a/docs/guide/project_structure/index.md +++ b/docs/guide/project_structure/index.md @@ -1,4 +1,4 @@ -As you have seen in the [Quickstart](../../getting_started/quickstart/) tutorial, +As you have seen in the [Quickstart](../../getting_started/quickstart/index.md) tutorial, `pavex new` is a quick way to scaffold a new project and start working on it. If you execute @@ -75,7 +75,7 @@ Rust crate, the **server SDK** for your Pavex project. #### `cargo-px` -If you went through the [Quickstart](../../../getting_started/quickstart/) tutorial, you might be +If you went through the [Quickstart](../../getting_started/quickstart/index.md) tutorial, you might be wondering: I've never run `pavex generate`! How comes my project worked? That's thanks to [`cargo-px`][cargo-px]! @@ -178,7 +178,7 @@ The `demo` project includes an example of such a test which you can use as a ref [Blueprint]: ../../api_reference/pavex/blueprint/struct.Blueprint.html [Client::generate]: ../../api_reference/pavex_cli_client/client/struct.Client.html#method.generate -[Lifecycle::Singleton]: ../../api_reference/pavex/lifecycle/enum.Lifecycle.html#variant.Singleton +[Lifecycle::Singleton]: ../../api_reference/pavex/blueprint/constructor/enum.Lifecycle.html#variant.Singleton [Server]: ../../api_reference/pavex/server/struct.Server.html [routes]: ../routing/index.md