Skip to content

Commit 8c5fa9b

Browse files
dswijseanmonstar
authored andcommitted
fix: docs url
1 parent acca102 commit 8c5fa9b

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

_config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ relative_links:
5353
plugins:
5454
- jekyll-redirect-from
5555

56-
docs_url: https://docs.rs/hyper
56+
hyper_docs_url: https://docs.rs/hyper/latest
5757
examples_url: https://github.com/hyperium/hyper/tree/master/examples
58-
http_body_util_url: https://docs.rs/http-body-util
59-
hyper_tls_url: https://docs.rs/hyper-tls
60-
hyper_util_url: https://docs.rs/hyper-util
58+
http_body_util_url: https://docs.rs/http-body-util/latest
59+
hyper_tls_url: https://docs.rs/hyper-tls/latest
60+
hyper_util_url: https://docs.rs/hyper-util/latest
61+
http_docs_url: https://docs.rs/http/latest
6162

6263
futures_url: https://docs.rs/futures/0.3.*
6364
legacy_docs_url: https://docs.rs/hyper/0.14.*

_stable/server/hello-world.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ To see all the snippets put together, check out the [full example][example]!
129129
Also, if `service_fn` doesn't meet your requirements and you'd like to implement
130130
`Service` yourself, see this [example][impl service].
131131

132-
[service]: {{ site.docs_url }}/hyper/service/trait.Service.html
133-
[service_fn]: {{ site.docs_url }}/hyper/service/fn.service_fn.html
134-
[request]: {{ site.docs_url }}/hyper/struct.Request.html
135-
[response]: {{ site.docs_url }}/hyper/struct.Response.html
136-
[parts]: {{ site.docs_url }}/http/0.2.8/http/response/struct.Parts.html
132+
[service]: {{ site.hyper_docs_url }}/hyper/service/trait.Service.html
133+
[service_fn]: {{ site.hyper_docs_url }}/hyper/service/fn.service_fn.html
134+
[request]: {{ site.hyper_docs_url }}/hyper/struct.Request.html
135+
[response]: {{ site.hyper_docs_url }}/hyper/struct.Response.html
136+
[parts]: {{ site.http_docs_url }}/http/response/struct.Parts.html
137137
[example]: {{ site.examples_url }}/hello.rs
138138
[impl service]: {{ site.examples_url }}/service_struct_impl.rs

0 commit comments

Comments
 (0)