Skip to content

Commit 6208c4a

Browse files
notriddlesyphar
authored andcommitted
Update font-awesome icon references in docs.rs
1 parent 98a47e5 commit 6208c4a

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/about-base.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<h1 id="crate-title" class="no-description">Docs.rs documentation</h1>
88
<div class="pure-menu pure-menu-horizontal">
99
<ul class="pure-menu-list">
10-
{% set text = "info-circle" | fas(fw=true) %}
10+
{% set text = "circle-info" | fas(fw=true) %}
1111
{% set text = text ~ ' <span class="title">About</span>' %}
1212
{{ macros::active_link(expected="index", href="/about", text=text) }}
1313

1414
{% set text = "fonticons" | fab(fw=true) %}
1515
{% set text = text ~ ' <span class="title">Badges</span>' %}
1616
{{ macros::active_link(expected="badges", href="/about/badges", text=text) }}
1717

18-
{% set text = "cogs" | fas(fw=true) %}
18+
{% set text = "gears" | fas(fw=true) %}
1919
{% set text = text ~ ' <span class="title">Builds</span>' %}
2020
{{ macros::active_link(expected="builds", href="/about/builds", text=text) }}
2121

templates/core/home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1 class="brand">{{ "cubes" | fas(fw=true) }} Docs.rs</h1>
2828
<strong>Recent Releases</strong>
2929
</a>
3030
<a href="/releases/feed" title="Atom feed">
31-
{{ "rss-square" | fas }}
31+
{{ "square-rss" | fas }}
3232
</a>
3333
</div>
3434

templates/crate/builds.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{%- if build.build_status -%}
3636
{{ "check" | fas }}
3737
{%- else -%}
38-
{{ "times" | fas }}
38+
{{ "x" | fas }}
3939
{%- endif -%}
4040
</div>
4141
<div class="pure-u-1 pure-u-sm-10-24">{{ build.rustc_version }}</div>

templates/crate/details.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{%- if details.homepage_url -%}
4545
<li class="pure-menu-item">
4646
<a href="{{ details.homepage_url }}" class="pure-menu-link">
47-
{{ "home" | fas(fw=true) }} Homepage
47+
{{ "house" | fas(fw=true) }} Homepage
4848
</a>
4949
</li>
5050
{%- endif -%}
@@ -53,7 +53,7 @@
5353
{%- if details.documentation_url -%}
5454
<li class="pure-menu-item">
5555
<a href="{{ details.documentation_url }}" title="Canonical documentation" class="pure-menu-link">
56-
{{ "file-alt" | far(fw=true) }} Documentation
56+
{{ "file-lines" | far(fw=true) }} Documentation
5757
</a>
5858
</li>
5959
{%- endif -%}
@@ -74,7 +74,7 @@
7474
<br>
7575
{{ "star" | fas(fw=true, extra="left-margin") }} {{ details.repository_metadata.stars }}
7676
{{ "code-branch" | fas(fw=true) }} {{ details.repository_metadata.forks }}
77-
{{ "exclamation-circle" | fas(fw=true) }} {{ details.repository_metadata.issues }}
77+
{{ "circle-exclamation" | fas(fw=true) }} {{ details.repository_metadata.issues }}
7878

7979
{# If the repo link is unknown, just show a normal link #}
8080
{%- else -%}

templates/header/package_navigation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1 id="crate-title">
6262
<li class="pure-menu-item">
6363
<a href="/crate/{{ crate_path | safe }}/builds"
6464
class="pure-menu-link{% if active_tab == 'builds' %} pure-menu-active{% endif %}">
65-
{{ "cogs" | fas }}
65+
{{ "gears" | fas }}
6666
<span class="title"> Builds</span>
6767
</a>
6868
</li>

templates/header/topbar_end.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
{# The search bar #}
6565
<div id="search-input-nav">
6666
<label for="nav-search">
67-
{{ "search" | fas }}
67+
{{ "magnifying-glass" | fas }}
6868
</label>
6969

7070
{# If there is a search query, put it in the search bar #}

templates/macros.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
{% if retain_fragment %}data-fragment="retain"{% endif %}
177177
>
178178
{% if warning %}
179-
{{ "exclamation-triangle" | fas(fw=true) }}
179+
{{ "triangle-exclamation" | fas(fw=true) }}
180180
{% endif %}
181181
{{ release.version }}
182182
</a>

templates/releases/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1 id="crate-title">{{ title }}</h1>
3939
<li class="pure-menu-item">
4040
<a href="/releases/recent-failures"
4141
class="pure-menu-link{% if tab == 'recent-failures' %} pure-menu-active{% endif %}">
42-
{{ "exclamation-triangle" | fas(fw=true) }}
42+
{{ "triangle-exclamation" | fas(fw=true) }}
4343
<span class="title">Recent Failures</span>
4444
</a>
4545
</li>

templates/rustdoc/topbar.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
<li class="pure-menu-item">
4040
<a href="{{ crate_url | safe }}" class="pure-menu-link">
41-
{{ "balance-scale-right" | fas(fw=true) }} {{ krate.license }}
41+
{{ "scale-unbalanced-flip" | fas(fw=true) }} {{ krate.license }}
4242
</a>
4343
</li>
4444
</ul>
@@ -52,7 +52,7 @@
5252
{%- if krate.homepage_url -%}
5353
<li class="pure-menu-item">
5454
<a href="{{ krate.homepage_url }}" class="pure-menu-link">
55-
{{ "home" | fas(fw=true) }} Homepage
55+
{{ "house" | fas(fw=true) }} Homepage
5656
</a>
5757
</li>
5858
{%- endif -%}
@@ -61,7 +61,7 @@
6161
{%- if krate.documentation_url -%}
6262
<li class="pure-menu-item">
6363
<a href="{{ krate.documentation_url }}" title="Canonical documentation" class="pure-menu-link">
64-
{{ "file-alt" | far(fw=true) }} Documentation
64+
{{ "file-lines" | far(fw=true) }} Documentation
6565
</a>
6666
</li>
6767
{%- endif -%}
@@ -174,7 +174,7 @@
174174
{%- if is_latest_version and metadata.yanked -%}
175175
<li class="pure-menu-item">
176176
<span class="pure-menu-link warn">
177-
{{ "exclamation-triangle" | fas }}
177+
{{ "triangle-exclamation" | fas }}
178178
<span class="title">This release has been yanked</span>
179179
</span>
180180
</li>{#
@@ -196,7 +196,7 @@
196196
<a href="{{ latest_path | safe }}" class="pure-menu-link warn"
197197
data-fragment="retain"
198198
title="{{ tooltip }}">
199-
{{ "exclamation-triangle" | fas }}
199+
{{ "triangle-exclamation" | fas }}
200200
<span class="title">{{ title }}</span>
201201
</a>
202202
</li>
@@ -206,7 +206,7 @@
206206
{%- if metadata.doc_targets -%}
207207
<li class="pure-menu-item pure-menu-has-children">
208208
<a href="#" class="pure-menu-link" aria-label="Platform">
209-
{{ "cogs" | fas }}
209+
{{ "gears" | fas }}
210210
<span class="title">Platform</span>
211211
</a>
212212

0 commit comments

Comments
 (0)