You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by ww...@apache.org on 2021/02/09 06:24:12 UTC

[incubator-yunikorn-site] branch master updated: [YUNIKORN-353] Disable version alerts (#37)

This is an automated email from the ASF dual-hosted git repository.

wwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new ab01cbb  [YUNIKORN-353] Disable version alerts (#37)
ab01cbb is described below

commit ab01cbb198ce8cdf788a8675127a06226e163c85
Author: Wilfred Spiegelenburg <wi...@apache.org>
AuthorDate: Tue Feb 9 17:24:01 2021 +1100

    [YUNIKORN-353] Disable version alerts (#37)
    
    Disable docusaurus version alert for older versions. This is a quick
    remove for all versions. Further customisation is possible as per
    docusaurus issue #3013.
---
 src/css/custom.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/css/custom.css b/src/css/custom.css
index 3ebd8a4..6d11b37 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -26,6 +26,11 @@
   --ifm-color-primary-lightest: #75c4ca;
 }
 
+/* Hack: hide warning message on unreleased and old versions of the docs  */
+.alert.alert--warning.margin-bottom--md {
+  display: none;
+} 
+
 .docusaurus-highlight-code-line {
   background-color: rgb(72, 77, 91);
   display: block;