Deployed 27564ba
to 0.1 with MkDocs 1.1.2 and mike 0.5.5
parent
8834316157
commit
710179d8a6
|
@ -1,5 +1,5 @@
|
|||
window.addEventListener("DOMContentLoaded", function() {
|
||||
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.
|
@ -15,13 +15,14 @@
|
|||
|
||||
div[data-md-component=announce] {
|
||||
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]>a{
|
||||
div[data-md-component=announce]>div#announce-msg{
|
||||
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);
|
||||
text-decoration: underline;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
window.addEventListener("DOMContentLoaded", function() {
|
||||
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.
|
@ -15,13 +15,14 @@
|
|||
|
||||
div[data-md-component=announce] {
|
||||
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]>a{
|
||||
div[data-md-component=announce]>div#announce-msg{
|
||||
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);
|
||||
text-decoration: underline;
|
||||
}
|
Loading…
Reference in New Issue