Skip to content

Commit f21e479

Browse files
authored
Fix broken links in docs (#3411)
`crate_universe.md` does not exist anymore but is split into bzlmod or workspace. I updated the URLs/files so that you don't get a 404.
1 parent e961dfc commit f21e479

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

crate_universe/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
## [Documentation][docs]
66

7-
For detailed documentation. See https://bazelbuild.github.io/rules_rust/crate_universe.html
7+
For detailed documentation. See https://bazelbuild.github.io/rules_rust/external_crates.html
88

99
[cargo]: https://doc.rust-lang.org/cargo/
1010
[bazel]: https://bazel.build/
11-
[docs]: https://bazelbuild.github.io/rules_rust/crate_universe.html
11+
[docs]: https://bazelbuild.github.io/rules_rust/external_crates.html

docs/src/external_crates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# External Dependencies
22

3-
[crate_universe](crate_universe.md) ([crate_universe bzlmod](crate_universe_bzlmod.md)) is a tool built into `rules_rust` that can be used to fetch dependencies.
3+
[crate_universe workspace](crate_universe_workspace.md) ([crate_universe bzlmod](crate_universe_bzlmod.md)) is a tool built into `rules_rust` that can be used to fetch dependencies.

examples/all_deps_vendor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def sys_deps():
141141
142142
Commonly `*-sys` crates are built on top of some existing library and
143143
will have a number of dependencies. The examples here use
144-
[crate_universe](https://bazelbuild.github.io/rules_rust/crate_universe.html)
144+
[crate_universe workspace](https://bazelbuild.github.io/rules_rust/crate_universe_workspace.html)
145145
to gather these dependencies and make them available in the workspace.
146146
"""
147147

examples/crate_universe/DEVELOPMENT.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Developing crate_universe examples
1+
# Developing crate_universe workspace examples
22

33
## Bootstrapping
44

@@ -23,5 +23,4 @@ After bootstrapping, Bazel lockfiles can be regenerated by running the following
2323
CARGO_BAZEL_REPIN=1 bazel test //...
2424
```
2525

26-
For more information on repinning, see: https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies
27-
26+
For more information on repinning, see: https://bazelbuild.github.io/rules_rust/crate_universe_workspace.html#repinning--updating-dependencies

0 commit comments

Comments
 (0)