diff --git a/doc/source/_static/css/custom.css b/doc/source/_static/css/custom.css index 81b84d2e0..089d5c7e0 100644 --- a/doc/source/_static/css/custom.css +++ b/doc/source/_static/css/custom.css @@ -47,3 +47,8 @@ img.inline-figure { /* Override the display: block for img */ display: inherit !important; } + +#version-warning-banner { + /* Make version warning clickable */ + z-index: 1; +} diff --git a/doc/source/conf.py b/doc/source/conf.py index 330711365..dca1d11ef 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -114,6 +114,8 @@ extensions = [ 'versionwarning.extension', ] +versionwarning_admonition_type = "tip" + versionwarning_messages = { "master": ( "This document is for the master branch. "