File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 5
5
{%- block body -%}
6
6
< h1 > Badges</ h1 >
7
7
8
- < div class ="container about ">
8
+ < div >
9
+ < div class ="container pure-u-5-6 about ">
9
10
< p >
10
11
You can use badges to show state of your documentation to your users.
11
12
The default badge will be pointed at the latest version of a crate.
@@ -18,7 +19,7 @@ <h1>Badges</h1>
18
19
documentation, and red if building documentation failing.
19
20
</ p >
20
21
21
- < p > Example badges for mio crate:</ p >
22
+ < p > Example badges for the mio crate:</ p >
22
23
< table class ="pure-table pure-table-horizontal ">
23
24
< thead >
24
25
< tr >
@@ -50,4 +51,5 @@ <h1>Badges</h1>
50
51
</ tbody >
51
52
</ table >
52
53
</ div >
54
+ </ div >
53
55
{%- endblock body %}
Original file line number Diff line number Diff line change 5
5
{%- block body -%}
6
6
{%- set docsrs_repo = "https://github.com/rust-lang/docs.rs" -%}
7
7
< h1 > Builds</ h1 >
8
- < div class ="container about ">
8
+ < div >
9
+ < div class ="container pure-u-5-6 about ">
9
10
< p >
10
11
Docs.rs automatically builds documentation for crates released on < a href ="https://crates.io/ "> crates.io</ a > .
11
12
@@ -111,6 +112,8 @@ <h4 id="failures-and-rebuilds"> <a href="#failures-and-rebuilds">Other failures
111
112
</ p >
112
113
113
114
</ div >
115
+ < br />
116
+ </ div >
114
117
{%- endblock body %}
115
118
116
119
{% block css -%}
Original file line number Diff line number Diff line change 6
6
{%- set docsrs_repo = "https://github.com/rust-lang/docs.rs" -%}
7
7
8
8
< h1 id ="crate-title "> About Docs.rs</ h1 >
9
- < div class ="container about ">
9
+ < div >
10
+ < div class ="container pure-u-5-6 about ">
10
11
< p >
11
12
Docs.rs is an
12
13
< a href ="{{ docsrs_repo | safe }} "> open source</ a >
@@ -44,4 +45,5 @@ <h3 id="contact"> <a href="#contact">Contact</a> </h3>
44
45
</ p >
45
46
46
47
</ div >
48
+ </ div >
47
49
{%- endblock body %}
Original file line number Diff line number Diff line change 5
5
{%- block body -%}
6
6
< h1 > Metadata for custom builds</ h1 >
7
7
8
- < div class ="container about ">
8
+ < div >
9
+ < div class ="container pure-u-5-6 about ">
9
10
< p >
10
11
You can customize docs.rs builds by defining < code > [package.metadata.docs.rs]</ code >
11
12
table in your crates' < code > Cargo.toml</ code > .
@@ -15,6 +16,7 @@ <h1>Metadata for custom builds</h1>
15
16
16
17
< pre > < code > {%- include "core/Cargo.toml.example" -%}</ code > </ pre >
17
18
</ div >
19
+ </ div >
18
20
{%- endblock body %}
19
21
20
22
{% block css -%}
Original file line number Diff line number Diff line change 4
4
5
5
{%- block body -%}
6
6
< h1 > Shorthand URLs</ h1 >
7
- < div class ="container about ">
8
7
8
+ < div >
9
+ < div class ="container pure-u-5-6 about ">
9
10
< p >
10
11
Docs.rs uses semver to parse URLs. You can use this feature to access
11
12
crates' documentation easily. Example of URL redirections for
@@ -61,4 +62,6 @@ <h1>Shorthand URLs</h1>
61
62
</ tbody >
62
63
</ table >
63
64
</ div >
65
+ < br />
66
+ </ div >
64
67
{%- endblock body %}
You can’t perform that action at this time.
0 commit comments