Skip to content

Commit

Permalink
add monodocs redirect banner (#452)
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy authored Jan 8, 2024
1 parent a9a45b3 commit 9322c06
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions flytectl/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://docs.flyte.org">here</a>.
"""

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 = {
Expand Down

0 comments on commit 9322c06

Please sign in to comment.