Script for dismissing the banners
Integration of the script
Some optimizations for the script
Reverting test changes for scheduled.yaml
rebase commit
Enhanced code readability
- more compact headers when announcements are showing
- when no announcement showing, top level docs sections
(eg Concepts, Tasks, Reference) have a heading in the top nav
- when announcement is showing, rely on the breadcrumb trail plus
page introduction text for each top level section
- switch from plain black docs header to match other sections
This change allows announcements to have an expiry date and / or a
“do not show until” date.
Separating this out also leaves room for future changes to enforce
a set of approvers.
Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
Add shortcode, partial, and css so we can display an accouncement
site-wide.
Create a shortcode for use in content/en/ _index.html so
announcement is displayed on website landing page.
Create a partial for use in layouts/docs/baseof.html so
announcement is displaye on every page in '<url>/docs/home'
directory.
Add two values to config.toml: announcement (boolean) for toggling
display of announcement; announcement_message, which is the actual
message.
Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>