From 9a3b22b566119b6c2a1ce479c843e6a4414fd9e5 Mon Sep 17 00:00:00 2001 From: Peyton Murray Date: Thu, 2 May 2024 14:32:39 -0700 Subject: [PATCH] [Doc] add ray summit banner 2024 (#45069) with link to submit proposals --- doc/source/_static/css/custom.css | 13 +++++++++++++ doc/source/conf.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/source/_static/css/custom.css b/doc/source/_static/css/custom.css index 41d23e977593..2f887c4dcdb2 100644 --- a/doc/source/_static/css/custom.css +++ b/doc/source/_static/css/custom.css @@ -394,3 +394,16 @@ table.autosummary tr > td:first-child > p > a > code > span { .table.example-table th:first-child { width: 30%; } + +.bd-header-announcement { + color: var(--pst-color-dark); +} + +.bd-header-announcement::after { + background-color: var(--ray-blue); +} + +.bd-header-announcement a { + color: var(--pst-color-dark); + text-decoration: underline; +} diff --git a/doc/source/conf.py b/doc/source/conf.py index 126d44d172a5..73a3fa716501 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -265,7 +265,7 @@ def render_svg_logo(path): # documentation. html_theme_options = { "use_edit_page_button": True, - "announcement": None, + "announcement": """Ray Summit unites the community. Submit a session proposal to share your experience.""", "logo": { "svg": render_svg_logo("_static/img/ray_logo.svg"), },