Skip to content

Conversation

@pietroalbini
Copy link
Member

@pietroalbini pietroalbini commented Sep 16, 2019

This PR adds an alert in the navigation bar of each page to alert everyone of the changes in #407. It links to the blog post prepared in rust-lang/blog.rust-lang.org#403, so it should be merged only after the post is published (and ideally shortly after).

The alert can be easily disabled or customized in the source code, so it's safe to keep the code even when it's not used anymore.

Crate page Docs page Index
2019-09-16--15-47-24 2019-09-16--15-47-44 2019-09-16--15-47-54

r? @Mark-Simulacrum @QuietMisdreavus

Copy link
Member

@Mark-Simulacrum Mark-Simulacrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I'm not very familiar with the templating code.

@pietroalbini
Copy link
Member Author

Did some really basic "user research", and I changed the alert color to red.

@pietroalbini pietroalbini merged commit 32074e7 into rust-lang:master Sep 18, 2019
@pietroalbini pietroalbini deleted the global-alert branch September 18, 2019 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants