Documentation WIP:

Start doing the envvar:: directives and cut some copy. These should
be linking up now.
This commit is contained in:
Aaron Gyes
2021-11-05 05:14:02 -07:00
parent f910133c82
commit d54c8a42a9
3 changed files with 67 additions and 24 deletions

View File

@@ -208,12 +208,14 @@ div.body a:hover {
color: #00B0E4;
}
tt, code, pre {
font-family: monospace, sans-serif;
/* Older sphinx versions set a color here, we need to inherit it from the outer div.highlight */
tr, code, pre {
background-color: inherit;
}
tt, code, pre, dl > dt span ~ em, #synopsis p, dl.envvar .pre, dl.describe .pre {
font-family: "Source Code Pro", "DejaVu Sans Mono", Menlo, "Ubuntu Mono", Consolas, Monaco, "Lucida Console", monospace, fixed;
}}
pre, div[class*="highlight-"] {
/* For some reason sphinx since 3.1.2 sets "clear: both" here, which breaks in interesting ways */
clear: unset;
@@ -285,13 +287,14 @@ div.footer {
background: #FFF;
}
dl > dt span ~ em {
font-family: monospace, sans-serif;
#synopsis p {
font-size: 12pt;
}
#synopsis p {
font-family: monospace, sans-serif;
font-size: 12pt;
dl.envvar, dl.describe {
font-size: 11pt;
font-weight: normal !important;
}
/* On screens that are less than 700px wide remove anything non-essential