Skip to content

Commit 8bbe3b5

Browse files
camelidjyn514
authored andcommitted
Better fix code blocks in /about
This is a followup to #1315 to fix the extra blank line at the top and to fix the indentation.
1 parent 33ddc64 commit 8bbe3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/core/about/builds.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h4 id="setting-a-readme"> <a href="#setting-a-readme">Setting a README</a> </h4
3131
<h4 id="detecting-docsrs"> <a href="#detecting-docsrs">Detecting Docs.rs</a> </h4>
3232
<p>
3333
To recognize Docs.rs from <code>build.rs</code> files, you can test for the environment variable <code>DOCS_RS</code>, e.g.:
34-
{% filter dedent(levels=4) -%}
34+
{% filter dedent(levels=3) -%}
3535
<pre><code class="lang-rust">if let Ok(_) = std::env::var("DOCS_RS") {
3636
// ... your code here ...
3737
}</code></pre>

0 commit comments

Comments
 (0)