Skip to content

Commit dfe922e

Browse files
docs: add favicon for extra pretty docs (#3351)
This is a backport of #1033 to the `main` branch. This should supersede #3318 if removing the favicon was not desired.
1 parent 78d2944 commit dfe922e

File tree

12 files changed

+11
-0
lines changed

12 files changed

+11
-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
@@ -137,6 +137,7 @@
137137
//!
138138
#![doc(
139139
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
140+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
140141
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
141142
)]
142143
#![cfg_attr(docsrs, deny(rustdoc::broken_intra_doc_links))]

tracing-attributes/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
//!
5555
#![doc(
5656
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
57+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
5758
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
5859
)]
5960
#![cfg_attr(docsrs, deny(rustdoc::broken_intra_doc_links))]

tracing-core/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
#![no_std]
121121
#![doc(
122122
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
123+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
123124
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
124125
)]
125126
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]

tracing-error/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
182182
#![doc(
183183
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
184+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
184185
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
185186
)]
186187
#![allow(clippy::needless_doctest_main)]

tracing-flame/src/lib.rs

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

tracing-journald/src/lib.rs

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

tracing-log/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
//! [`Builder::with_interest_cache`]: log_tracer::Builder::with_interest_cache
9797
#![doc(
9898
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
99+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
99100
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
100101
)]
101102
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]

tracing-serde/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
//! [`serde`]: https://crates.io/crates/serde
164164
#![doc(
165165
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
166+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
166167
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
167168
)]
168169
#![cfg_attr(docsrs, feature(doc_cfg))]

tracing-subscriber/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
#![no_std]
166166
#![doc(
167167
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
168+
html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
168169
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
169170
)]
170171
#![cfg_attr(

0 commit comments

Comments
 (0)