Skip to content

Commit 9947ae6

Browse files
committed
Point documentation links to docs.rs instead of docs.serde.rs
1 parent 26f147f commit 9947ae6

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.0.91" # remember to update html_root_url
44
authors = ["Erick Tryzelaar <[email protected]>", "David Tolnay <[email protected]>"]
55
categories = ["encoding", "parser-implementations", "no-std"]
66
description = "A JSON serialization file format"
7-
documentation = "https://docs.serde.rs/serde_json/"
7+
documentation = "https://docs.rs/serde_json"
88
edition = "2018"
99
keywords = ["json", "serde", "serialization"]
1010
license = "MIT OR Apache-2.0"

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ serde_json = "1.0"
1818

1919
You may be looking for:
2020

21-
- [JSON API documentation](https://docs.serde.rs/serde_json/)
22-
- [Serde API documentation](https://docs.serde.rs/serde/)
21+
- [JSON API documentation](https://docs.rs/serde_json)
22+
- [Serde API documentation](https://docs.rs/serde)
2323
- [Detailed documentation about Serde](https://serde.rs/)
2424
- [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
2525
- [Release notes](https://github.com/serde-rs/json/releases)
@@ -126,7 +126,7 @@ without quotation marks involves converting from a JSON string to a Rust string
126126
with [`as_str()`] or avoiding the use of `Value` as described in the following
127127
section.
128128

129-
[`as_str()`]: https://docs.serde.rs/serde_json/enum.Value.html#method.as_str
129+
[`as_str()`]: https://docs.rs/serde_json/1/serde_json/enum.Value.html#method.as_str
130130

131131
The `Value` representation is sufficient for very basic tasks but can be tedious
132132
to work with for anything more significant. Error handling is verbose to
@@ -363,14 +363,14 @@ For JSON support in Serde without a memory allocator, please see the
363363

364364
[`serde-json-core`]: https://github.com/rust-embedded-community/serde-json-core
365365

366-
[value]: https://docs.serde.rs/serde_json/value/enum.Value.html
367-
[from_str]: https://docs.serde.rs/serde_json/de/fn.from_str.html
368-
[from_slice]: https://docs.serde.rs/serde_json/de/fn.from_slice.html
369-
[from_reader]: https://docs.serde.rs/serde_json/de/fn.from_reader.html
370-
[to_string]: https://docs.serde.rs/serde_json/ser/fn.to_string.html
371-
[to_vec]: https://docs.serde.rs/serde_json/ser/fn.to_vec.html
372-
[to_writer]: https://docs.serde.rs/serde_json/ser/fn.to_writer.html
373-
[macro]: https://docs.serde.rs/serde_json/macro.json.html
366+
[value]: https://docs.rs/serde_json/1/serde_json/value/enum.Value.html
367+
[from_str]: https://docs.rs/serde_json/1/serde_json/de/fn.from_str.html
368+
[from_slice]: https://docs.rs/serde_json/1/serde_json/de/fn.from_slice.html
369+
[from_reader]: https://docs.rs/serde_json/1/serde_json/de/fn.from_reader.html
370+
[to_string]: https://docs.rs/serde_json/1/serde_json/ser/fn.to_string.html
371+
[to_vec]: https://docs.rs/serde_json/1/serde_json/ser/fn.to_vec.html
372+
[to_writer]: https://docs.rs/serde_json/1/serde_json/ser/fn.to_writer.html
373+
[macro]: https://docs.rs/serde_json/1/serde_json/macro.json.html
374374

375375
<br>
376376

0 commit comments

Comments
 (0)