Skip to content

Commit 20e980f

Browse files
GuillaumeGomezsyphar
authored andcommitted
Add information on how to rebuild crate documentation
1 parent d987ff3 commit 20e980f

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

static/trigger-rebuild.png

78.2 KB
Loading

templates/core/about/builds.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,15 @@ <h4 id="hitting-resource-limits"> <a href="#hitting-resource-limits">Hitting res
106106
</ul>
107107
</p>
108108

109-
<h4 id="failures-and-rebuilds"> <a href="#failures-and-rebuilds">Other failures and requesting rebuilds</a> </h4>
110-
<p>
111-
If your crate fails to build for a reason not listed here, please <a href="{{ docsrs_repo|safe }}/issues">file an issue</a>.
112-
Some build failures can be fixed by Docs.rs, e.g., by issuing a rebuild after a bug in Docs.rs has been fixed.
113-
</p>
109+
<h4 id="failures-and-rebuilds"><a href="#failures-and-rebuilds">Other failures and requesting rebuilds</a></h4>
110+
111+
<p>If your crate fails to build for a reason not listed here, you can rebuild it from <a href="https://crates.io">crates.io</a> website as you can see below:</p>
112+
113+
<img src="/-/static/trigger-rebuild.png" alt="crates.io dropdown menu showing two items: yank and rebuild docs">
114+
115+
<p>Or you can <a href="{{ docsrs_repo|safe }}/issues">file an issue</a> if you think it's a <b>docs.rs</b> issue.</p>
114116

115117
</div>
116-
<br />
118+
<br/>
117119
</div>
118120
{%- endblock body %}

templates/style/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ pre {
208208
div.container {
209209
max-width: 1160px;
210210
text-align: left;
211+
212+
img {
213+
max-width: 100%;
214+
margin: 5px 0;
215+
}
211216
}
212217

213218
body.centered div.container {

0 commit comments

Comments
 (0)