Skip to content

Commit

Permalink
deploy: e5e9fc6
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Mar 6, 2024
1 parent f625c3a commit 9df1d98
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
9 changes: 0 additions & 9 deletions integrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,6 @@ <h2 id="warp-integration"><a class="header" href="#warp-integration">Warp integr
<p>Enabling the <code>with-warp</code> feature appends an implementation of Warp's <code>Reply</code>
trait for each template type. This makes it simple to return a template from
a Warp filter. See <a href="https://github.com/djc/askama/blob/main/askama_warp/tests/warp.rs">the example</a>
from the Askama test suite for more on how to integrate.</p>
<h2 id="tide-integration"><a class="header" href="#tide-integration">Tide integration</a></h2>
<p>In your template definitions, replace <code>askama::Template</code> with
<a href="https://docs.rs/askama_tide"><code>askama_tide::Template</code></a>.</p>
<p>Enabling the <code>with-tide</code> feature appends <code>Into&lt;tide::Response&gt;</code> and
<code>TryInto&lt;tide::Body&gt;</code> implementations for each template type. This
provides the ability for tide apps to build a response directly from
a template, or to append a templated body to an existing
<code>Response</code>. See <a href="https://github.com/djc/askama/blob/main/askama_tide/tests/tide.rs">the example</a>
from the Askama test suite for more on how to integrate.</p>

</main>
Expand Down
9 changes: 0 additions & 9 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1379,15 +1379,6 @@ <h2 id="warp-integration"><a class="header" href="#warp-integration">Warp integr
trait for each template type. This makes it simple to return a template from
a Warp filter. See <a href="https://github.com/djc/askama/blob/main/askama_warp/tests/warp.rs">the example</a>
from the Askama test suite for more on how to integrate.</p>
<h2 id="tide-integration"><a class="header" href="#tide-integration">Tide integration</a></h2>
<p>In your template definitions, replace <code>askama::Template</code> with
<a href="https://docs.rs/askama_tide"><code>askama_tide::Template</code></a>.</p>
<p>Enabling the <code>with-tide</code> feature appends <code>Into&lt;tide::Response&gt;</code> and
<code>TryInto&lt;tide::Body&gt;</code> implementations for each template type. This
provides the ability for tide apps to build a response directly from
a template, or to append a templated body to an existing
<code>Response</code>. See <a href="https://github.com/djc/askama/blob/main/askama_tide/tests/tide.rs">the example</a>
from the Askama test suite for more on how to integrate.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="performance"><a class="header" href="#performance">Performance</a></h1>
<h2 id="slow-debug-recompilations"><a class="header" href="#slow-debug-recompilations">Slow Debug Recompilations</a></h2>
<p>If you experience slow compile times when iterating with lots of templates,
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 9df1d98

Please sign in to comment.