Skip to content

Commit d039589

Browse files
committed
disable global alert about the breaking changes
1 parent e9c8b69 commit d039589

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,15 @@ use web::page::GlobalAlert;
5959

6060

6161
// Warning message shown in the navigation bar of every page. Set to `None` to hide it.
62+
pub(crate) static GLOBAL_ALERT: Option<GlobalAlert> = None;
63+
/*
6264
pub(crate) static GLOBAL_ALERT: Option<GlobalAlert> = Some(GlobalAlert {
6365
url: "https://blog.rust-lang.org/2019/09/18/upcoming-docsrs-changes.html",
6466
text: "Upcoming docs.rs breaking changes!",
6567
css_class: "error",
6668
fa_icon: "warning",
6769
});
70+
*/
6871

6972

7073
/// Version string generated at build time contains last git

0 commit comments

Comments
 (0)