Deployed 27564ba to 0.1 with MkDocs 1.1.2 and mike 0.5.5

pull/106/head
github-actions 2020-11-19 00:26:39 +00:00
parent 8834316157
commit 710179d8a6
6 changed files with 16 additions and 14 deletions

View File

@ -1,5 +1,5 @@
window.addEventListener("DOMContentLoaded", function() { window.addEventListener("DOMContentLoaded", function() {
if(!window.location.pathname.endsWith("/latest/")){ if(!window.location.pathname.endsWith("/latest/")){
document.querySelector("div[data-md-component=announce]").innerHTML = "You are seeing the docs for a previous version of RAPIDS, <a href='latest/'>click here to go to the latest</a>" document.querySelector("div[data-md-component=announce]").innerHTML = "<div id='announce-msg'>You are seeing the docs for a previous version of RAPIDS, <a href='latest/'>click here to go to the latest</a></div>"
} }
}); });

Binary file not shown.

View File

@ -15,13 +15,14 @@
div[data-md-component=announce] { div[data-md-component=announce] {
background-color: rgba(255,145,0,.1); background-color: rgba(255,145,0,.1);
padding: 15px;
text-align: center;
font-size: .8rem;
color: var(--md-admonition-fg-color);
} }
div[data-md-component=announce]>div#announce-msg{
div[data-md-component=announce]>a{ color: var(--md-admonition-fg-color);
font-size: .8rem;
text-align: center;
margin: 15px;
}
div[data-md-component=announce]>div#announce-msg>a{
color: var(--md-typeset-a-color); color: var(--md-typeset-a-color);
text-decoration: underline; text-decoration: underline;
} }

View File

@ -1,5 +1,5 @@
window.addEventListener("DOMContentLoaded", function() { window.addEventListener("DOMContentLoaded", function() {
if(!window.location.pathname.endsWith("/latest/")){ if(!window.location.pathname.endsWith("/latest/")){
document.querySelector("div[data-md-component=announce]").innerHTML = "You are seeing the docs for a previous version of RAPIDS, <a href='latest/'>click here to go to the latest</a>" document.querySelector("div[data-md-component=announce]").innerHTML = "<div id='announce-msg'>You are seeing the docs for a previous version of RAPIDS, <a href='latest/'>click here to go to the latest</a></div>"
} }
}); });

Binary file not shown.

View File

@ -15,13 +15,14 @@
div[data-md-component=announce] { div[data-md-component=announce] {
background-color: rgba(255,145,0,.1); background-color: rgba(255,145,0,.1);
padding: 15px;
text-align: center;
font-size: .8rem;
color: var(--md-admonition-fg-color);
} }
div[data-md-component=announce]>div#announce-msg{
div[data-md-component=announce]>a{ color: var(--md-admonition-fg-color);
font-size: .8rem;
text-align: center;
margin: 15px;
}
div[data-md-component=announce]>div#announce-msg>a{
color: var(--md-typeset-a-color); color: var(--md-typeset-a-color);
text-decoration: underline; text-decoration: underline;
} }