From 8cd5cdf91ec84a3b2a0c08ec70eed4cc4669c894 Mon Sep 17 00:00:00 2001 From: yegeunyang Date: Sun, 26 Jan 2025 15:19:26 -0600 Subject: [PATCH 1/2] fix broken links in the Cargo book --- src/doc/src/guide/build-cache.md | 1 - src/doc/src/guide/index.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 src/doc/src/guide/build-cache.md diff --git a/src/doc/src/guide/build-cache.md b/src/doc/src/guide/build-cache.md deleted file mode 100644 index a24e5af7f3f..00000000000 --- a/src/doc/src/guide/build-cache.md +++ /dev/null @@ -1 +0,0 @@ -# Build Cache diff --git a/src/doc/src/guide/index.md b/src/doc/src/guide/index.md index 00fe2320cc2..152f666e79b 100644 --- a/src/doc/src/guide/index.md +++ b/src/doc/src/guide/index.md @@ -11,5 +11,5 @@ develop Rust packages. * [Cargo.toml vs Cargo.lock](cargo-toml-vs-cargo-lock.md) * [Tests](tests.md) * [Continuous Integration](continuous-integration.md) +* [Publishing on crates.io](../reference/publishing.md) * [Cargo Home](cargo-home.md) -* [Build Cache](build-cache.md) From 7908e4210b41c14e6c9519892694454e38a3834d Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 27 Jan 2025 19:12:01 -0800 Subject: [PATCH 2/2] Sync reference contents with SUMMARY.md --- src/doc/src/reference/index.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/doc/src/reference/index.md b/src/doc/src/reference/index.md index b624d18473b..e8d3f6a32e3 100644 --- a/src/doc/src/reference/index.md +++ b/src/doc/src/reference/index.md @@ -2,11 +2,14 @@ The reference covers the details of various areas of Cargo. -* [Specifying Dependencies](specifying-dependencies.md) - * [Overriding Dependencies](overriding-dependencies.md) * [The Manifest Format](manifest.md) * [Cargo Targets](cargo-targets.md) + * [Rust version](rust-version.md) * [Workspaces](workspaces.md) +* [Specifying Dependencies](specifying-dependencies.md) + * [Overriding Dependencies](overriding-dependencies.md) + * [Source Replacement](source-replacement.md) + * [Dependency Resolution](resolver.md) * [Features](features.md) * [Features Examples](features-examples.md) * [Profiles](profiles.md) @@ -14,17 +17,15 @@ The reference covers the details of various areas of Cargo. * [Environment Variables](environment-variables.md) * [Build Scripts](build-scripts.md) * [Build Script Examples](build-script-examples.md) -* [Publishing on crates.io](publishing.md) +* [Build Cache](build-cache.md) * [Package ID Specifications](pkgid-spec.md) -* [Source Replacement](source-replacement.md) * [External Tools](external-tools.md) * [Registries](registries.md) * [Registry Authentication](registry-authentication.md) * [Credential Provider Protocol](credential-provider-protocol.md) * [Running a Registry](running-a-registry.md) - * [Registry Index](registry-index.md) - * [Registry Web API](registry-web-api.md) -* [Dependency Resolution](resolver.md) + * [Registry Index](registry-index.md) + * [Registry Web API](registry-web-api.md) * [SemVer Compatibility](semver.md) * [Future incompat report](future-incompat-report.md) * [Reporting build timings](timings.md)