File tree Expand file tree Collapse file tree 14 files changed +94
-25
lines changed Expand file tree Collapse file tree 14 files changed +94
-25
lines changed Original file line number Diff line number Diff line change 29
29
{%- block header %}{% endblock header -%}
30
30
31
31
{%- block body -%}{%- endblock body -%}
32
+ {%- include "footer.html" -%}
32
33
33
34
< script type ="text/javascript " nonce ="{{ csp_nonce }} " src ="/-/static/menu.js?{{ docsrs_version() | slugify }} "> </ script >
34
35
< script type ="text/javascript " nonce ="{{ csp_nonce }} " src ="/-/static/index.js?{{ docsrs_version() | slugify }} "> </ script >
Original file line number Diff line number Diff line change 5
5
{%- block body -%}
6
6
< h1 > Badges</ h1 >
7
7
8
- < div >
8
+ < div class =" about-page " >
9
9
< div class ="container pure-u-5-6 about ">
10
10
< p >
11
11
You can use badges to show state of your documentation to your users.
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 >
8
+ < div class =" about-page " >
9
9
< div class ="container pure-u-5-6 about ">
10
10
< p >
11
11
Docs.rs automatically builds documentation for crates released on < a href ="https://crates.io/ "> crates.io</ a > .
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 >
9
+ < div class =" about-page " >
10
10
< div class ="container pure-u-5-6 about ">
11
11
< p >
12
12
Docs.rs is an
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 >
8
+ < div class =" about-page " >
9
9
< div class ="container pure-u-5-6 about ">
10
10
< p >
11
11
You can customize docs.rs builds by defining < code > [package.metadata.docs.rs]</ code >
Original file line number Diff line number Diff line change 5
5
{%- block body -%}
6
6
< h1 > Shorthand URLs</ h1 >
7
7
8
- < div >
8
+ < div class =" about-page " >
9
9
< div class ="container pure-u-5-6 about ">
10
10
< p >
11
11
Docs.rs uses semver to parse URLs. You can use this feature to access
Original file line number Diff line number Diff line change
1
+ < div class ="docs-rs-footer ">
2
+ < a href ="/about "> About docs.rs</ a >
3
+ < a href ="https://foundation.rust-lang.org/policies/privacy-policy/#docs.rs "> Privacy policy</ a >
4
+ < a href ="/releases/queue "> Build queue</ a >
5
+ </ div >
Original file line number Diff line number Diff line change 34
34
35
35
#}< ul class ="pure-menu-list pure-menu-right ">
36
36
< li class ="pure-menu-item pure-menu-has-children pure-menu-allow-hover pure-menu-opt-children ">
37
- < a href ="/about " class ="pure-menu-link ">
38
- < span title ="About "> {{ "info-circle" | fas }}</ span >
39
- < span class ="title "> About</ span >
40
- </ a >
41
-
42
- < ul class ="pure-menu-children ">
43
- {{ macros::menu_link(href="/about/badges", text="Badges") }}
44
- {{ macros::menu_link(href="/about/builds", text="Builds") }}
45
- {{ macros::menu_link(href="/about/metadata", text="Metadata") }}
46
- {{ macros::menu_link(href="/about/redirections", text="Shorthand URLs") }}
47
- </ ul >
48
- </ li > {#
49
-
50
- #}< li class ="pure-menu-item pure-menu-has-children pure-menu-allow-hover pure-menu-opt-children ">
51
37
< a href ="/releases " class ="pure-menu-link ">
52
38
< span title ="Releases "> {{ "leaf" | fas }}</ span >
53
39
< span class ="title "> Releases</ span >
Original file line number Diff line number Diff line change 33
33
34
34
{# see comment in ../../static/storage-change-detection.html for details #}
35
35
< iframe src ="/-/static/storage-change-detection.html " width ="0 " height ="0 " style ="display: none "> </ iframe >
36
+ {%- include "footer.html" -%}
Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ div.nav-container {
139
139
// These hardcoded values are "magic", in the sense they were observed to be the lowest-possible
140
140
// thresholds through experimentation with a package name that hit the max-width of the element.
141
141
$full-width : 1142px ;
142
- $medium-width : 994 px ;
143
- $narrow-width : 901 px ;
142
+ $medium-width : 837 px ;
143
+ $narrow-width : 783 px ;
144
144
145
145
// use a .title span inside a menu to hide it on small screens
146
146
span .title {
You can’t perform that action at this time.
0 commit comments