Skip to content

Commit f841b57

Browse files
authored
docs: add favicon for extra pretty docs (#1033)
A PR to make the docs extra swish via a favicon for the browser tab! Before ![image](https://user-images.githubusercontent.com/3472518/95902628-f7dd7380-0d8c-11eb-855a-f6530103917d.png) After ![image](https://user-images.githubusercontent.com/3472518/95902709-0f1c6100-0d8d-11eb-85f7-49cdf36473ac.png)
1 parent 8376022 commit f841b57

File tree

14 files changed

+13
-0
lines changed

14 files changed

+13
-0
lines changed

assets/favicon.ico

15 KB
Binary file not shown.

tracing-appender/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
#![doc(html_root_url = "https://docs.rs/tracing-appender/0.1.1")]
126126
#![doc(
127127
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
128+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
128129
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
129130
)]
130131
#![cfg_attr(docsrs, deny(broken_intra_doc_links))]

tracing-attributes/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.11")]
5656
#![doc(
5757
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
58+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
5859
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
5960
)]
6061
#![cfg_attr(docsrs, deny(broken_intra_doc_links))]

tracing-core/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
#![doc(html_root_url = "https://docs.rs/tracing-core/0.1.17")]
137137
#![doc(
138138
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
139+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
139140
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
140141
)]
141142
#![cfg_attr(not(feature = "std"), no_std)]

tracing-error/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@
189189
#![doc(html_root_url = "https://docs.rs/tracing-error/0.1.2")]
190190
#![doc(
191191
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
192+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
192193
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
193194
)]
194195
#![warn(

tracing-flame/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
//!
112112
#![doc(
113113
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
114+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
114115
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
115116
)]
116117
#![cfg_attr(docsrs, deny(broken_intra_doc_links))]

tracing-futures/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
#![doc(html_root_url = "https://docs.rs/tracing-futures/0.2.4")]
7777
#![doc(
7878
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
79+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
7980
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
8081
)]
8182
#![warn(

tracing-journald/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
//!
3535
#![doc(
3636
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
37+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
3738
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
3839
)]
3940
#![cfg_attr(docsrs, deny(broken_intra_doc_links))]

tracing-log/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
#![doc(html_root_url = "https://docs.rs/tracing-log/0.1.1")]
109109
#![doc(
110110
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
111+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
111112
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
112113
)]
113114
#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))]

tracing-opentelemetry/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
#![doc(html_root_url = "https://docs.rs/tracing-opentelemetry/0.7.0")]
9494
#![doc(
9595
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
96+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
9697
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
9798
)]
9899
#![cfg_attr(docsrs, deny(broken_intra_doc_links))]

tracing-serde/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
#![doc(html_root_url = "https://docs.rs/tracing-serde/0.1.2")]
144144
#![doc(
145145
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
146+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
146147
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
147148
)]
148149
#![cfg_attr(docsrs, deny(broken_intra_doc_links))]

tracing-subscriber/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.12")]
7171
#![doc(
7272
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
73+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
7374
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
7475
)]
7576
#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))]

tracing-tower/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))]
22
#![doc(
33
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
4+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
45
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
56
)]
67
#![warn(

tracing/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@
881881
#![doc(html_root_url = "https://docs.rs/tracing/0.1.21")]
882882
#![doc(
883883
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
884+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/favicon.ico",
884885
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
885886
)]
886887
#![warn(

0 commit comments

Comments
 (0)