Skip to content

Commit 0c58b22

Browse files
authored
fix(rust): correct docs link from landing page (#2989)
Links to docs.rs from our crates.io landing pages are broken. Try for yourself: https://crates.io/crates/google-cloud-kms-v1 And then nit: the landing page for `vX.Y.Z` should point to the docs for `vX.Y.Z`, not `latest`.
1 parent 78bb6c3 commit 0c58b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/sidekick/rust/templates/common/README.md.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ The main types to work with this crate are the clients:
6868

6969
## More Information
7070

71-
- Read the [crate's documentation](https://docs.rs/{{Codec.PackageName}}/latest/{{Codec.PackageName}})
71+
- Read the [crate's documentation](https://docs.rs/{{Codec.PackageName}}/{{Codec.PackageVersion}})
7272

7373
{{#Codec.Services}}
74-
[{{Codec.Name}}]: https://docs.rs/{{Model.Codec.PackageName}}/latest/{{Model.Codec.PackageNamespace}}/client/struct.{{Codec.Name}}.html
74+
[{{Codec.Name}}]: https://docs.rs/{{Model.Codec.PackageName}}/{{Model.Codec.PackageVersion}}/{{Model.Codec.PackageNamespace}}/client/struct.{{Codec.Name}}.html
7575
{{/Codec.Services}}

0 commit comments

Comments
 (0)