Skip to content

Commit

Permalink
[doc]:Fix link errors
Browse files Browse the repository at this point in the history
  • Loading branch information
heisen-li committed Apr 29, 2024
1 parent 5655e3e commit 3134866
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/doc/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* [Creating a New Package](guide/creating-a-new-package.md)
* [Working on an Existing Package](guide/working-on-an-existing-package.md)
* [Dependencies](guide/dependencies.md)
* [Package Layout](guide/project-layout.md)
* [Package Layout](guide/package-layout.md)
* [Cargo.toml vs Cargo.lock](guide/cargo-toml-vs-cargo-lock.md)
* [Tests](guide/tests.md)
* [Continuous Integration](guide/continuous-integration.md)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/appendix/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ manifest is located. (Compare with [*package root*](#package).)
[cargo-unstable]: ../reference/unstable.md
[config option]: ../reference/config.md
[crates.io]: https://crates.io/
[directory layout]: ../guide/project-layout.md
[directory layout]: ../guide/package-layout.md
[edition guide]: ../../edition-guide/index.html
[edition-field]: ../reference/manifest.md#the-edition-field
[environment variable]: ../reference/environment-variables.md
Expand Down
6 changes: 3 additions & 3 deletions src/doc/src/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ This guide will give you all that you need to know about how to use Cargo to
develop Rust packages.

* [Why Cargo Exists](why-cargo-exists.md)
* [Creating a New Package](creating-a-new-project.md)
* [Working on an Existing Cargo Package](working-on-an-existing-project.md)
* [Creating a New Package](creating-a-new-package.md)
* [Working on an Existing Cargo Package](working-on-an-existing-package.md)
* [Dependencies](dependencies.md)
* [Package Layout](project-layout.md)
* [Package Layout](package-layout.md)
* [Cargo.toml vs Cargo.lock](cargo-toml-vs-cargo-lock.md)
* [Tests](tests.md)
* [Continuous Integration](continuous-integration.md)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/doc/src/reference/cargo-targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ autobins = false
[documentation examples]: ../../rustdoc/documentation-tests.html
[features]: features.md
[nightly channel]: ../../book/appendix-07-nightly-rust.html
[package layout]: ../guide/project-layout.md
[package layout]: ../guide/package-layout.md
[package-edition]: manifest.md#the-edition-field
[proc-macro-reference]: ../../reference/procedural-macros.html
[procedural macro]: ../../book/ch19-06-macros.html
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ more detail.
<script>
(function() {
var fragments = {
"#the-project-layout": "../guide/project-layout.html",
"#the-package-layout": "../guide/package-layout.html",
"#examples": "cargo-targets.html#examples",
"#tests": "cargo-targets.html#tests",
"#integration-tests": "cargo-targets.html#integration-tests",
Expand Down

0 comments on commit 3134866

Please sign in to comment.