Add a warning that docs are WIP and a status flag for articles

By default (no flag) articles are considered up-to-date, with the end goal to have no
articles marked as outdated.
Use `:article_outdated: True` at the top of an article to mark it as being outdated.
This commit is contained in:
Yuri Sizov
2023-02-24 20:49:31 +01:00
parent c51ccca5f0
commit ff4f111677
3 changed files with 67 additions and 13 deletions

View File

@@ -936,11 +936,24 @@ code,
}
/* Admonition tweaks */
.rst-content .admonition-grid {
display: grid;
grid-template-columns: 4fr 5fr;
gap: 20px;
}
@media screen and (max-width: 1020px) {
.rst-content .admonition-grid {
grid-template-columns: 1fr;
gap: 12px;
}
}
.rst-content .admonition,
.rst-content .admonition.note,
.rst-content .admonition.seealso {
background-color: var(--admonition-note-background-color);
border-radius: 4px;
box-shadow: 0px 3px 9px 0px rgb(0 0 0 / 29%);
color: var(--admonition-note-color);
}
@@ -948,7 +961,17 @@ code,
.rst-content .admonition.note .admonition-title,
.rst-content .admonition.seealso .admonition-title {
background-color: var(--admonition-note-title-background-color);
border-radius: 4px 4px 0 0;
color: var(--admonition-note-title-color);
font-weight: 600;
font-size: 105%;
line-height: 120%;
padding: 6px 16px;
text-align: right;
}
.rst-content .admonition .admonition-title:before {
margin-right: 9px;
}
.rst-content .admonition.attention,
@@ -987,6 +1010,10 @@ code,
color: var(--admonition-tip-title-color);
}
.article-status strong {
color: var(--body-color);
}
/* Keyboard shortcuts tweaks */
kbd, .kbd,
.rst-content :not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > kbd,