From 9322c069d7d04bfc359607e6390f80f7d80108f5 Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Mon, 8 Jan 2024 16:31:52 -0500 Subject: [PATCH] add monodocs redirect banner (#452) Signed-off-by: Niels Bantilan --- flytectl/docs/source/conf.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flytectl/docs/source/conf.py b/flytectl/docs/source/conf.py index 9d28a8f1d3..d9f9045f68 100644 --- a/flytectl/docs/source/conf.py +++ b/flytectl/docs/source/conf.py @@ -93,15 +93,24 @@ html_logo = "flyte_circle_gradient_1_4x4.png" html_favicon = "flyte_circle_gradient_1_4x4.png" +announcement = """ +📢 This is the old documentation for Flyte. +Please visit the new documentation here. +""" + html_theme_options = { "light_css_variables": { "color-brand-primary": "#4300c9", "color-brand-content": "#4300c9", + "color-announcement-background": "#FEE7B8", + "color-announcement-text": "#535353", }, "dark_css_variables": { "color-brand-primary": "#9D68E4", "color-brand-content": "#9D68E4", + "color-announcement-background": "#493100", }, + "announcement": announcement, } html_context = {