Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ relative_links:
plugins:
- jekyll-redirect-from

docs_url: https://docs.rs/hyper
hyper_docs_url: https://docs.rs/hyper/latest
examples_url: https://github.com/hyperium/hyper/tree/master/examples
http_body_util_url: https://docs.rs/http-body-util
hyper_tls_url: https://docs.rs/hyper-tls
hyper_util_url: https://docs.rs/hyper-util
http_body_util_url: https://docs.rs/http-body-util/latest
hyper_tls_url: https://docs.rs/hyper-tls/latest
hyper_util_url: https://docs.rs/hyper-util/latest
http_docs_url: https://docs.rs/http/latest

futures_url: https://docs.rs/futures/0.3.*
legacy_docs_url: https://docs.rs/hyper/0.14.*
Expand Down
10 changes: 5 additions & 5 deletions _stable/server/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ To see all the snippets put together, check out the [full example][example]!
Also, if `service_fn` doesn't meet your requirements and you'd like to implement
`Service` yourself, see this [example][impl service].

[service]: {{ site.docs_url }}/hyper/service/trait.Service.html
[service_fn]: {{ site.docs_url }}/hyper/service/fn.service_fn.html
[request]: {{ site.docs_url }}/hyper/struct.Request.html
[response]: {{ site.docs_url }}/hyper/struct.Response.html
[parts]: {{ site.docs_url }}/http/0.2.8/http/response/struct.Parts.html
[service]: {{ site.hyper_docs_url }}/hyper/service/trait.Service.html
[service_fn]: {{ site.hyper_docs_url }}/hyper/service/fn.service_fn.html
[request]: {{ site.hyper_docs_url }}/hyper/struct.Request.html
[response]: {{ site.hyper_docs_url }}/hyper/struct.Response.html
[parts]: {{ site.http_docs_url }}/http/response/struct.Parts.html
[example]: {{ site.examples_url }}/hello.rs
[impl service]: {{ site.examples_url }}/service_struct_impl.rs