Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions crates/bin/docs_rs_web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ pub use handlers::run_web_server;
use page::GlobalAlert;

// Warning message shown in the navigation bar of every page. Set to `None` to hide it.
pub(crate) static GLOBAL_ALERT: Option<GlobalAlert> = None;
/*
// pub(crate) static GLOBAL_ALERT: Option<GlobalAlert> = None;

pub(crate) static GLOBAL_ALERT: Option<GlobalAlert> = Some(GlobalAlert {
url: "https://blog.rust-lang.org/2019/09/18/upcoming-docsrs-changes.html",
text: "Upcoming docs.rs breaking changes!",
css_class: "error",
fa_icon: "exclamation-triangle",
url: "https://blog.rust-lang.org/2026/04/04/docsrs-only-default-targets/",
text: "Upcoming changes to build targets!",
css_class: "warn",
fa_icon: crate::icons::IconTriangleExclamation,
});
*/
Loading