Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix links in integrations.md v0.3.x. fixes #357 #358

Open
wants to merge 1 commit into
base: rinja-v0.3.x
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions book/src/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In your template definitions, replace `rinja::Template` with
Enabling the `with-rocket` feature appends an implementation of Rocket's
`Responder` trait for each template type. This makes it easy to trivially
return a value of that type in a Rocket handler. See
[the example](https://github.com/rinja-rs/rinja/blob/master/rinja_rocket/tests/basic.rs)
[the example](https://github.com/rinja-rs/rinja/blob/v0.3.5/rinja_rocket/tests/basic.rs)
from the Rinja test suite for more on how to integrate.

In case a run-time error occurs during templating, a `500 Internal Server
Expand All @@ -23,7 +23,7 @@ In your template definitions, replace `rinja::Template` with
Enabling the `with-actix-web` feature appends an implementation of Actix-web's
`Responder` trait for each template type. This makes it easy to trivially return
a value of that type in an Actix-web handler. See
[the example](https://github.com/rinja-rs/rinja/blob/master/rinja_actix/tests/basic.rs)
[the example](https://github.com/rinja-rs/rinja/blob/v0.3.5/rinja_actix/tests/basic.rs)
from the Rinja test suite for more on how to integrate.

## Axum integration
Expand All @@ -34,7 +34,7 @@ In your template definitions, replace `rinja::Template` with
Enabling the `with-axum` feature appends an implementation of Axum's
`IntoResponse` trait for each template type. This makes it easy to trivially
return a value of that type in a Axum handler. See
[the example](https://github.com/rinja-rs/rinja/blob/master/rinja_axum/tests/basic.rs)
[the example](https://github.com/rinja-rs/rinja/blob/v0.3.5/rinja_axum/tests/basic.rs)
from the Rinja test suite for more on how to integrate.

In case of a run-time error occurring during templating, the response will be of the same
Expand All @@ -48,7 +48,7 @@ In your template definitions, replace `rinja::Template` with

Enabling the `with-warp` feature appends an implementation of Warp's `Reply`
trait for each template type. This makes it simple to return a template from
a Warp filter. See [the example](https://github.com/rinja-rs/rinja/blob/master/rinja_warp/tests/warp.rs)
a Warp filter. See [the example](https://github.com/rinja-rs/rinja/blob/v0.3.5/rinja_warp/tests/warp.rs)
from the Rinja test suite for more on how to integrate.

[rinja_rocket]: https://docs.rs/rinja_rocket
Expand Down