diff --git a/all.html b/all.html
index f9e6987..1403afc 100644
--- a/all.html
+++ b/all.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1250,7 +835,8 @@ function main() {
-
Module that should import everything so that nim doc --project nimtero/all runs docs on everything.
+
+
Module that should import everything so that nim doc --project nimtero/all runs docs on everything.
@@ -1264,7 +850,7 @@ function main() {
- Made with Nim. Generated: 2019-07-29 14:17:11 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:28 UTC
diff --git a/cimport.html b/cimport.html
index c8ad735..fa57ca3 100644
--- a/cimport.html
+++ b/cimport.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1238,12 +823,6 @@ function main() {
Macros
+ c Include Dir
c Compile
- c Compile
+ c Import
+ dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped"> c Import
c2n Import
+ dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped"> c2n Import
+
+ Exports
+
+
+
This is the main nimterop import file to help with wrapping C/C++ source code.
Check out template.nim as a starting point for wrapping a new library. The template can be copied and trimmed down and modified as required. templite.nim is a shorter version for more experienced users.
All {.compileTime.} procs must be used in a compile time context, e.g. using:
static :
cAddStdDir ( )
-
-
+
plugin , git , paths , types
@@ -1314,11 +895,12 @@ function main() {
-
-proc cSkipSymbol ( skips : seq [ string ] ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+
+proc cSkipSymbol ( skips : seq [ string ] ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
-Similar to cOverride() , this macro allows filtering out symbols not of interest from the generated output.
-cSkipSymbol() only affects calls to cImport() that follow it.
+
+Similar to cOverride() , this macro allows filtering out symbols not of interest from the generated output.
+cSkipSymbol() only affects calls to cImport() that follow it.
Examples:
static :
@@ -1326,31 +908,35 @@ function main() {
-proc cSearchPath ( path : string ) : string { ... } {. compileTime , raises : [ ] , tags : [ ReadDirEffect ] .}
+proc cSearchPath ( path : string ) : string { ... } {. compileTime , raises : [ ] , tags : [ ReadDirEffect ] .}
-Get full path to file or directory path in search path configured using cAddSearchDir() and cAddStdDir() .
-This can be used to locate files or directories that can be passed onto cCompile() , cIncludeDir() and cImport() .
+
+Get full path to file or directory path in search path configured using cAddSearchDir() and cAddStdDir() .
+This can be used to locate files or directories that can be passed onto cCompile() , cIncludeDir() and cImport() .
-
-proc cDebug ( ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+
+proc cDebug ( ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+
Enable debug messages and display the generated Nim code
-
-proc cDisableCaching ( ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+
+proc cDisableCaching ( ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+
Disable caching of generated Nim code - useful during wrapper development
-If files included by header being processed by cImport() change and affect the generated content, they will be ignored and the cached value will continue to be used . Use cDisableCaching() to avoid this scenario during development.
+If files included by header being processed by cImport() change and affect the generated content, they will be ignored and the cached value will continue to be used . Use cDisableCaching() to avoid this scenario during development.
nim -f was broken prior to 0.19.4 but can also be used to flush the cached content.
-proc cAddSearchDir ( dir : string ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+proc cAddSearchDir ( dir : string ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+
Add directory dir to the search path used in calls to cSearchPath() .
Examples:
import
@@ -1362,8 +948,9 @@ Add directory dir to
-proc cAddStdDir ( mode = "c" ) { ... } {. compileTime , raises : [ ] , tags : [ ReadEnvEffect ] .}
+proc cAddStdDir ( mode = "c" ) { ... } {. compileTime , raises : [ ValueError ] , tags : [ ReadEnvEffect ] .}
+
Add the standard c [default] or cpp include paths to search path used in calls to cSearchPath()
Examples:
static :
@@ -1379,34 +966,36 @@ Add the standard c [d
-
-macro cOverride ( body ) : untyped
+
+macro cOverride ( body ) : untyped
-When the wrapper code generated by nimterop is missing certain symbols or not accurate, it may be required to hand wrap them. Define them in a cOverride() macro block so that Nimterop no longer defines these symbols.
+
+When the wrapper code generated by nimterop is missing certain symbols or not accurate, it may be required to hand wrap them. Define them in a cOverride() macro block so that Nimterop no longer defines these symbols.
For example:
int svGetCallerInfo ( const char ** fileName , int * lineNumber ) ; This might map to:
proc svGetCallerInfo ( fileName : ptr cstring ; lineNumber : var cint ) Whereas it might mean:
cOverride :
- proc svGetCallerInfo ( fileName : var cstring ; lineNumber : var cint ) Using the cOverride() block, nimterop can be instructed to skip over svGetCallerInfo() . This works for procs, consts and types.
-cOverride() only affects calls to cImport() that follow it.
+ proc svGetCallerInfo ( fileName : var cstring ; lineNumber : var cint ) Using the cOverride() block, nimterop can be instructed to skip over svGetCallerInfo() . This works for procs, consts and types.
+cOverride() only affects calls to cImport() that follow it.
-
-macro cPlugin ( body ) : untyped
+
+macro cPlugin ( body ) : untyped
-When cOverride() and cSkipSymbol() are not adequate, the cPlugin() macro can be used to customize the generated Nim output. The following callbacks are available at this time.proc onSymbol ( sym : var Symbol ) { . exportc , dynlib . } onSymbol() can be used to handle symbol name modifications required due to invalid characters like leading/trailing _ or rename symbols that would clash due to Nim's style insensitivity. It can also be used to remove prefixes and suffixes like SDL_ . The symbol name and type is provided to the callback and the name can be modified.
-Returning a blank name will result in the symbol being skipped. This will fail for nskParam and nskField since the generated Nim code will be wrong.
+
+When cOverride() and cSkipSymbol() are not adequate, the cPlugin() macro can be used to customize the generated Nim output. The following callbacks are available at this time.proc onSymbol ( sym : var Symbol ) { . exportc , dynlib . } onSymbol() can be used to handle symbol name modifications required due to invalid characters like leading/trailing _ or rename symbols that would clash due to Nim's style insensitivity. It can also be used to remove prefixes and suffixes like SDL_ . The symbol name and type is provided to the callback and the name can be modified.
+Returning a blank name will result in the symbol being skipped. This will fail for nskParam and nskField since the generated Nim code will be wrong.
Symbol types can be any of the following:
-nskConst for constants
-nskType for type identifiers, including primitive
-nskParam for param names
-nskField for struct field names
-nskEnumField for enum (field) names, though they are in the global namespace as nskConst
-nskProc - for proc names
+nskConst for constants
+nskType for type identifiers, including primitive
+nskParam for param names
+nskField for struct field names
+nskEnumField for enum (field) names, though they are in the global namespace as nskConst
+nskProc - for proc names
nimterop/plugins is implicitly imported to provide access to standard plugin facilities.
-cPlugin() only affects calls to cImport() that follow it.
+cPlugin() only affects calls to cImport() that follow it.
Examples:
cPlugin :
@@ -1428,20 +1017,23 @@ When cOverride()<
-macro cDefine ( name : static string ; val : static string = "" ) : untyped
+macro cDefine ( name : static string ; val : static string = "" ) : untyped
-#define an identifer that is forwarded to the C/C++ compiler using {.passC: "-DXXX".}
+
+#define an identifer that is forwarded to the C/C++ preprocessor if called within cImport() or c2nImport() as well as to the C/C++ compiler during Nim compilation using {.passC: "-DXXX".}
-
-macro cIncludeDir ( dir : static string ) : untyped
+
+macro cIncludeDir ( dir : static string ) : untyped
-Add an include directory that is forwarded to the C/C++ compiler using {.passC: "-IXXX".} . This is also provided to the preprocessor during Nim code generation.
+
+Add an include directory that is forwarded to the C/C++ preprocessor if called within cImport() or c2nImport() as well as to the C/C++ compiler during Nim compilation using {.passC: "-IXXX".} .
-macro cCompile ( path : static string ; mode = "c" ; exclude = "" ) : untyped
+macro cCompile ( path : static string ; mode = "c" ; exclude = "" ) : untyped
+
Compile and link C/C++ implementation into resulting binary using {.compile.}
path can be a specific file or contain wildcards:
cCompile ( "file.c" )
@@ -1451,12 +1043,14 @@ Add an include directory that is forwarded to the C/C++ compiler using cCompile ( "path/to/dir" , exclude = "test2.c" )
-
-macro cImport ( filename : static string ; recurse : static bool = false ;
- dynlib : static string = "" ) : untyped
+
+macro cImport ( filename : static string ; recurse : static bool = false ;
+ dynlib : static string = "" ; mode : static string = "c" ;
+ flags : static string = "" ) : untyped
-Import all supported definitions from specified header file. Generated content is cached in nimcache until filename changes unless cDisableCaching() is set. nim -f can also be used after Nim v0.19.4 to flush the cache.
-recurse can be used to generate Nim wrappers from #include files referenced in filename . This is only done for files in the same directory as filename or in a directory added using cIncludeDir()
+
+Import all supported definitions from specified header file. Generated content is cached in nimcache until filename changes unless cDisableCaching() is set. nim -f can also be used after Nim v0.19.4 to flush the cache.
+recurse can be used to generate Nim wrappers from #include files referenced in filename . This is only done for files in the same directory as filename or in a directory added using cIncludeDir()
dynlib can be used to specify the Nim string to use to specify the dynamic library to load the imported symbols from. For example:
const
dynpcre =
@@ -1470,17 +1064,20 @@ Add an include directory that is forwarded to the C/C++ compiler using else:
"libpcre.so(.3|.1|)"
-cImport ( "pcre.h" , dynlib = "dynpcre" ) If dynlib is not specified, the C/C++ implementation files can be compiled in with cCompile() , or the {.passL.} pragma can be used to specify the static lib to link.
+cImport ( "pcre.h" , dynlib = "dynpcre" ) If dynlib is not specified, the C/C++ implementation files can be compiled in with cCompile() , or the {.passL.} pragma can be used to specify the static lib to link.
+mode is purely for forward compatibility when toast adds C++ support. It can be ignored for the foreseeable future.
+flags can be used to pass any other command line arguments to toast .
-macro c2nImport ( filename : static string ; recurse : static bool = false ;
+macro c2nImport ( filename : static string ; recurse : static bool = false ;
dynlib : static string = "" ; mode : static string = "c" ;
flags : static string = "" ) : untyped
+
Import all supported definitions from specified header file using c2nim
-Similar to cImport() but uses c2nim to generate the Nim wrapper instead of toast . Note that neither cOverride() , cSkipSymbol() nor cPlugin() have any impact on c2nim .
+Similar to cImport() but uses c2nim to generate the Nim wrapper instead of toast . Note that neither cOverride() , cSkipSymbol() nor cPlugin() have any impact on c2nim .
toast is only used to preprocess the header file and recurse if specified.
mode should be set to cpp for c2nim to wrap C++ headers.
flags can be used to pass other command line arguments to c2nim .
@@ -1489,6 +1086,11 @@ Add an include directory that is forwarded to the C/C++ compiler using
+
+
@@ -1498,7 +1100,7 @@ Add an include directory that is forwarded to the C/C++ compiler using
- Made with Nim. Generated: 2019-07-29 14:17:11 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:28 UTC
diff --git a/cimport.idx b/cimport.idx
index 9a0b8f5..ac8ee27 100644
--- a/cimport.idx
+++ b/cimport.idx
@@ -1,13 +1,13 @@
-cOverride cimport.html#cOverride.m, cimport: cOverride(body): untyped
-cSkipSymbol cimport.html#cSkipSymbol,seq[string] cimport: cSkipSymbol(skips: seq[string])
-cPlugin cimport.html#cPlugin.m, cimport: cPlugin(body): untyped
+cOverride cimport.html#cOverride.m cimport: cOverride(body): untyped
+cSkipSymbol cimport.html#cSkipSymbol,seq[T][string] cimport: cSkipSymbol(skips: seq[string])
+cPlugin cimport.html#cPlugin.m cimport: cPlugin(body): untyped
cSearchPath cimport.html#cSearchPath,string cimport: cSearchPath(path: string): string
-cDebug cimport.html#cDebug, cimport: cDebug()
-cDisableCaching cimport.html#cDisableCaching, cimport: cDisableCaching()
+cDebug cimport.html#cDebug cimport: cDebug()
+cDisableCaching cimport.html#cDisableCaching cimport: cDisableCaching()
cDefine cimport.html#cDefine.m,,string cimport: cDefine(name: static string; val: static string = ""): untyped
cAddSearchDir cimport.html#cAddSearchDir,string cimport: cAddSearchDir(dir: string)
-cIncludeDir cimport.html#cIncludeDir.m, cimport: cIncludeDir(dir: static string): untyped
+cIncludeDir cimport.html#cIncludeDir.m cimport: cIncludeDir(dir: static string): untyped
cAddStdDir cimport.html#cAddStdDir,string cimport: cAddStdDir(mode = "c")
cCompile cimport.html#cCompile.m,,string,string cimport: cCompile(path: static string; mode = "c"; exclude = ""): untyped
-cImport cimport.html#cImport.m,,string cimport: cImport(filename: static string; recurse: static bool = false;\n dynlib: static string = ""): untyped
+cImport cimport.html#cImport.m,,string,string,string cimport: cImport(filename: static string; recurse: static bool = false;\n dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped
c2nImport cimport.html#c2nImport.m,,string,string,string cimport: c2nImport(filename: static string; recurse: static bool = false;\n dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped
diff --git a/compat.html b/compat.html
index 995d828..85b8e0e 100644
--- a/compat.html
+++ b/compat.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1237,43 +822,13 @@ function main() {
Type
-
-
+
+
-
-
-
-
-proc relativePath ( file , base : string ) : string { ... } {. raises : [ ] , tags : [ ] .}
-
-naive version of os.relativePath ; remove after nim >= 0.19.9
-Examples:
-import
- ospaths , unittest
-
-check :
- "/foo/bar/baz/log.txt" . unixToNativePath . relativePath (
- "/foo/bar" . unixToNativePath ) == "baz/log.txt" . unixToNativePath
- "foo/bar/baz/log.txt" . unixToNativePath . relativePath ( "foo/bar" . unixToNativePath ) ==
- "baz/log.txt" . unixToNativePath
-
-
-
-
-
+
@@ -1281,7 +836,7 @@ naive version of os.relativePath ; remove after nim >= 0.19.9
- Made with Nim. Generated: 2019-07-29 14:17:09 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:26 UTC
diff --git a/dochack.js b/dochack.js
new file mode 100644
index 0000000..b960a56
--- /dev/null
+++ b/dochack.js
@@ -0,0 +1,1983 @@
+/* Generated by the Nim Compiler v0.20.2 */
+/* (c) 2019 Andreas Rumpf */
+
+var framePtr = null;
+var excHandler = 0;
+var lastJSError = null;
+if (typeof Int8Array === 'undefined') Int8Array = Array;
+if (typeof Int16Array === 'undefined') Int16Array = Array;
+if (typeof Int32Array === 'undefined') Int32Array = Array;
+if (typeof Uint8Array === 'undefined') Uint8Array = Array;
+if (typeof Uint16Array === 'undefined') Uint16Array = Array;
+if (typeof Uint32Array === 'undefined') Uint32Array = Array;
+if (typeof Float32Array === 'undefined') Float32Array = Array;
+if (typeof Float64Array === 'undefined') Float64Array = Array;
+var NTI130 = {size: 0,kind: 1,base: null,node: null,finalizer: null};
+var NTI162074 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
+var NTI4062 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI164579 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI42448 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42444 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42440 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42436 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42432 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42428 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42424 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42420 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42416 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42412 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42408 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42404 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42400 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42396 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42392 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42388 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42384 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42380 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42376 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42372 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI42205 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI42283 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI42281 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI42227 = {size: 0, kind: 14, base: null, node: null, finalizer: null};
+var NTI42565 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI42563 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI42561 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI42231 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI42229 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI44305 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI4050 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI4058 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI104 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
+var NTI21156 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
+var NTI4008 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI4114 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI114 = {size: 0,kind: 40,base: null,node: null,finalizer: null};
+var NTI138 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
+var NTI140 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
+var NTI4108 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI4026 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI4028 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI4042 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI4046 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NNI4046 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4046.node = NNI4046;
+var NNI4042 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4042.node = NNI4042;
+var NNI4028 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4028.node = NNI4028;
+NTI4108.base = NTI4026;
+NTI4114.base = NTI4026;
+var NNI4026 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI4108, name: "parent", sons: null},
+{kind: 1, offset: "name", len: 0, typ: NTI140, name: "name", sons: null},
+{kind: 1, offset: "message", len: 0, typ: NTI138, name: "msg", sons: null},
+{kind: 1, offset: "trace", len: 0, typ: NTI138, name: "trace", sons: null},
+{kind: 1, offset: "raiseId", len: 0, typ: NTI114, name: "raiseId", sons: null},
+{kind: 1, offset: "up", len: 0, typ: NTI4114, name: "up", sons: null}]};
+NTI4026.node = NNI4026;
+var NNI4008 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4008.node = NNI4008;
+NTI4026.base = NTI4008;
+NTI4028.base = NTI4026;
+NTI4042.base = NTI4028;
+NTI4046.base = NTI4042;
+var NNI21156 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI140, name: "Field0", sons: null},
+{kind: 1, offset: "Field1", len: 0, typ: NTI104, name: "Field1", sons: null}]};
+NTI21156.node = NNI21156;
+var NNI4058 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4058.node = NNI4058;
+NTI4058.base = NTI4028;
+var NNI4050 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4050.node = NNI4050;
+NTI4050.base = NTI4028;
+NTI42561.base = NTI42229;
+NTI42563.base = NTI42229;
+NTI42565.base = NTI42229;
+var NNI42227 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI42227, name: "ElementNode", len: 0, sons: null},
+"2": {kind: 1, offset: 2, typ: NTI42227, name: "AttributeNode", len: 0, sons: null},
+"3": {kind: 1, offset: 3, typ: NTI42227, name: "TextNode", len: 0, sons: null},
+"4": {kind: 1, offset: 4, typ: NTI42227, name: "CDATANode", len: 0, sons: null},
+"5": {kind: 1, offset: 5, typ: NTI42227, name: "EntityRefNode", len: 0, sons: null},
+"6": {kind: 1, offset: 6, typ: NTI42227, name: "EntityNode", len: 0, sons: null},
+"7": {kind: 1, offset: 7, typ: NTI42227, name: "ProcessingInstructionNode", len: 0, sons: null},
+"8": {kind: 1, offset: 8, typ: NTI42227, name: "CommentNode", len: 0, sons: null},
+"9": {kind: 1, offset: 9, typ: NTI42227, name: "DocumentNode", len: 0, sons: null},
+"10": {kind: 1, offset: 10, typ: NTI42227, name: "DocumentTypeNode", len: 0, sons: null},
+"11": {kind: 1, offset: 11, typ: NTI42227, name: "DocumentFragmentNode", len: 0, sons: null},
+"12": {kind: 1, offset: 12, typ: NTI42227, name: "NotationNode", len: 0, sons: null}}};
+NTI42227.node = NNI42227;
+var NNI42283 = {kind: 2, len: 91, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "background", len: 0, typ: NTI140, name: "background", sons: null},
+{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI140, name: "backgroundAttachment", sons: null},
+{kind: 1, offset: "backgroundColor", len: 0, typ: NTI140, name: "backgroundColor", sons: null},
+{kind: 1, offset: "backgroundImage", len: 0, typ: NTI140, name: "backgroundImage", sons: null},
+{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI140, name: "backgroundPosition", sons: null},
+{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI140, name: "backgroundRepeat", sons: null},
+{kind: 1, offset: "border", len: 0, typ: NTI140, name: "border", sons: null},
+{kind: 1, offset: "borderBottom", len: 0, typ: NTI140, name: "borderBottom", sons: null},
+{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI140, name: "borderBottomColor", sons: null},
+{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI140, name: "borderBottomStyle", sons: null},
+{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI140, name: "borderBottomWidth", sons: null},
+{kind: 1, offset: "borderColor", len: 0, typ: NTI140, name: "borderColor", sons: null},
+{kind: 1, offset: "borderLeft", len: 0, typ: NTI140, name: "borderLeft", sons: null},
+{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI140, name: "borderLeftColor", sons: null},
+{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI140, name: "borderLeftStyle", sons: null},
+{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI140, name: "borderLeftWidth", sons: null},
+{kind: 1, offset: "borderRight", len: 0, typ: NTI140, name: "borderRight", sons: null},
+{kind: 1, offset: "borderRightColor", len: 0, typ: NTI140, name: "borderRightColor", sons: null},
+{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI140, name: "borderRightStyle", sons: null},
+{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI140, name: "borderRightWidth", sons: null},
+{kind: 1, offset: "borderStyle", len: 0, typ: NTI140, name: "borderStyle", sons: null},
+{kind: 1, offset: "borderTop", len: 0, typ: NTI140, name: "borderTop", sons: null},
+{kind: 1, offset: "borderTopColor", len: 0, typ: NTI140, name: "borderTopColor", sons: null},
+{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI140, name: "borderTopStyle", sons: null},
+{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI140, name: "borderTopWidth", sons: null},
+{kind: 1, offset: "borderWidth", len: 0, typ: NTI140, name: "borderWidth", sons: null},
+{kind: 1, offset: "bottom", len: 0, typ: NTI140, name: "bottom", sons: null},
+{kind: 1, offset: "captionSide", len: 0, typ: NTI140, name: "captionSide", sons: null},
+{kind: 1, offset: "clear", len: 0, typ: NTI140, name: "clear", sons: null},
+{kind: 1, offset: "clip", len: 0, typ: NTI140, name: "clip", sons: null},
+{kind: 1, offset: "color", len: 0, typ: NTI140, name: "color", sons: null},
+{kind: 1, offset: "cursor", len: 0, typ: NTI140, name: "cursor", sons: null},
+{kind: 1, offset: "direction", len: 0, typ: NTI140, name: "direction", sons: null},
+{kind: 1, offset: "display", len: 0, typ: NTI140, name: "display", sons: null},
+{kind: 1, offset: "emptyCells", len: 0, typ: NTI140, name: "emptyCells", sons: null},
+{kind: 1, offset: "cssFloat", len: 0, typ: NTI140, name: "cssFloat", sons: null},
+{kind: 1, offset: "font", len: 0, typ: NTI140, name: "font", sons: null},
+{kind: 1, offset: "fontFamily", len: 0, typ: NTI140, name: "fontFamily", sons: null},
+{kind: 1, offset: "fontSize", len: 0, typ: NTI140, name: "fontSize", sons: null},
+{kind: 1, offset: "fontStretch", len: 0, typ: NTI140, name: "fontStretch", sons: null},
+{kind: 1, offset: "fontStyle", len: 0, typ: NTI140, name: "fontStyle", sons: null},
+{kind: 1, offset: "fontVariant", len: 0, typ: NTI140, name: "fontVariant", sons: null},
+{kind: 1, offset: "fontWeight", len: 0, typ: NTI140, name: "fontWeight", sons: null},
+{kind: 1, offset: "height", len: 0, typ: NTI140, name: "height", sons: null},
+{kind: 1, offset: "left", len: 0, typ: NTI140, name: "left", sons: null},
+{kind: 1, offset: "letterSpacing", len: 0, typ: NTI140, name: "letterSpacing", sons: null},
+{kind: 1, offset: "lineHeight", len: 0, typ: NTI140, name: "lineHeight", sons: null},
+{kind: 1, offset: "listStyle", len: 0, typ: NTI140, name: "listStyle", sons: null},
+{kind: 1, offset: "listStyleImage", len: 0, typ: NTI140, name: "listStyleImage", sons: null},
+{kind: 1, offset: "listStylePosition", len: 0, typ: NTI140, name: "listStylePosition", sons: null},
+{kind: 1, offset: "listStyleType", len: 0, typ: NTI140, name: "listStyleType", sons: null},
+{kind: 1, offset: "margin", len: 0, typ: NTI140, name: "margin", sons: null},
+{kind: 1, offset: "marginBottom", len: 0, typ: NTI140, name: "marginBottom", sons: null},
+{kind: 1, offset: "marginLeft", len: 0, typ: NTI140, name: "marginLeft", sons: null},
+{kind: 1, offset: "marginRight", len: 0, typ: NTI140, name: "marginRight", sons: null},
+{kind: 1, offset: "marginTop", len: 0, typ: NTI140, name: "marginTop", sons: null},
+{kind: 1, offset: "maxHeight", len: 0, typ: NTI140, name: "maxHeight", sons: null},
+{kind: 1, offset: "maxWidth", len: 0, typ: NTI140, name: "maxWidth", sons: null},
+{kind: 1, offset: "minHeight", len: 0, typ: NTI140, name: "minHeight", sons: null},
+{kind: 1, offset: "minWidth", len: 0, typ: NTI140, name: "minWidth", sons: null},
+{kind: 1, offset: "overflow", len: 0, typ: NTI140, name: "overflow", sons: null},
+{kind: 1, offset: "padding", len: 0, typ: NTI140, name: "padding", sons: null},
+{kind: 1, offset: "paddingBottom", len: 0, typ: NTI140, name: "paddingBottom", sons: null},
+{kind: 1, offset: "paddingLeft", len: 0, typ: NTI140, name: "paddingLeft", sons: null},
+{kind: 1, offset: "paddingRight", len: 0, typ: NTI140, name: "paddingRight", sons: null},
+{kind: 1, offset: "paddingTop", len: 0, typ: NTI140, name: "paddingTop", sons: null},
+{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI140, name: "pageBreakAfter", sons: null},
+{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI140, name: "pageBreakBefore", sons: null},
+{kind: 1, offset: "pointerEvents", len: 0, typ: NTI140, name: "pointerEvents", sons: null},
+{kind: 1, offset: "position", len: 0, typ: NTI140, name: "position", sons: null},
+{kind: 1, offset: "right", len: 0, typ: NTI140, name: "right", sons: null},
+{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI140, name: "scrollbar3dLightColor", sons: null},
+{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI140, name: "scrollbarArrowColor", sons: null},
+{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI140, name: "scrollbarBaseColor", sons: null},
+{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI140, name: "scrollbarDarkshadowColor", sons: null},
+{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI140, name: "scrollbarFaceColor", sons: null},
+{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI140, name: "scrollbarHighlightColor", sons: null},
+{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI140, name: "scrollbarShadowColor", sons: null},
+{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI140, name: "scrollbarTrackColor", sons: null},
+{kind: 1, offset: "tableLayout", len: 0, typ: NTI140, name: "tableLayout", sons: null},
+{kind: 1, offset: "textAlign", len: 0, typ: NTI140, name: "textAlign", sons: null},
+{kind: 1, offset: "textDecoration", len: 0, typ: NTI140, name: "textDecoration", sons: null},
+{kind: 1, offset: "textIndent", len: 0, typ: NTI140, name: "textIndent", sons: null},
+{kind: 1, offset: "textTransform", len: 0, typ: NTI140, name: "textTransform", sons: null},
+{kind: 1, offset: "transform", len: 0, typ: NTI140, name: "transform", sons: null},
+{kind: 1, offset: "top", len: 0, typ: NTI140, name: "top", sons: null},
+{kind: 1, offset: "verticalAlign", len: 0, typ: NTI140, name: "verticalAlign", sons: null},
+{kind: 1, offset: "visibility", len: 0, typ: NTI140, name: "visibility", sons: null},
+{kind: 1, offset: "width", len: 0, typ: NTI140, name: "width", sons: null},
+{kind: 1, offset: "wordSpacing", len: 0, typ: NTI140, name: "wordSpacing", sons: null},
+{kind: 1, offset: "zIndex", len: 0, typ: NTI104, name: "zIndex", sons: null}]};
+NTI42283.node = NNI42283;
+NTI42283.base = NTI4008;
+NTI42281.base = NTI42283;
+var NNI42231 = {kind: 2, len: 14, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI42561, name: "attributes", sons: null},
+{kind: 1, offset: "childNodes", len: 0, typ: NTI42563, name: "childNodes", sons: null},
+{kind: 1, offset: "children", len: 0, typ: NTI42565, name: "children", sons: null},
+{kind: 1, offset: "data", len: 0, typ: NTI140, name: "data", sons: null},
+{kind: 1, offset: "firstChild", len: 0, typ: NTI42229, name: "firstChild", sons: null},
+{kind: 1, offset: "lastChild", len: 0, typ: NTI42229, name: "lastChild", sons: null},
+{kind: 1, offset: "nextSibling", len: 0, typ: NTI42229, name: "nextSibling", sons: null},
+{kind: 1, offset: "nodeName", len: 0, typ: NTI140, name: "nodeName", sons: null},
+{kind: 1, offset: "nodeType", len: 0, typ: NTI42227, name: "nodeType", sons: null},
+{kind: 1, offset: "nodeValue", len: 0, typ: NTI140, name: "nodeValue", sons: null},
+{kind: 1, offset: "parentNode", len: 0, typ: NTI42229, name: "parentNode", sons: null},
+{kind: 1, offset: "previousSibling", len: 0, typ: NTI42229, name: "previousSibling", sons: null},
+{kind: 1, offset: "innerHTML", len: 0, typ: NTI140, name: "innerHTML", sons: null},
+{kind: 1, offset: "style", len: 0, typ: NTI42281, name: "style", sons: null}]};
+NTI42231.node = NNI42231;
+var NNI42205 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI42372, name: "onabort", sons: null},
+{kind: 1, offset: "onblur", len: 0, typ: NTI42376, name: "onblur", sons: null},
+{kind: 1, offset: "onchange", len: 0, typ: NTI42380, name: "onchange", sons: null},
+{kind: 1, offset: "onclick", len: 0, typ: NTI42384, name: "onclick", sons: null},
+{kind: 1, offset: "ondblclick", len: 0, typ: NTI42388, name: "ondblclick", sons: null},
+{kind: 1, offset: "onerror", len: 0, typ: NTI42392, name: "onerror", sons: null},
+{kind: 1, offset: "onfocus", len: 0, typ: NTI42396, name: "onfocus", sons: null},
+{kind: 1, offset: "onkeydown", len: 0, typ: NTI42400, name: "onkeydown", sons: null},
+{kind: 1, offset: "onkeypress", len: 0, typ: NTI42404, name: "onkeypress", sons: null},
+{kind: 1, offset: "onkeyup", len: 0, typ: NTI42408, name: "onkeyup", sons: null},
+{kind: 1, offset: "onload", len: 0, typ: NTI42412, name: "onload", sons: null},
+{kind: 1, offset: "onmousedown", len: 0, typ: NTI42416, name: "onmousedown", sons: null},
+{kind: 1, offset: "onmousemove", len: 0, typ: NTI42420, name: "onmousemove", sons: null},
+{kind: 1, offset: "onmouseout", len: 0, typ: NTI42424, name: "onmouseout", sons: null},
+{kind: 1, offset: "onmouseover", len: 0, typ: NTI42428, name: "onmouseover", sons: null},
+{kind: 1, offset: "onmouseup", len: 0, typ: NTI42432, name: "onmouseup", sons: null},
+{kind: 1, offset: "onreset", len: 0, typ: NTI42436, name: "onreset", sons: null},
+{kind: 1, offset: "onselect", len: 0, typ: NTI42440, name: "onselect", sons: null},
+{kind: 1, offset: "onsubmit", len: 0, typ: NTI42444, name: "onsubmit", sons: null},
+{kind: 1, offset: "onunload", len: 0, typ: NTI42448, name: "onunload", sons: null}]};
+NTI42205.node = NNI42205;
+NTI42205.base = NTI4008;
+NTI42231.base = NTI42205;
+NTI42229.base = NTI42231;
+NTI44305.base = NTI42229;
+NTI164579.base = NTI140;
+var NNI4062 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI4062.node = NNI4062;
+NTI4062.base = NTI4028;
+var NNI162074 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI104, name: "Field0", sons: null},
+{kind: 1, offset: "Field1", len: 0, typ: NTI130, name: "Field1", sons: null}]};
+NTI162074.node = NNI162074;
+
+function makeNimstrLit(c_23254) {
+ var ln = c_23254.length;
+ var result = new Array(ln);
+ for (var i = 0; i < ln; ++i) {
+ result[i] = c_23254.charCodeAt(i);
+ }
+ return result;
+
+
+
+}
+
+function setConstr() {
+ var result = {};
+ for (var i = 0; i < arguments.length; ++i) {
+ var x = arguments[i];
+ if (typeof(x) == "object") {
+ for (var j = x[0]; j <= x[1]; ++j) {
+ result[j] = true;
+ }
+ } else {
+ result[x] = true;
+ }
+ }
+ return result;
+
+
+
+}
+var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
+
+function nimCopy(dest_24427, src_24428, ti_24429) {
+ var result_24619 = null;
+
+ switch (ti_24429.kind) {
+ case 21:
+ case 22:
+ case 23:
+ case 5:
+ if (!(is_fat_pointer_24401(ti_24429))) {
+ result_24619 = src_24428;
+ }
+ else {
+ result_24619 = [src_24428[0], src_24428[1]];
+ }
+
+ break;
+ case 19:
+ if (dest_24427 === null || dest_24427 === undefined) {
+ dest_24427 = {};
+ }
+ else {
+ for (var key in dest_24427) { delete dest_24427[key]; }
+ }
+ for (var key in src_24428) { dest_24427[key] = src_24428[key]; }
+ result_24619 = dest_24427;
+
+ break;
+ case 18:
+ case 17:
+ if (!((ti_24429.base == null))) {
+ result_24619 = nimCopy(dest_24427, src_24428, ti_24429.base);
+ }
+ else {
+ if ((ti_24429.kind == 17)) {
+ result_24619 = (dest_24427 === null || dest_24427 === undefined) ? {m_type: ti_24429} : dest_24427;
+ }
+ else {
+ result_24619 = (dest_24427 === null || dest_24427 === undefined) ? {} : dest_24427;
+ }
+ }
+ nimCopyAux(result_24619, src_24428, ti_24429.node);
+ break;
+ case 24:
+ case 4:
+ case 27:
+ case 16:
+ if (src_24428 === null) {
+ result_24619 = null;
+ }
+ else {
+ if (dest_24427 === null || dest_24427 === undefined) {
+ dest_24427 = new Array(src_24428.length);
+ }
+ else {
+ dest_24427.length = src_24428.length;
+ }
+ result_24619 = dest_24427;
+ for (var i = 0; i < src_24428.length; ++i) {
+ result_24619[i] = nimCopy(result_24619[i], src_24428[i], ti_24429.base);
+ }
+ }
+
+ break;
+ case 28:
+ if (src_24428 !== null) {
+ result_24619 = src_24428.slice(0);
+ }
+
+ break;
+ default:
+ result_24619 = src_24428;
+ break;
+ }
+
+ return result_24619;
+
+}
+
+function arrayConstr(len_24686, value_24687, typ_24688) {
+ var result = new Array(len_24686);
+ for (var i = 0; i < len_24686; ++i) result[i] = nimCopy(null, value_24687, typ_24688);
+ return result;
+
+
+
+}
+
+function cstrToNimstr(c_23271) {
+ var ln = c_23271.length;
+ var result = new Array(ln);
+ var r = 0;
+ for (var i = 0; i < ln; ++i) {
+ var ch = c_23271.charCodeAt(i);
+
+ if (ch < 128) {
+ result[r] = ch;
+ }
+ else {
+ if (ch < 2048) {
+ result[r] = (ch >> 6) | 192;
+ }
+ else {
+ if (ch < 55296 || ch >= 57344) {
+ result[r] = (ch >> 12) | 224;
+ }
+ else {
+ ++i;
+ ch = 65536 + (((ch & 1023) << 10) | (c_23271.charCodeAt(i) & 1023));
+ result[r] = (ch >> 18) | 240;
+ ++r;
+ result[r] = ((ch >> 12) & 63) | 128;
+ }
+ ++r;
+ result[r] = ((ch >> 6) & 63) | 128;
+ }
+ ++r;
+ result[r] = (ch & 63) | 128;
+ }
+ ++r;
+ }
+ return result;
+
+
+
+}
+
+function toJSStr(s_23288) {
+ if (s_23288 === null) return "";
+ var len = s_23288.length;
+ var asciiPart = new Array(len);
+ var fcc = String.fromCharCode;
+ var nonAsciiPart = null;
+ var nonAsciiOffset = 0;
+ for (var i = 0; i < len; ++i) {
+ if (nonAsciiPart !== null) {
+ var offset = (i - nonAsciiOffset) * 2;
+ var code = s_23288[i].toString(16);
+ if (code.length == 1) {
+ code = "0"+code;
+ }
+ nonAsciiPart[offset] = "%";
+ nonAsciiPart[offset + 1] = code;
+ }
+ else if (s_23288[i] < 128)
+ asciiPart[i] = fcc(s_23288[i]);
+ else {
+ asciiPart.length = i;
+ nonAsciiOffset = i;
+ nonAsciiPart = new Array((len - i) * 2);
+ --i;
+ }
+ }
+ asciiPart = asciiPart.join("");
+ return (nonAsciiPart === null) ?
+ asciiPart : asciiPart + decodeURIComponent(nonAsciiPart.join(""));
+
+
+
+}
+
+function raiseException(e_21618, ename_21619) {
+ e_21618.name = ename_21619;
+ if ((excHandler == 0)) {
+ unhandledException(e_21618);
+ }
+
+ e_21618.trace = nimCopy(null, raw_write_stack_trace_21468(), NTI138);
+ throw e_21618;
+
+
+}
+
+function addInt(a_23603, b_23604) {
+ var result = a_23603 + b_23604;
+ if (result > 2147483647 || result < -2147483648) raiseOverflow();
+ return result;
+
+
+
+}
+
+function chckIndx(i_24705, a_24706, b_24707) {
+ var Tmp1;
+
+ var result_24708 = 0;
+
+ BeforeRet: do {
+ if (!(a_24706 <= i_24705)) Tmp1 = false; else { Tmp1 = (i_24705 <= b_24707); } if (Tmp1) {
+ result_24708 = i_24705;
+ break BeforeRet;
+ }
+ else {
+ raiseIndexError(i_24705, a_24706, b_24707);
+ }
+
+ } while (false);
+
+ return result_24708;
+
+}
+
+function subInt(a_23621, b_23622) {
+ var result = a_23621 - b_23622;
+ if (result > 2147483647 || result < -2147483648) raiseOverflow();
+ return result;
+
+
+
+}
+var ConstSet2 = setConstr([65, 90]);
+
+function chckRange(i_24724, a_24725, b_24726) {
+ var Tmp1;
+
+ var result_24727 = 0;
+
+ BeforeRet: do {
+ if (!(a_24725 <= i_24724)) Tmp1 = false; else { Tmp1 = (i_24724 <= b_24726); } if (Tmp1) {
+ result_24727 = i_24724;
+ break BeforeRet;
+ }
+ else {
+ raiseRangeError();
+ }
+
+ } while (false);
+
+ return result_24727;
+
+}
+var ConstSet3 = setConstr(95, 32, 46);
+var ConstSet4 = setConstr(95, 32, 46);
+
+function mulInt(a_23639, b_23640) {
+ var result = a_23639 * b_23640;
+ if (result > 2147483647 || result < -2147483648) raiseOverflow();
+ return result;
+
+
+
+}
+var ConstSet5 = setConstr([97, 122]);
+var ConstSet6 = setConstr([65, 90], [97, 122]);
+var ConstSet7 = setConstr([97, 122]);
+var ConstSet8 = setConstr([65, 90]);
+
+function nimMax(a_24021, b_24022) {
+ var Tmp1;
+
+ var result_24023 = 0;
+
+ BeforeRet: do {
+ if ((b_24022 <= a_24021)) {
+ Tmp1 = a_24021;
+ }
+ else {
+ Tmp1 = b_24022;
+ }
+
+ result_24023 = Tmp1;
+ break BeforeRet;
+ } while (false);
+
+ return result_24023;
+
+}
+
+function nimMin(a_24003, b_24004) {
+ var Tmp1;
+
+ var result_24005 = 0;
+
+ BeforeRet: do {
+ if ((a_24003 <= b_24004)) {
+ Tmp1 = a_24003;
+ }
+ else {
+ Tmp1 = b_24004;
+ }
+
+ result_24005 = Tmp1;
+ break BeforeRet;
+ } while (false);
+
+ return result_24005;
+
+}
+var nim_program_result = 0;
+var global_raise_hook_18618 = [null];
+var local_raise_hook_18623 = [null];
+var out_of_mem_hook_18626 = [null];
+ if (!Math.trunc) {
+ Math.trunc = function(v) {
+ v = +v;
+ if (!isFinite(v)) return v;
+
+ return (v - v % 1) || (v < 0 ? -0 : v === 0 ? v : 0);
+ };
+ }
+var alternative_164315 = [null];
+
+function is_fat_pointer_24401(ti_24403) {
+ var result_24404 = false;
+
+ BeforeRet: do {
+ result_24404 = !((ConstSet1[ti_24403.base.kind] != undefined));
+ break BeforeRet;
+ } while (false);
+
+ return result_24404;
+
+}
+
+function nimCopyAux(dest_24432, src_24433, n_24435) {
+ switch (n_24435.kind) {
+ case 0:
+ break;
+ case 1:
+ dest_24432[n_24435.offset] = nimCopy(dest_24432[n_24435.offset], src_24433[n_24435.offset], n_24435.typ);
+
+ break;
+ case 2:
+ for (var i = 0; i < n_24435.sons.length; i++) {
+ nimCopyAux(dest_24432, src_24433, n_24435.sons[i]);
+ }
+
+ break;
+ case 3:
+ dest_24432[n_24435.offset] = nimCopy(dest_24432[n_24435.offset], src_24433[n_24435.offset], n_24435.typ);
+ for (var i = 0; i < n_24435.sons.length; ++i) {
+ nimCopyAux(dest_24432, src_24433, n_24435.sons[i][1]);
+ }
+
+ break;
+ }
+
+
+}
+
+function add_18638(x_18641, x_18641_Idx, y_18642) {
+ if (x_18641[x_18641_Idx] === null) { x_18641[x_18641_Idx] = []; }
+ var off = x_18641[x_18641_Idx].length;
+ x_18641[x_18641_Idx].length += y_18642.length;
+ for (var i = 0; i < y_18642.length; ++i) {
+ x_18641[x_18641_Idx][off+i] = y_18642.charCodeAt(i);
+ }
+
+
+
+}
+
+function aux_write_stack_trace_21151(f_21153) {
+ var Tmp3;
+
+ var result_21154 = [null];
+
+ var it_21162 = f_21153;
+ var i_21164 = 0;
+ var total_21166 = 0;
+ var temp_frames_21173 = arrayConstr(64, {Field0: null, Field1: 0}, NTI21156);
+ L1: do {
+ L2: while (true) {
+ if (!!((it_21162 == null))) Tmp3 = false; else { Tmp3 = (i_21164 <= 63); } if (!Tmp3) break L2;
+ temp_frames_21173[i_21164].Field0 = it_21162.procname;
+ temp_frames_21173[i_21164].Field1 = it_21162.line;
+ i_21164 += 1;
+ total_21166 += 1;
+ it_21162 = it_21162.prev;
+ }
+ } while(false);
+ L4: do {
+ L5: while (true) {
+ if (!!((it_21162 == null))) break L5;
+ total_21166 += 1;
+ it_21162 = it_21162.prev;
+ }
+ } while(false);
+ result_21154[0] = nimCopy(null, [], NTI138);
+ if (!((total_21166 == i_21164))) {
+ if (result_21154[0] != null) { result_21154[0] = (result_21154[0]).concat(makeNimstrLit("(")); } else { result_21154[0] = makeNimstrLit("("); };
+ if (result_21154[0] != null) { result_21154[0] = (result_21154[0]).concat(cstrToNimstr(((total_21166 - i_21164))+"")); } else { result_21154[0] = cstrToNimstr(((total_21166 - i_21164))+"").slice(); };
+ if (result_21154[0] != null) { result_21154[0] = (result_21154[0]).concat(makeNimstrLit(" calls omitted) ...\x0A")); } else { result_21154[0] = makeNimstrLit(" calls omitted) ...\x0A"); };
+ }
+
+ L6: do {
+ var j_21421 = 0;
+ var colontmp__164456 = 0;
+ colontmp__164456 = (i_21164 - 1);
+ var res_164461 = colontmp__164456;
+ L7: do {
+ L8: while (true) {
+ if (!(0 <= res_164461)) break L8;
+ j_21421 = res_164461;
+ add_18638(result_21154, 0, temp_frames_21173[j_21421].Field0);
+ if ((0 < temp_frames_21173[j_21421].Field1)) {
+ if (result_21154[0] != null) { result_21154[0] = (result_21154[0]).concat(makeNimstrLit(", line: ")); } else { result_21154[0] = makeNimstrLit(", line: "); };
+ if (result_21154[0] != null) { result_21154[0] = (result_21154[0]).concat(cstrToNimstr((temp_frames_21173[j_21421].Field1)+"")); } else { result_21154[0] = cstrToNimstr((temp_frames_21173[j_21421].Field1)+"").slice(); };
+ }
+
+ if (result_21154[0] != null) { result_21154[0] = (result_21154[0]).concat(makeNimstrLit("\x0A")); } else { result_21154[0] = makeNimstrLit("\x0A"); };
+ res_164461 -= 1;
+ }
+ } while(false);
+ } while(false);
+
+ return result_21154[0];
+
+}
+
+function raw_write_stack_trace_21468() {
+ var result_21470 = null;
+
+ if (!((framePtr == null))) {
+ result_21470 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(aux_write_stack_trace_21151(framePtr) || []), NTI138);
+ }
+ else {
+ result_21470 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI138);
+ }
+
+
+ return result_21470;
+
+}
+
+function unhandledException(e_21529) {
+ var buf_21530 = [[]];
+ if (!(((e_21529.message != null ? e_21529.message.length : 0) == 0))) {
+ if (buf_21530[0] != null) { buf_21530[0] = (buf_21530[0]).concat(makeNimstrLit("Error: unhandled exception: ")); } else { buf_21530[0] = makeNimstrLit("Error: unhandled exception: "); };
+ if (buf_21530[0] != null) { buf_21530[0] = (buf_21530[0]).concat(e_21529.message); } else { buf_21530[0] = e_21529.message.slice(); };
+ }
+ else {
+ if (buf_21530[0] != null) { buf_21530[0] = (buf_21530[0]).concat(makeNimstrLit("Error: unhandled exception")); } else { buf_21530[0] = makeNimstrLit("Error: unhandled exception"); };
+ }
+
+ if (buf_21530[0] != null) { buf_21530[0] = (buf_21530[0]).concat(makeNimstrLit(" [")); } else { buf_21530[0] = makeNimstrLit(" ["); };
+ add_18638(buf_21530, 0, e_21529.name);
+ if (buf_21530[0] != null) { buf_21530[0] = (buf_21530[0]).concat(makeNimstrLit("]\x0A")); } else { buf_21530[0] = makeNimstrLit("]\x0A"); };
+ if (buf_21530[0] != null) { buf_21530[0] = (buf_21530[0]).concat(raw_write_stack_trace_21468()); } else { buf_21530[0] = raw_write_stack_trace_21468().slice(); };
+ var cbuf_21601 = toJSStr(buf_21530[0]);
+ framePtr = null;
+ if (typeof(Error) !== "undefined") {
+ throw new Error(cbuf_21601);
+ }
+ else {
+ throw cbuf_21601;
+ }
+
+
+
+}
+
+function raiseOverflow() {
+ var e_22042 = null;
+ e_22042 = {m_type: NTI4046, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ e_22042.message = nimCopy(null, makeNimstrLit("over- or underflow"), NTI138);
+ e_22042.parent = null;
+ raiseException(e_22042, "OverflowError");
+
+
+}
+
+function is_whitespace_163654(text_163656) {
+ return !/[^\s]/.test(text_163656);
+
+
+
+}
+
+function is_whitespace_163671(x_163673) {
+ var Tmp1;
+ var Tmp2;
+
+ var result_163674 = false;
+
+ var F={procname:"dochack.isWhitespace",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 134;
+ if (!(x_163673.nodeName == "#text")) Tmp2 = false; else { Tmp2 = is_whitespace_163654(x_163673.textContent); } if (Tmp2) Tmp1 = true; else { Tmp1 = (x_163673.nodeName == "#comment"); } result_163674 = Tmp1;
+ framePtr = F.prev;
+
+ return result_163674;
+
+}
+
+function raiseIndexError(i_22639, a_22640, b_22641) {
+ var Tmp1;
+
+ var e_22802 = null;
+ e_22802 = {m_type: NTI4058, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ if ((b_22641 < a_22640)) {
+ Tmp1 = makeNimstrLit("index out of bounds, the container is empty");
+ }
+ else {
+ Tmp1 = (makeNimstrLit("index ") || []).concat(cstrToNimstr((i_22639)+"") || [],makeNimstrLit(" not in ") || [],cstrToNimstr((a_22640)+"") || [],makeNimstrLit(" .. ") || [],cstrToNimstr((b_22641)+"") || []);
+ }
+
+ e_22802.message = nimCopy(null, Tmp1, NTI138);
+ e_22802.parent = null;
+ raiseException(e_22802, "IndexError");
+
+
+}
+
+function to_toc_163688(x_163690, father_163691) {
+ var Tmp5;
+ var Tmp6;
+ var Tmp7;
+ var Tmp8;
+ var Tmp15;
+
+ var F={procname:"dochack.toToc",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ if ((x_163690.nodeName == "UL")) {
+ F.line = 139;
+ var f_163710 = {heading: null, kids: [], sortId: (father_163691.kids != null ? father_163691.kids.length : 0), doSort: false};
+ F.line = 140;
+ var i_163712 = 0;
+ L1: do {
+ F.line = 141;
+ L2: while (true) {
+ if (!(i_163712 < x_163690.childNodes.length)) break L2;
+ F.line = 142;
+ var nxt_163713 = addInt(i_163712, 1);
+ L3: do {
+ F.line = 143;
+ L4: while (true) {
+ if (!(nxt_163713 < x_163690.childNodes.length)) Tmp5 = false; else { Tmp5 = is_whitespace_163671(x_163690.childNodes[nxt_163713]); } if (!Tmp5) break L4;
+ F.line = 144;
+ nxt_163713 = addInt(nxt_163713, 1);
+ }
+ } while(false);
+ if (!(nxt_163713 < x_163690.childNodes.length)) Tmp8 = false; else { Tmp8 = (x_163690.childNodes[i_163712].nodeName == "LI"); } if (!Tmp8) Tmp7 = false; else { Tmp7 = (x_163690.childNodes[i_163712].childNodes.length == 1); } if (!Tmp7) Tmp6 = false; else { Tmp6 = (x_163690.childNodes[nxt_163713].nodeName == "UL"); } if (Tmp6) {
+ F.line = 147;
+ var e_163738 = {heading: x_163690.childNodes[i_163712].childNodes[0], kids: [], sortId: (f_163710.kids != null ? f_163710.kids.length : 0), doSort: false};
+ F.line = 148;
+ var it_163739 = x_163690.childNodes[nxt_163713];
+ L9: do {
+ F.line = 149;
+ var j_163747 = 0;
+ F.line = 2716;
+ var colontmp__164432 = 0;
+ F.line = 149;
+ colontmp__164432 = it_163739.childNodes.length;
+ F.line = 2717;
+ var i_164433 = 0;
+ L10: do {
+ F.line = 2718;
+ L11: while (true) {
+ if (!(i_164433 < colontmp__164432)) break L11;
+ F.line = 149;
+ j_163747 = i_164433;
+ F.line = 150;
+ to_toc_163688(it_163739.childNodes[j_163747], e_163738);
+ F.line = 2720;
+ i_164433 = addInt(i_164433, 1);
+ }
+ } while(false);
+ } while(false);
+ F.line = 151;
+ if (f_163710.kids != null) { f_163710.kids.push(e_163738); } else { f_163710.kids = [e_163738]; };
+ F.line = 152;
+ i_163712 = addInt(nxt_163713, 1);
+ }
+ else {
+ F.line = 154;
+ to_toc_163688(x_163690.childNodes[i_163712], f_163710);
+ F.line = 155;
+ i_163712 = addInt(i_163712, 1);
+ }
+
+ }
+ } while(false);
+ F.line = 156;
+ if (father_163691.kids != null) { father_163691.kids.push(f_163710); } else { father_163691.kids = [f_163710]; };
+ }
+ else {
+ if (is_whitespace_163671(x_163690)) {
+ }
+ else {
+ if ((x_163690.nodeName == "LI")) {
+ F.line = 160;
+ var idx_163782 = [];
+ L12: do {
+ F.line = 161;
+ var i_163790 = 0;
+ F.line = 2716;
+ var colontmp__164437 = 0;
+ F.line = 161;
+ colontmp__164437 = x_163690.childNodes.length;
+ F.line = 2717;
+ var i_164438 = 0;
+ L13: do {
+ F.line = 2718;
+ L14: while (true) {
+ if (!(i_164438 < colontmp__164437)) break L14;
+ F.line = 161;
+ i_163790 = i_164438;
+ if (!(is_whitespace_163671(x_163690.childNodes[i_163790]))) {
+ F.line = 162;
+ if (idx_163782 != null) { idx_163782.push(i_163790); } else { idx_163782 = [i_163790]; };
+ }
+
+ F.line = 2720;
+ i_164438 = addInt(i_164438, 1);
+ }
+ } while(false);
+ } while(false);
+ if (!((idx_163782 != null ? idx_163782.length : 0) == 2)) Tmp15 = false; else { Tmp15 = (x_163690.childNodes[idx_163782[chckIndx(1, 0, idx_163782.length+0-1)-0]].nodeName == "UL"); } if (Tmp15) {
+ F.line = 164;
+ var e_163821 = {heading: x_163690.childNodes[idx_163782[chckIndx(0, 0, idx_163782.length+0-1)-0]], kids: [], sortId: (father_163691.kids != null ? father_163691.kids.length : 0), doSort: false};
+ F.line = 166;
+ var it_163822 = x_163690.childNodes[idx_163782[chckIndx(1, 0, idx_163782.length+0-1)-0]];
+ L16: do {
+ F.line = 167;
+ var j_163830 = 0;
+ F.line = 2716;
+ var colontmp__164443 = 0;
+ F.line = 167;
+ colontmp__164443 = it_163822.childNodes.length;
+ F.line = 2717;
+ var i_164444 = 0;
+ L17: do {
+ F.line = 2718;
+ L18: while (true) {
+ if (!(i_164444 < colontmp__164443)) break L18;
+ F.line = 167;
+ j_163830 = i_164444;
+ F.line = 168;
+ to_toc_163688(it_163822.childNodes[j_163830], e_163821);
+ F.line = 2720;
+ i_164444 = addInt(i_164444, 1);
+ }
+ } while(false);
+ } while(false);
+ F.line = 169;
+ if (father_163691.kids != null) { father_163691.kids.push(e_163821); } else { father_163691.kids = [e_163821]; };
+ }
+ else {
+ L19: do {
+ F.line = 171;
+ var i_163845 = 0;
+ F.line = 2716;
+ var colontmp__164448 = 0;
+ F.line = 171;
+ colontmp__164448 = x_163690.childNodes.length;
+ F.line = 2717;
+ var i_164449 = 0;
+ L20: do {
+ F.line = 2718;
+ L21: while (true) {
+ if (!(i_164449 < colontmp__164448)) break L21;
+ F.line = 171;
+ i_163845 = i_164449;
+ F.line = 172;
+ to_toc_163688(x_163690.childNodes[i_163845], father_163691);
+ F.line = 2720;
+ i_164449 = addInt(i_164449, 1);
+ }
+ } while(false);
+ } while(false);
+ }
+
+ }
+ else {
+ F.line = 174;
+ if (father_163691.kids != null) { father_163691.kids.push({heading: x_163690, kids: [], sortId: (father_163691.kids != null ? father_163691.kids.length : 0), doSort: false}); } else { father_163691.kids = [{heading: x_163690, kids: [], sortId: (father_163691.kids != null ? father_163691.kids.length : 0), doSort: false}]; };
+ }
+ }}
+ framePtr = F.prev;
+
+
+}
+
+function extract_items_163339(x_163341, heading_163342, items_163345, items_163345_Idx) {
+ var Tmp1;
+
+ var F={procname:"dochack.extractItems",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ BeforeRet: do {
+ if ((x_163341 == null)) {
+ F.line = 81;
+ break BeforeRet;
+ }
+
+ if (!!((x_163341.heading == null))) Tmp1 = false; else { Tmp1 = (x_163341.heading.textContent == heading_163342); } if (Tmp1) {
+ L2: do {
+ F.line = 83;
+ var i_163374 = 0;
+ F.line = 2716;
+ var colontmp__164475 = 0;
+ F.line = 83;
+ colontmp__164475 = (x_163341.kids != null ? x_163341.kids.length : 0);
+ F.line = 2717;
+ var i_164476 = 0;
+ L3: do {
+ F.line = 2718;
+ L4: while (true) {
+ if (!(i_164476 < colontmp__164475)) break L4;
+ F.line = 83;
+ i_163374 = i_164476;
+ F.line = 84;
+ if (items_163345[items_163345_Idx] != null) { items_163345[items_163345_Idx].push(x_163341.kids[chckIndx(i_163374, 0, x_163341.kids.length+0-1)-0].heading); } else { items_163345[items_163345_Idx] = [x_163341.kids[chckIndx(i_163374, 0, x_163341.kids.length+0-1)-0].heading]; };
+ F.line = 2720;
+ i_164476 = addInt(i_164476, 1);
+ }
+ } while(false);
+ } while(false);
+ }
+ else {
+ L5: do {
+ F.line = 86;
+ var i_163394 = 0;
+ F.line = 2716;
+ var colontmp__164480 = 0;
+ F.line = 86;
+ colontmp__164480 = (x_163341.kids != null ? x_163341.kids.length : 0);
+ F.line = 2717;
+ var i_164481 = 0;
+ L6: do {
+ F.line = 2718;
+ L7: while (true) {
+ if (!(i_164481 < colontmp__164480)) break L7;
+ F.line = 86;
+ i_163394 = i_164481;
+ F.line = 87;
+ var it_163395 = x_163341.kids[chckIndx(i_163394, 0, x_163341.kids.length+0-1)-0];
+ F.line = 88;
+ extract_items_163339(it_163395, heading_163342, items_163345, items_163345_Idx);
+ F.line = 2720;
+ i_164481 = addInt(i_164481, 1);
+ }
+ } while(false);
+ } while(false);
+ }
+
+ } while (false);
+ framePtr = F.prev;
+
+
+}
+
+function tree_163020(tag_163022, kids_163024) {
+ var result_163025 = null;
+
+ var F={procname:"dochack.tree",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 11;
+ result_163025 = document.createElement(toJSStr(tag_163022));
+ L1: do {
+ F.line = 12;
+ var k_163056 = null;
+ F.line = 3;
+ var i_164498 = 0;
+ L2: do {
+ F.line = 4;
+ L3: while (true) {
+ if (!(i_164498 < (kids_163024 != null ? kids_163024.length : 0))) break L3;
+ F.line = 12;
+ k_163056 = kids_163024[chckIndx(i_164498, 0, kids_163024.length+0-1)-0];
+ F.line = 13;
+ result_163025.appendChild(k_163056);
+ F.line = 6;
+ i_164498 = addInt(i_164498, 1);
+ }
+ } while(false);
+ } while(false);
+ framePtr = F.prev;
+
+ return result_163025;
+
+}
+
+function text_163152(s_163154) {
+ var result_163155 = null;
+
+ var F={procname:"dochack.text",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 27;
+ result_163155 = document.createTextNode(s_163154);
+ framePtr = F.prev;
+
+ return result_163155;
+
+}
+
+function sys_fatal_14862(message_14866) {
+ var F={procname:"sysFatal.sysFatal",prev:framePtr,filename:"fatal.nim",line:0};
+ framePtr = F;
+ F.line = 34;
+ var e_15003 = null;
+ F.line = 37;
+ e_15003 = {m_type: NTI4050, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ F.line = 38;
+ e_15003.message = nimCopy(null, message_14866, NTI138);
+ F.line = 39;
+ raiseException(e_15003, "AssertionError");
+ framePtr = F.prev;
+
+
+}
+
+function raise_assert_14858(msg_14860) {
+ var F={procname:"assertions.raiseAssert",prev:framePtr,filename:"assertions.nim",line:0};
+ framePtr = F;
+ F.line = 20;
+ sys_fatal_14862(msg_14860);
+ framePtr = F.prev;
+
+
+}
+
+function failed_assert_impl_15051(msg_15053) {
+ var F={procname:"assertions.failedAssertImpl",prev:framePtr,filename:"assertions.nim",line:0};
+ framePtr = F;
+ F.line = 27;
+ raise_assert_14858(msg_15053);
+ framePtr = F.prev;
+
+
+}
+
+function uncovered_163940(x_163942) {
+ var Tmp1;
+ var Tmp2;
+
+ var result_163943 = null;
+
+ var F={procname:"dochack.uncovered",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ BeforeRet: do {
+ if (!((x_163942.kids != null ? x_163942.kids.length : 0) == 0)) Tmp1 = false; else { Tmp1 = !((x_163942.heading == null)); } if (Tmp1) {
+ F.line = 194;
+ if (!(x_163942.heading.hasOwnProperty('__karaxMarker__'))) {
+ Tmp2 = x_163942;
+ }
+ else {
+ Tmp2 = null;
+ }
+
+ result_163943 = Tmp2;
+ break BeforeRet;
+ }
+
+ F.line = 195;
+ result_163943 = {heading: x_163942.heading, kids: [], sortId: x_163942.sortId, doSort: x_163942.doSort};
+ L3: do {
+ F.line = 197;
+ var i_163982 = 0;
+ F.line = 2716;
+ var colontmp__164510 = 0;
+ F.line = 197;
+ colontmp__164510 = (x_163942.kids != null ? x_163942.kids.length : 0);
+ F.line = 2717;
+ var i_164511 = 0;
+ L4: do {
+ F.line = 2718;
+ L5: while (true) {
+ if (!(i_164511 < colontmp__164510)) break L5;
+ F.line = 197;
+ i_163982 = i_164511;
+ F.line = 198;
+ var y_163983 = uncovered_163940(x_163942.kids[chckIndx(i_163982, 0, x_163942.kids.length+0-1)-0]);
+ if (!((y_163983 == null))) {
+ F.line = 199;
+ if (result_163943.kids != null) { result_163943.kids.push(y_163983); } else { result_163943.kids = [y_163983]; };
+ }
+
+ F.line = 2720;
+ i_164511 = addInt(i_164511, 1);
+ }
+ } while(false);
+ } while(false);
+ if (((result_163943.kids != null ? result_163943.kids.length : 0) == 0)) {
+ F.line = 200;
+ result_163943 = null;
+ }
+
+ } while (false);
+ framePtr = F.prev;
+
+ return result_163943;
+
+}
+
+function merge_tocs_164017(orig_164019, news_164020) {
+ var result_164021 = null;
+
+ var F={procname:"dochack.mergeTocs",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 203;
+ result_164021 = uncovered_163940(orig_164019);
+ if ((result_164021 == null)) {
+ F.line = 205;
+ result_164021 = news_164020;
+ }
+ else {
+ L1: do {
+ F.line = 207;
+ var i_164042 = 0;
+ F.line = 2716;
+ var colontmp__164504 = 0;
+ F.line = 207;
+ colontmp__164504 = (news_164020.kids != null ? news_164020.kids.length : 0);
+ F.line = 2717;
+ var i_164505 = 0;
+ L2: do {
+ F.line = 2718;
+ L3: while (true) {
+ if (!(i_164505 < colontmp__164504)) break L3;
+ F.line = 207;
+ i_164042 = i_164505;
+ F.line = 208;
+ if (result_164021.kids != null) { result_164021.kids.push(news_164020.kids[chckIndx(i_164042, 0, news_164020.kids.length+0-1)-0]); } else { result_164021.kids = [news_164020.kids[chckIndx(i_164042, 0, news_164020.kids.length+0-1)-0]]; };
+ F.line = 2720;
+ i_164505 = addInt(i_164505, 1);
+ }
+ } while(false);
+ } while(false);
+ }
+
+ framePtr = F.prev;
+
+ return result_164021;
+
+}
+
+function build_toc_164063(orig_164065, types_164067, procs_164068) {
+ var result_164069 = null;
+
+ var F={procname:"dochack.buildToc",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 211;
+ var new_stuff_164083 = {heading: null, kids: [], doSort: true, sortId: 0};
+ L1: do {
+ F.line = 212;
+ var t_164214 = null;
+ F.line = 185;
+ var i_164493 = 0;
+ F.line = 186;
+ var l_164494 = (types_164067 != null ? types_164067.length : 0);
+ L2: do {
+ F.line = 187;
+ L3: while (true) {
+ if (!(i_164493 < l_164494)) break L3;
+ F.line = 212;
+ t_164214 = types_164067[chckIndx(i_164493, 0, types_164067.length+0-1)-0];
+ F.line = 213;
+ var c_164228 = {heading: t_164214.cloneNode(true), kids: [], doSort: true, sortId: 0};
+ F.line = 214;
+ t_164214.__karaxMarker__ = true;
+ L4: do {
+ F.line = 215;
+ var p_164235 = null;
+ F.line = 185;
+ var i_164490 = 0;
+ F.line = 186;
+ var l_164491 = (procs_164068 != null ? procs_164068.length : 0);
+ L5: do {
+ F.line = 187;
+ L6: while (true) {
+ if (!(i_164490 < l_164491)) break L6;
+ F.line = 215;
+ p_164235 = procs_164068[chckIndx(i_164490, 0, procs_164068.length+0-1)-0];
+ if (!(p_164235.hasOwnProperty('__karaxMarker__'))) {
+ F.line = 217;
+ var xx_164236 = p_164235.parentNode.getElementsByClassName("attachedType");
+ if ((((xx_164236 != null ? xx_164236.length : 0) == 1) && (xx_164236[chckIndx(0, 0, xx_164236.length+0-1)-0].textContent == t_164214.textContent))) {
+ F.line = 220;
+ var q_164244 = tree_163020(makeNimstrLit("A"), [text_163152(p_164235.title)]);
+ F.line = 221;
+ q_164244.setAttribute("href", p_164235.getAttribute("href"));
+ F.line = 222;
+ if (c_164228.kids != null) { c_164228.kids.push({heading: q_164244, kids: [], sortId: 0, doSort: false}); } else { c_164228.kids = [{heading: q_164244, kids: [], sortId: 0, doSort: false}]; };
+ F.line = 223;
+ p_164235.__karaxMarker__ = true;
+ }
+
+ }
+
+ F.line = 189;
+ i_164490 = addInt(i_164490, 1);
+ if (!(((procs_164068 != null ? procs_164068.length : 0) == l_164491))) {
+ F.line = 190;
+ failed_assert_impl_15051(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-0.20.2/lib/system/iterators.nim(190, 11) `len(a) == L` the length of the seq changed while iterating over it"));
+ }
+
+ }
+ } while(false);
+ } while(false);
+ F.line = 224;
+ if (new_stuff_164083.kids != null) { new_stuff_164083.kids.push(c_164228); } else { new_stuff_164083.kids = [c_164228]; };
+ F.line = 189;
+ i_164493 = addInt(i_164493, 1);
+ if (!(((types_164067 != null ? types_164067.length : 0) == l_164494))) {
+ F.line = 190;
+ failed_assert_impl_15051(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-0.20.2/lib/system/iterators.nim(190, 11) `len(a) == L` the length of the seq changed while iterating over it"));
+ }
+
+ }
+ } while(false);
+ } while(false);
+ F.line = 225;
+ result_164069 = merge_tocs_164017(orig_164065, new_stuff_164083);
+ framePtr = F.prev;
+
+ return result_164069;
+
+}
+
+function add_163085(parent_163087, kid_163088) {
+ var Tmp1;
+ var Tmp2;
+
+ var F={procname:"dochack.add",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ if (!(parent_163087.nodeName == "TR")) Tmp1 = false; else { if ((kid_163088.nodeName == "TD")) Tmp2 = true; else { Tmp2 = (kid_163088.nodeName == "TH"); } Tmp1 = Tmp2; } if (Tmp1) {
+ F.line = 18;
+ var k_163089 = document.createElement("TD");
+ F.line = 19;
+ k_163089.appendChild(kid_163088);
+ F.line = 20;
+ parent_163087.appendChild(k_163089);
+ }
+ else {
+ F.line = 22;
+ parent_163087.appendChild(kid_163088);
+ }
+
+ framePtr = F.prev;
+
+
+}
+
+function set_class_163103(e_163105, value_163106) {
+ var F={procname:"dochack.setClass",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 25;
+ e_163105.setAttribute("class", toJSStr(value_163106));
+ framePtr = F.prev;
+
+
+}
+
+function to_html_163424(x_163426, is_root_163427) {
+ var Tmp1;
+
+ function HEX3Aanonymous_163467(a_163469, b_163470) {
+ var Tmp1;
+
+ var result_163471 = 0;
+
+ var F={procname:"toHtml.:anonymous",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ BeforeRet: do {
+ if (!!((a_163469.heading == null))) Tmp1 = false; else { Tmp1 = !((b_163470.heading == null)); } if (Tmp1) {
+ F.line = 106;
+ var x_163488 = a_163469.heading.textContent;
+ F.line = 107;
+ var y_163489 = b_163470.heading.textContent;
+ if ((x_163488 < y_163489)) {
+ F.line = 108;
+ result_163471 = -1;
+ break BeforeRet;
+ }
+
+ if ((y_163489 < x_163488)) {
+ F.line = 109;
+ result_163471 = 1;
+ break BeforeRet;
+ }
+
+ F.line = 110;
+ result_163471 = 0;
+ break BeforeRet;
+ }
+ else {
+ F.line = 113;
+ result_163471 = subInt(a_163469.sortId, b_163470.sortId);
+ break BeforeRet;
+ }
+
+ } while (false);
+ framePtr = F.prev;
+
+ return result_163471;
+
+ }
+
+ var result_163428 = null;
+
+ var F={procname:"dochack.toHtml",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ BeforeRet: do {
+ if ((x_163426 == null)) {
+ F.line = 91;
+ result_163428 = null;
+ break BeforeRet;
+ }
+
+ if (((x_163426.kids != null ? x_163426.kids.length : 0) == 0)) {
+ if ((x_163426.heading == null)) {
+ F.line = 93;
+ result_163428 = null;
+ break BeforeRet;
+ }
+
+ F.line = 94;
+ result_163428 = x_163426.heading.cloneNode(true);
+ break BeforeRet;
+ }
+
+ F.line = 95;
+ result_163428 = tree_163020(makeNimstrLit("DIV"), []);
+ if (!!((x_163426.heading == null))) Tmp1 = false; else { Tmp1 = !(x_163426.heading.hasOwnProperty('__karaxMarker__')); } if (Tmp1) {
+ F.line = 97;
+ add_163085(result_163428, x_163426.heading.cloneNode(true));
+ }
+
+ F.line = 98;
+ var ul_163464 = tree_163020(makeNimstrLit("UL"), []);
+ if (is_root_163427) {
+ F.line = 100;
+ set_class_163103(ul_163464, makeNimstrLit("simple simple-toc"));
+ }
+ else {
+ F.line = 102;
+ set_class_163103(ul_163464, makeNimstrLit("simple"));
+ }
+
+ if (x_163426.doSort) {
+ F.line = 104;
+ x_163426.kids.sort(HEX3Aanonymous_163467);
+ }
+
+ L2: do {
+ F.line = 115;
+ var k_163614 = null;
+ F.line = 183;
+ var colontmp__164517 = null;
+ F.line = 115;
+ colontmp__164517 = x_163426.kids;
+ F.line = 185;
+ var i_164519 = 0;
+ F.line = 186;
+ var l_164520 = (colontmp__164517 != null ? colontmp__164517.length : 0);
+ L3: do {
+ F.line = 187;
+ L4: while (true) {
+ if (!(i_164519 < l_164520)) break L4;
+ F.line = 115;
+ k_163614 = colontmp__164517[chckIndx(i_164519, 0, colontmp__164517.length+0-1)-0];
+ F.line = 116;
+ var y_163615 = to_html_163424(k_163614, false);
+ if (!((y_163615 == null))) {
+ F.line = 118;
+ add_163085(ul_163464, tree_163020(makeNimstrLit("LI"), [y_163615]));
+ }
+
+ F.line = 189;
+ i_164519 = addInt(i_164519, 1);
+ if (!(((colontmp__164517 != null ? colontmp__164517.length : 0) == l_164520))) {
+ F.line = 190;
+ failed_assert_impl_15051(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-0.20.2/lib/system/iterators.nim(190, 11) `len(a) == L` the length of the seq changed while iterating over it"));
+ }
+
+ }
+ } while(false);
+ } while(false);
+ if (!((ul_163464.childNodes.length == 0))) {
+ F.line = 119;
+ add_163085(result_163428, ul_163464);
+ }
+
+ if ((result_163428.childNodes.length == 0)) {
+ F.line = 120;
+ result_163428 = null;
+ }
+
+ } while (false);
+ framePtr = F.prev;
+
+ return result_163428;
+
+}
+
+function replace_by_id_163172(id_163174, new_tree_163175) {
+ var F={procname:"dochack.replaceById",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 32;
+ var x_163176 = document.getElementById(id_163174);
+ F.line = 33;
+ x_163176.parentNode.replaceChild(new_tree_163175, x_163176);
+ F.line = 34;
+ new_tree_163175.id = id_163174;
+ framePtr = F.prev;
+
+
+}
+
+function togglevis_164329(d_164331) {
+ var F={procname:"dochack.togglevis",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 230;
+ if (d_164331.style.display == 'none')
+ d_164331.style.display = 'inline';
+ else
+ d_164331.style.display = 'none';
+
+ framePtr = F.prev;
+
+
+}
+
+function groupBy(value_164347) {
+ var F={procname:"dochack.groupBy",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 238;
+ var toc_164348 = document.getElementById("toc-list");
+ if ((alternative_164315[0] == null)) {
+ F.line = 240;
+ var tt_164367 = {heading: null, kids: [], sortId: 0, doSort: false};
+ F.line = 241;
+ to_toc_163688(toc_164348, tt_164367);
+ F.line = 242;
+ tt_164367 = tt_164367.kids[chckIndx(0, 0, tt_164367.kids.length+0-1)-0];
+ F.line = 244;
+ var types_164382 = [[]];
+ F.line = 245;
+ var procs_164397 = [[]];
+ F.line = 247;
+ extract_items_163339(tt_164367, "Types", types_164382, 0);
+ F.line = 248;
+ extract_items_163339(tt_164367, "Procs", procs_164397, 0);
+ F.line = 249;
+ extract_items_163339(tt_164367, "Converters", procs_164397, 0);
+ F.line = 250;
+ extract_items_163339(tt_164367, "Methods", procs_164397, 0);
+ F.line = 251;
+ extract_items_163339(tt_164367, "Templates", procs_164397, 0);
+ F.line = 252;
+ extract_items_163339(tt_164367, "Macros", procs_164397, 0);
+ F.line = 253;
+ extract_items_163339(tt_164367, "Iterators", procs_164397, 0);
+ F.line = 255;
+ var ntoc_164405 = build_toc_164063(tt_164367, types_164382[0], procs_164397[0]);
+ F.line = 256;
+ var x_164406 = to_html_163424(ntoc_164405, true);
+ F.line = 257;
+ alternative_164315[0] = tree_163020(makeNimstrLit("DIV"), [x_164406]);
+ }
+
+ if ((value_164347 == "type")) {
+ F.line = 259;
+ replace_by_id_163172("tocRoot", alternative_164315[0]);
+ }
+ else {
+ F.line = 261;
+ replace_by_id_163172("tocRoot", tree_163020(makeNimstrLit("DIV"), []));
+ }
+
+ F.line = 262;
+ togglevis_164329(document.getElementById("toc-list"));
+ framePtr = F.prev;
+
+
+}
+var db_164523 = [null];
+var contents_164525 = [null];
+var oldtoc_164959 = [null];
+var timer_164960 = [null];
+
+function raiseRangeError() {
+ var e_22441 = null;
+ e_22441 = {m_type: NTI4062, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ e_22441.message = nimCopy(null, makeNimstrLit("value out of range"), NTI138);
+ e_22441.parent = null;
+ raiseException(e_22441, "RangeError");
+
+
+}
+
+function nsuToLowerAsciiChar(c_151780) {
+ var result_151781 = 0;
+
+ var F={procname:"strutils.toLowerAscii",prev:framePtr,filename:"strutils.nim",line:0};
+ framePtr = F;
+ if ((ConstSet2[c_151780] != undefined)) {
+ F.line = 222;
+ result_151781 = chckRange(addInt(c_151780, 32), 0, 255);
+ }
+ else {
+ F.line = 224;
+ result_151781 = c_151780;
+ }
+
+ framePtr = F.prev;
+
+ return result_151781;
+
+}
+
+function fuzzy_match_162070(pattern_162072, str_162073) {
+ var Tmp4;
+ var Tmp5;
+ var Tmp6;
+
+ var result_162077 = {Field0: 0, Field1: false};
+
+ var F={procname:"fuzzysearch.fuzzyMatch",prev:framePtr,filename:"fuzzysearch.nim",line:0};
+ framePtr = F;
+ F.line = 37;
+ var score_state_162078 = -100;
+ F.line = 38;
+ var header_matched_162079 = false;
+ F.line = 39;
+ var unmatched_leading_char_count_162081 = 0;
+ F.line = 40;
+ var consecutive_match_count_162083 = 0;
+ F.line = 41;
+ var str_index_162085 = 0;
+ F.line = 42;
+ var pat_index_162087 = 0;
+ F.line = 43;
+ var score_162089 = 0;
+ L1: do {
+ F.line = 49;
+ L2: while (true) {
+ if (!((str_index_162085 < (str_162073 != null ? str_162073.length : 0)) && (pat_index_162087 < (pattern_162072 != null ? pattern_162072.length : 0)))) break L2;
+ L3: do {
+ F.line = 51;
+ var pattern_char_162095 = nsuToLowerAsciiChar(pattern_162072.charCodeAt(chckIndx(pat_index_162087, 0, pattern_162072.length+0-1)-0));
+ F.line = 52;
+ var str_char_162096 = nsuToLowerAsciiChar(str_162073.charCodeAt(chckIndx(str_index_162085, 0, str_162073.length+0-1)-0));
+ if ((ConstSet3[pattern_char_162095] != undefined)) {
+ F.line = 56;
+ pat_index_162087 = addInt(pat_index_162087, 1);
+ F.line = 57;
+ break L3;
+ }
+
+ if ((ConstSet4[str_char_162096] != undefined)) {
+ F.line = 59;
+ str_index_162085 = addInt(str_index_162085, 1);
+ F.line = 60;
+ break L3;
+ }
+
+ if ((!(header_matched_162079) && (str_char_162096 == 58))) {
+ F.line = 65;
+ header_matched_162079 = true;
+ F.line = 66;
+ score_state_162078 = -100;
+ F.line = 67;
+ score_162089 = Math.trunc(Math.floor((5.0000000000000000e-01 * score_162089)));
+ F.line = 68;
+ pat_index_162087 = 0;
+ F.line = 69;
+ str_index_162085 = addInt(str_index_162085, 1);
+ F.line = 70;
+ break L3;
+ }
+
+ if ((str_char_162096 == pattern_char_162095)) {
+ F.line = 73;
+ switch (score_state_162078) {
+ case -100:
+ case 20:
+ F.line = 75;
+ score_state_162078 = 10;
+ break;
+ case 0:
+ F.line = 78;
+ score_state_162078 = 5;
+ F.line = 78;
+ score_162089 = addInt(score_162089, score_state_162078);
+ break;
+ case 10:
+ case 5:
+ F.line = 81;
+ consecutive_match_count_162083 = addInt(consecutive_match_count_162083, 1);
+ F.line = 82;
+ score_state_162078 = 5;
+ F.line = 83;
+ score_162089 = addInt(score_162089, mulInt(5, consecutive_match_count_162083));
+ if ((score_state_162078 == 10)) {
+ F.line = 86;
+ score_162089 = addInt(score_162089, 10);
+ }
+
+ F.line = 88;
+ var on_boundary_162171 = (pat_index_162087 == (pattern_162072 != null ? (pattern_162072.length-1) : -1));
+ if ((!(on_boundary_162171) && (str_index_162085 < (str_162073 != null ? (str_162073.length-1) : -1)))) {
+ F.line = 91;
+ var next_pattern_char_162172 = nsuToLowerAsciiChar(pattern_162072.charCodeAt(chckIndx(addInt(pat_index_162087, 1), 0, pattern_162072.length+0-1)-0));
+ F.line = 92;
+ var next_str_char_162173 = nsuToLowerAsciiChar(str_162073.charCodeAt(chckIndx(addInt(str_index_162085, 1), 0, str_162073.length+0-1)-0));
+ F.line = 95;
+ if (!!((ConstSet5[next_str_char_162173] != undefined))) Tmp4 = false; else { Tmp4 = !((next_str_char_162173 == next_pattern_char_162172)); } on_boundary_162171 = Tmp4;
+ }
+
+ if (on_boundary_162171) {
+ F.line = 100;
+ score_state_162078 = 20;
+ F.line = 100;
+ score_162089 = addInt(score_162089, score_state_162078);
+ }
+
+ break;
+ case -1:
+ case -3:
+ F.line = 103;
+ if (!((ConstSet6[str_162073.charCodeAt(chckIndx(subInt(str_index_162085, 1), 0, str_162073.length+0-1)-0)] != undefined))) Tmp5 = true; else { if (!(ConstSet7[str_162073.charCodeAt(chckIndx(subInt(str_index_162085, 1), 0, str_162073.length+0-1)-0)] != undefined)) Tmp6 = false; else { Tmp6 = (ConstSet8[str_162073.charCodeAt(chckIndx(str_index_162085, 0, str_162073.length+0-1)-0)] != undefined); } Tmp5 = Tmp6; } var is_leading_char_162211 = Tmp5;
+ if (is_leading_char_162211) {
+ F.line = 110;
+ score_state_162078 = 10;
+ }
+ else {
+ F.line = 114;
+ score_state_162078 = 0;
+ F.line = 114;
+ score_162089 = addInt(score_162089, score_state_162078);
+ }
+
+ break;
+ }
+ F.line = 115;
+ pat_index_162087 = addInt(pat_index_162087, 1);
+ }
+ else {
+ F.line = 118;
+ switch (score_state_162078) {
+ case -100:
+ F.line = 120;
+ score_state_162078 = -3;
+ F.line = 120;
+ score_162089 = addInt(score_162089, score_state_162078);
+ break;
+ case 5:
+ F.line = 123;
+ score_state_162078 = -1;
+ F.line = 123;
+ score_162089 = addInt(score_162089, score_state_162078);
+ F.line = 124;
+ consecutive_match_count_162083 = 0;
+ break;
+ case -3:
+ if ((unmatched_leading_char_count_162081 < 3)) {
+ F.line = 128;
+ score_state_162078 = -3;
+ F.line = 128;
+ score_162089 = addInt(score_162089, score_state_162078);
+ }
+
+ F.line = 129;
+ unmatched_leading_char_count_162081 = addInt(unmatched_leading_char_count_162081, 1);
+ break;
+ default:
+ F.line = 132;
+ score_state_162078 = -1;
+ F.line = 132;
+ score_162089 = addInt(score_162089, score_state_162078);
+ break;
+ }
+ }
+
+ F.line = 134;
+ str_index_162085 = addInt(str_index_162085, 1);
+ } while(false);
+ }
+ } while(false);
+ F.line = 137;
+ var colontmp__165063 = nimMax(0, score_162089);
+ F.line = 138;
+ var colontmp__165064 = (0 < score_162089);
+ F.line = 136;
+ nimCopy(result_162077, {Field0: colontmp__165063, Field1: colontmp__165064}, NTI162074);
+ framePtr = F.prev;
+
+ return result_162077;
+
+}
+
+function text_163120(s_163122) {
+ var result_163123 = null;
+
+ var F={procname:"dochack.text",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 26;
+ result_163123 = document.createTextNode(toJSStr(s_163122));
+ framePtr = F.prev;
+
+ return result_163123;
+
+}
+
+function dosearch_164557(value_164559) {
+
+ function HEX3Aanonymous_164871(a_164880, b_164881) {
+ var result_164885 = 0;
+
+ var F={procname:"dosearch.:anonymous",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 305;
+ result_164885 = subInt(b_164881["Field1"], a_164880["Field1"]);
+ framePtr = F.prev;
+
+ return result_164885;
+
+ }
+
+ var result_164560 = null;
+
+ var F={procname:"dochack.dosearch",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ if (((db_164523[0] != null ? db_164523[0].length : 0) == 0)) {
+ F.line = 272;
+ var stuff_164566 = null;
+ F.line = 273;
+ var request = new XMLHttpRequest();
+ request.open("GET", "theindex.html", false);
+ request.send(null);
+
+ var doc = document.implementation.createHTMLDocument("theindex");
+ doc.documentElement.innerHTML = request.responseText;
+
+ //parser=new DOMParser();
+ //doc=parser.parseFromString("", "text/html");
+
+ stuff_164566 = doc.documentElement;
+
+ F.line = 286;
+ db_164523[0] = nimCopy(null, stuff_164566.getElementsByClassName("reference"), NTI44305);
+ F.line = 287;
+ contents_164525[0] = nimCopy(null, [], NTI164579);
+ L1: do {
+ F.line = 288;
+ var ahref_164814 = null;
+ F.line = 185;
+ var i_165043 = 0;
+ F.line = 186;
+ var l_165044 = (db_164523[0] != null ? db_164523[0].length : 0);
+ L2: do {
+ F.line = 187;
+ L3: while (true) {
+ if (!(i_165043 < l_165044)) break L3;
+ F.line = 288;
+ ahref_164814 = db_164523[0][chckIndx(i_165043, 0, db_164523[0].length+0-1)-0];
+ F.line = 289;
+ if (contents_164525[0] != null) { contents_164525[0].push(ahref_164814.getAttribute("data-doc-search-tag")); } else { contents_164525[0] = [ahref_164814.getAttribute("data-doc-search-tag")]; };
+ F.line = 189;
+ i_165043 = addInt(i_165043, 1);
+ if (!(((db_164523[0] != null ? db_164523[0].length : 0) == l_165044))) {
+ F.line = 190;
+ failed_assert_impl_15051(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-0.20.2/lib/system/iterators.nim(190, 11) `len(a) == L` the length of the seq changed while iterating over it"));
+ }
+
+ }
+ } while(false);
+ } while(false);
+ }
+
+ F.line = 290;
+ var ul_164825 = tree_163020(makeNimstrLit("UL"), []);
+ F.line = 291;
+ result_164560 = tree_163020(makeNimstrLit("DIV"), []);
+ F.line = 292;
+ set_class_163103(result_164560, makeNimstrLit("search_results"));
+ F.line = 293;
+ var matches_164844 = [];
+ L4: do {
+ F.line = 294;
+ var i_164857 = 0;
+ F.line = 2716;
+ var colontmp__165050 = 0;
+ F.line = 294;
+ colontmp__165050 = (db_164523[0] != null ? db_164523[0].length : 0);
+ F.line = 2717;
+ var i_165051 = 0;
+ L5: do {
+ F.line = 2718;
+ L6: while (true) {
+ if (!(i_165051 < colontmp__165050)) break L6;
+ F.line = 294;
+ i_164857 = i_165051;
+ L7: do {
+ F.line = 295;
+ var c_164858 = contents_164525[0][chckIndx(i_164857, 0, contents_164525[0].length+0-1)-0];
+ if (((c_164858 == "Examples") || (c_164858 == "PEG construction"))) {
+ F.line = 300;
+ break L7;
+ }
+
+ F.line = 301;
+ var colontmp__165060 = {Field0: 0, Field1: false};
+ F.line = 301;
+ var score_164859 = 0;
+ F.line = 301;
+ var matched_164860 = false;
+ F.line = 301;
+ nimCopy(colontmp__165060, fuzzy_match_162070(value_164559, c_164858), NTI162074);
+ F.line = 301;
+ score_164859 = colontmp__165060["Field0"];
+ F.line = 301;
+ matched_164860 = colontmp__165060["Field1"];
+ if (matched_164860) {
+ F.line = 303;
+ if (matches_164844 != null) { matches_164844.push({Field0: db_164523[0][chckIndx(i_164857, 0, db_164523[0].length+0-1)-0], Field1: score_164859}); } else { matches_164844 = [{Field0: db_164523[0][chckIndx(i_164857, 0, db_164523[0].length+0-1)-0], Field1: score_164859}]; };
+ }
+
+ } while(false);
+ F.line = 2720;
+ i_165051 = addInt(i_165051, 1);
+ }
+ } while(false);
+ } while(false);
+ F.line = 305;
+ matches_164844.sort(HEX3Aanonymous_164871);
+ L8: do {
+ F.line = 306;
+ var i_164924 = 0;
+ F.line = 2716;
+ var colontmp__165056 = 0;
+ F.line = 306;
+ colontmp__165056 = nimMin((matches_164844 != null ? matches_164844.length : 0), 19);
+ F.line = 2717;
+ var i_165057 = 0;
+ L9: do {
+ F.line = 2718;
+ L10: while (true) {
+ if (!(i_165057 < colontmp__165056)) break L10;
+ F.line = 306;
+ i_164924 = i_165057;
+ F.line = 307;
+ matches_164844[chckIndx(i_164924, 0, matches_164844.length+0-1)-0]["Field0"].innerHTML = matches_164844[chckIndx(i_164924, 0, matches_164844.length+0-1)-0]["Field0"].getAttribute("data-doc-search-tag");
+ F.line = 308;
+ add_163085(ul_164825, tree_163020(makeNimstrLit("LI"), [matches_164844[chckIndx(i_164924, 0, matches_164844.length+0-1)-0]["Field0"]]));
+ F.line = 2720;
+ i_165057 = addInt(i_165057, 1);
+ }
+ } while(false);
+ } while(false);
+ if ((ul_164825.childNodes.length == 0)) {
+ F.line = 310;
+ add_163085(result_164560, tree_163020(makeNimstrLit("B"), [text_163120(makeNimstrLit("no search results"))]));
+ }
+ else {
+ F.line = 312;
+ add_163085(result_164560, tree_163020(makeNimstrLit("B"), [text_163120(makeNimstrLit("search results"))]));
+ F.line = 313;
+ add_163085(result_164560, ul_164825);
+ }
+
+ framePtr = F.prev;
+
+ return result_164560;
+
+}
+
+function search() {
+
+ function wrapper_164991() {
+ var F={procname:"search.wrapper",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ F.line = 320;
+ var elem_164993 = document.getElementById("searchInput");
+ F.line = 321;
+ var value_164994 = elem_164993.value;
+ if (!(((value_164994 != null ? value_164994.length : 0) == 0))) {
+ if ((oldtoc_164959[0] == null)) {
+ F.line = 324;
+ oldtoc_164959[0] = document.getElementById("tocRoot");
+ }
+
+ F.line = 325;
+ var results_165000 = dosearch_164557(value_164994);
+ F.line = 326;
+ replace_by_id_163172("tocRoot", results_165000);
+ }
+ else {
+ if (!((oldtoc_164959[0] == null))) {
+ F.line = 328;
+ replace_by_id_163172("tocRoot", oldtoc_164959[0]);
+ }
+ }
+ framePtr = F.prev;
+
+
+ }
+
+ var F={procname:"dochack.search",prev:framePtr,filename:"dochack.nim",line:0};
+ framePtr = F;
+ if (!((timer_164960[0] == null))) {
+ F.line = 330;
+ clearTimeout(timer_164960[0]);
+ }
+
+ F.line = 331;
+ timer_164960[0] = setTimeout(wrapper_164991, 400);
+ framePtr = F.prev;
+
+
+}
diff --git a/git.html b/git.html
index 78b555f..a78d383 100644
--- a/git.html
+++ b/git.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1248,29 +833,29 @@ function main() {
Procs
exec Action
+ title="execAction(cmd: string; nostderr = false): string"> exec Action
mk Dir
+ title="mkDir(dir: string)"> mk Dir
cp File
+ title="cpFile(source, dest: string; move = false)"> cp File
mv File
+ title="mvFile(source, dest: string)"> mv File
extract Zip
+ title="extractZip(zipfile, outdir: string)"> extract Zip
download Url
+ title="downloadUrl(url, outdir: string)"> download Url
git Reset
+ title="gitReset(outdir: string)"> git Reset
git Checkout
+ title="gitCheckout(file, outdir: string)"> git Checkout
git Pull
+ title="gitPull(url: string; outdir = ""; plist = ""; checkout = "")"> git Pull
configure
+ title="configure(path, check: string; flags = "")"> configure
cmake
+ title="cmake(path, check, flags: string)"> cmake
make
+ title="make(path, check: string; flags = "")"> make
@@ -1280,6 +865,7 @@ function main() {
+
@@ -1290,109 +876,125 @@ function main() {
-proc execAction ( cmd : string ; nostderr = false ) : string { ... } {. raises : [ OSError , Exception ] ,
+proc execAction ( cmd : string ; nostderr = false ) : string { ... } {.
+ raises : [ OSError , Exception , IOError , Defect ] ,
tags : [ ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
Execute an external command - supported at compile time
Checks if command exits successfully before returning. If not, an error is raised.
-proc mkDir ( dir : string ) { ... } {. raises : [ OSError , Exception ] , tags : [ ReadDirEffect ,
- ExecIOEffect , ReadIOEffect , RootEffect ] .}
+proc mkDir ( dir : string ) { ... } {. raises : [ OSError , Exception , IOError , Defect , ValueError ] , tags : [
+ ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
Create a directory at cmopile time
-The os module is not available at compile time so a few crucial helper functions are included with nimterop.
+The os module is not available at compile time so a few crucial helper functions are included with nimterop.
-proc cpFile ( source , dest : string ; move = false ) { ... } {. raises : [ OSError , Exception ] ,
+proc cpFile ( source , dest : string ; move = false ) { ... } {.
+ raises : [ OSError , Exception , IOError , Defect , ValueError ] ,
tags : [ ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
Copy a file from source to destination at compile time
-proc mvFile ( source , dest : string ) { ... } {. raises : [ OSError , Exception ] ,
+proc mvFile ( source , dest : string ) { ... } {. raises : [ OSError , Exception , IOError , Defect ,
+ ValueError ] ,
tags : [ ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
Move a file from source to destination at compile time
-proc extractZip ( zipfile , outdir : string ) { ... } {. raises : [ OSError , Exception , ValueError ] , tags : [
- ExecIOEffect , ReadIOEffect , RootEffect ] .}
+proc extractZip ( zipfile , outdir : string ) { ... } {. raises : [ OSError , Exception , IOError , Defect ,
+ ValueError ] , tags : [ ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
Extract a zip file using powershell on Windows and unzip on other systems to the specified output directory
-proc downloadUrl ( url , outdir : string ) { ... } {. raises : [ OSError , Exception , ValueError ] , tags : [
- ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
+proc downloadUrl ( url , outdir : string ) { ... } {. raises : [ OSError , Exception , IOError , Defect ,
+ ValueError ] , tags : [ ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
Download a file using powershell on Windows and curl on other systems to the specified output directory
If a zip file, it is automatically extracted after download.
-proc gitReset ( outdir : string ) { ... } {. raises : [ OSError , Exception ] , tags : [ ExecIOEffect ,
- ReadIOEffect , RootEffect , TimeEffect ] .}
+proc gitReset ( outdir : string ) { ... } {. raises : [ ValueError , OSError , Exception , IOError , Defect ] , tags : [
+ ExecIOEffect , ReadIOEffect , RootEffect , TimeEffect ] .}
+
Hard reset the git repository at the specified directory
-proc gitCheckout ( file , outdir : string ) { ... } {. raises : [ OSError , Exception ] , tags : [
- ExecIOEffect , ReadIOEffect , RootEffect , TimeEffect ] .}
+proc gitCheckout ( file , outdir : string ) { ... } {. raises : [ ValueError , OSError , Exception ,
+ IOError , Defect ] , tags : [ ExecIOEffect , ReadIOEffect , RootEffect , TimeEffect ] .}
+
Checkout the specified file in the git repository specified
-This effectively resets all changes in the file and can be used to undo any changes that were made to source files to enable successful wrapping with cImport() or c2nImport() .
+This effectively resets all changes in the file and can be used to undo any changes that were made to source files to enable successful wrapping with cImport() or c2nImport() .
-proc gitPull ( url : string ; outdir = "" ; plist = "" ; checkout = "" ) { ... } {.
- raises : [ OSError , Exception , IOError ] , tags : [ ReadDirEffect , ExecIOEffect ,
- ReadIOEffect , RootEffect , TimeEffect , WriteIOEffect ] .}
+proc gitPull ( url : string ; outdir = "" ; plist = "" ; checkout = "" ) { ... } {.
+ raises : [ ValueError , OSError , Exception , IOError , Defect ] , tags : [ ReadDirEffect ,
+ ExecIOEffect , ReadIOEffect , RootEffect , TimeEffect , WriteIOEffect ] .}
+
Pull the specified git repository to the output directory
-plist is the list of specific files and directories or wildcards to sparsely checkout. Multiple values can be specified one entry per line. It is optional and if omitted, the entire repository will be checked out.
-checkout is the git tag, branch or commit hash to checkout once the repository is downloaded. This allows for pinning to a specific version of the code.
+plist is the list of specific files and directories or wildcards to sparsely checkout. Multiple values can be specified one entry per line. It is optional and if omitted, the entire repository will be checked out.
+checkout is the git tag, branch or commit hash to checkout once the repository is downloaded. This allows for pinning to a specific version of the code.
-proc configure ( path , check : string ; flags = "" ) { ... } {. raises : [ OSError , Exception ] ,
+proc configure ( path , check : string ; flags = "" ) { ... } {.
+ raises : [ OSError , Exception , IOError , Defect , ValueError ] ,
tags : [ ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
-Run the GNU configure command to generate all Makefiles or other build scripts in the specified path
-If a configure script is not present and an autogen.sh script is present, it will be run before attempting configure .
-check is a file that will be generated by the configure command. This is required to prevent configure from running on every build. It is relative to the path and should not be an absolute path.
-flags are any flags that should be passed to the configure command.
+
+Run the GNU configure command to generate all Makefiles or other build scripts in the specified path
+If a configure script is not present and an autogen.sh script is present, it will be run before attempting configure .
+check is a file that will be generated by the configure command. This is required to prevent configure from running on every build. It is relative to the path and should not be an absolute path.
+flags are any flags that should be passed to the configure command.
-proc cmake ( path , check , flags : string ) { ... } {. raises : [ OSError , Exception ] , tags : [
- ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
+proc cmake ( path , check , flags : string ) { ... } {. raises : [ OSError , Exception , IOError , Defect ,
+ ValueError ] , tags : [ ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
-Run the cmake command to generate all Makefiles or other build scripts in the specified path
-path will be created since typically cmake is run in an empty directory.
-check is a file that will be generated by the cmake command. This is required to prevent cmake from running on every build. It is relative to the path and should not be an absolute path.
-flags are any flags that should be passed to the cmake command. Unlike configure , it is required since typically it will be the path to the repository, typically .. when path is a subdir.
+
+Run the cmake command to generate all Makefiles or other build scripts in the specified path
+path will be created since typically cmake is run in an empty directory.
+check is a file that will be generated by the cmake command. This is required to prevent cmake from running on every build. It is relative to the path and should not be an absolute path.
+flags are any flags that should be passed to the cmake command. Unlike configure , it is required since typically it will be the path to the repository, typically .. when path is a subdir.
-proc make ( path , check : string ; flags = "" ) { ... } {. raises : [ OSError , Exception ] , tags : [
- ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
+proc make ( path , check : string ; flags = "" ) { ... } {. raises : [ ValueError , OSError , Exception ,
+ IOError , Defect ] , tags : [ ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
-Run the make command to build all binaries in the specified path
-check is a file that will be generated by the make command. This is required to prevent make from running on every build. It is relative to the path and should not be an absolute path.
-flags are any flags that should be passed to the make command.
+
+Run the make command to build all binaries in the specified path
+check is a file that will be generated by the make command. This is required to prevent make from running on every build. It is relative to the path and should not be an absolute path.
+flags are any flags that should be passed to the make command.
@@ -1406,7 +1008,7 @@ Hard reset the git repository at the specified directory
- Made with Nim. Generated: 2019-07-29 14:17:09 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:26 UTC
diff --git a/paths.html b/paths.html
index c8634e8..60d9e43 100644
--- a/paths.html
+++ b/paths.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1241,18 +826,18 @@ function main() {
Procs
@@ -1262,45 +847,52 @@ function main() {
+
-
-proc nimteropRoot ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
+proc nimteropRoot ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
-
-proc nimteropBuildDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
+proc nimteropBuildDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
all nimterop generated files go under here (gitignored)
-
-proc nimteropSrcDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
+proc nimteropSrcDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
-
-proc toastExePath ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
+proc toastExePath ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
-
-proc incDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
+proc incDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
-
-proc testsIncludeDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
+proc testsIncludeDir ( ) : string { ... } {. raises : [ ] , tags : [ ] .}
+
@@ -1312,7 +904,7 @@ all nimterop generated files go under here (gitignored)
- Made with Nim. Generated: 2019-07-29 14:17:08 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:26 UTC
diff --git a/paths.idx b/paths.idx
index df86edd..8a688d4 100644
--- a/paths.idx
+++ b/paths.idx
@@ -1,6 +1,6 @@
-nimteropRoot paths.html#nimteropRoot, paths: nimteropRoot(): string
-nimteropBuildDir paths.html#nimteropBuildDir, paths: nimteropBuildDir(): string
-nimteropSrcDir paths.html#nimteropSrcDir, paths: nimteropSrcDir(): string
-toastExePath paths.html#toastExePath, paths: toastExePath(): string
-incDir paths.html#incDir, paths: incDir(): string
-testsIncludeDir paths.html#testsIncludeDir, paths: testsIncludeDir(): string
+nimteropRoot paths.html#nimteropRoot paths: nimteropRoot(): string
+nimteropBuildDir paths.html#nimteropBuildDir paths: nimteropBuildDir(): string
+nimteropSrcDir paths.html#nimteropSrcDir paths: nimteropSrcDir(): string
+toastExePath paths.html#toastExePath paths: toastExePath(): string
+incDir paths.html#incDir paths: incDir(): string
+testsIncludeDir paths.html#testsIncludeDir paths: testsIncludeDir(): string
diff --git a/plugin.html b/plugin.html
index 1528de6..1b5f4cc 100644
--- a/plugin.html
+++ b/plugin.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1245,9 +830,9 @@ function main() {
title="Symbol = object
name*: string
parent*: string
- kind*: NimSymKind"> Symbol
+ kind*: NimSymKind"> Symbol
On Symbol
+ title="OnSymbol = proc (sym: var Symbol) {.cdecl.}"> On Symbol
@@ -1257,6 +842,7 @@ function main() {
+
@@ -1270,12 +856,14 @@ function main() {
+
OnSymbol = proc ( sym : var Symbol ) { ... } {. cdecl .}
+
@@ -1287,7 +875,7 @@ function main() {
- Made with Nim. Generated: 2019-07-29 14:17:08 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:26 UTC
diff --git a/theindex.html b/theindex.html
index e69ee32..25d0083 100644
--- a/theindex.html
+++ b/theindex.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1241,7 +826,7 @@ function main() {
cDebug:
cimport: cDebug()
+ data-doc-search-tag="cimport: cDebug()" href="cimport.html#cDebug">cimport: cDebug()
cDefine:
cDisableCaching:
cimport: cDisableCaching()
+ data-doc-search-tag="cimport: cDisableCaching()" href="cimport.html#cDisableCaching">cimport: cDisableCaching()
cImport:
cIncludeDir:
cmake:
cOverride:
cpFile:
cPlugin:
cSearchPath:
cSkipSymbol:
cimport: cSkipSymbol(skips: seq[string])
+ data-doc-search-tag="cimport: cSkipSymbol(skips: seq[string])" href="cimport.html#cSkipSymbol%2Cseq%5BT%5D%5Bstring%5D">cimport: cSkipSymbol(skips: seq[string])
defineEnum:
types: defineEnum(typ)
+ data-doc-search-tag="types: defineEnum(typ)" href="types.html#defineEnum.t">types: defineEnum(typ)
downloadUrl:
incDir:
paths: incDir(): string
+ data-doc-search-tag="paths: incDir(): string" href="paths.html#incDir">paths: incDir(): string
make:
nimteropBuildDir:
nimteropRoot:
nimteropSrcDir:
OnSymbol:
testsIncludeDir:
time_t:
toastExePath:
va_list:
- Made with Nim. Generated: 2019-07-29 14:17:11 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:28 UTC
diff --git a/types.html b/types.html
index a15d2da..f92679b 100644
--- a/types.html
+++ b/types.html
@@ -27,232 +27,130 @@ customize this style sheet.
Modified from Chad Skeeters' rst2html-style
https://bitbucket.org/cskeeters/rst2html-style/
-Modified by Boyd Greenfield
+Modified by Boyd Greenfield and narimiran
*/
-/* SCSS variables */
-/* Text weights */
-/* Body colors */
-/* Text colors */
-/* Link colors */
-/* Syntax highlighting colors */
-/* Pct changes */
-/* Mixins */
-/* Body/layout */
+
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
-/* Where we want fancier font if available */
-h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
-
-h1.title {
- font-weight: 900; }
-
body {
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: 400;
- font-size: 16px;
- line-height: 20px;
- color: #444;
- letter-spacing: 0.15px;
- background-color: #FDFBFA; }
+ font-size: 1.125em;
+ line-height: 1.5;
+ color: #222;
+ background-color: #FCFCFC; }
/* Skeleton grid */
.container {
position: relative;
width: 100%;
- max-width: 960px;
+ max-width: 1050px;
margin: 0 auto;
- padding: 0 20px;
+ padding: 0;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
- box-sizing: border-box; }
+ box-sizing: border-box;
+ margin-left: 1%;
+}
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 100%;
- padding: 0; } }
-/* For devices larger than 650px */
-@media (min-width: 650px) {
- .container {
- width: 100%; }
+.column:first-child,
+.columns:first-child {
+ margin-left: 0; }
- .column,
- .columns {
- margin-left: 4%; }
+.three.columns {
+ width: 19%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
+.nine.columns {
+ width: 80.0%; }
- .one.column,
- .one.columns {
- width: 4.66666666667%; }
-
- .two.columns {
- width: 13.3333333333%; }
+.twelve.columns {
+ width: 100%;
+ margin-left: 0; }
+@media screen and (max-width: 860px) {
.three.columns {
- width: 22%; }
-
- .four.columns {
- width: 30.6666666667%; }
-
- .five.columns {
- width: 39.3333333333%; }
-
- .six.columns {
- width: 48%; }
-
- .seven.columns {
- width: 56.6666666667%; }
-
- .eight.columns {
- width: 65.3333333333%; }
-
+ display: none;
+ }
.nine.columns {
- width: 74.0%; }
-
- .ten.columns {
- width: 82.6666666667%; }
-
- .eleven.columns {
- width: 91.3333333333%; }
-
- .twelve.columns {
- width: 100%;
- margin-left: 0; }
-
- .one-third.column {
- width: 30.6666666667%; }
-
- .two-thirds.column {
- width: 65.3333333333%; } }
-/* Customer Overrides */
-.footer {
- text-align: center;
- color: #969696;
- padding-top: 10%; }
-
-p.module-desc {
- font-size: 1.1em;
- color: #666666; }
-
-a.link-seesrc {
- color: #aec7d2;
- font-style: italic; }
-
-a.link-seesrc:hover {
- color: #6c9aae; }
-
-#toc-list {
- word-wrap: break-word; }
-
-ul.simple-toc {
- list-style: none; }
-
-ul.simple-toc a.reference-toplevel {
- font-weight: bold;
- color: #0077b3; }
-
-ul.simple-toc-section {
- list-style-type: circle;
- color: #6c9aae; }
-
-ul.simple-toc-section a.reference {
- color: #0077b3; }
+ width: 98.0%;
+ }
+ body {
+ font-size: 1em;
+ line-height: 1.35;
+ }
+}
cite {
font-style: italic !important; }
-dt > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: rgba(255, 255, 255, 0.3);
- margin: 15px 0px 5px; }
-
-dd > pre {
- border-color: rgba(0, 0, 0, 0.1);
- background-color: whitesmoke;
- margin-top: 8px; }
-
-.item > dd {
- margin-left: 10px;
- margin-bottom: 30px; }
-
-/* Nim line-numbered tables */
-.line-nums-table {
- width: 100%;
- table-layout: fixed; }
/* Nim search input */
div#searchInputDiv {
- margin-bottom: 8px;
+ margin-bottom: 1em;
}
-div#searchInputDiv input#searchInput {
- width: 10em;
-}
-div.search-groupby {
- margin-bottom: 8px;
+input#searchInput {
+ width: 80%;
}
-table.line-nums-table {
- border-radius: 4px;
- border: 1px solid #cccccc;
- background-color: whitesmoke;
- border-collapse: separate;
- margin-top: 15px;
- margin-bottom: 25px; }
-
-.line-nums-table tbody {
- border: none; }
-
-.line-nums-table td pre {
- border: none;
- background-color: transparent; }
-
-.line-nums-table td.blob-line-nums {
- width: 28px; }
-
-.line-nums-table td.blob-line-nums pre {
- color: #b0b0b0;
- -webkit-filter: opacity(75%);
- text-align: right;
- border-color: transparent;
- background-color: transparent;
- padding-left: 0px;
- margin-left: 0px;
- padding-right: 0px;
- margin-right: 0px; }
+/*
+ * Some custom formatting for input forms.
+ * This also fixes input form colors on Firefox with a dark system theme on Linux.
+ */
+input {
+ -moz-appearance: none;
+ color: #333;
+ background-color: #f8f8f8;
+ border: 1px solid #aaa;
+ font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
+ font-size: 0.9em;
+ padding: 6px;
+}
+input:focus {
+ border: 1px solid #1fa0eb;
+ box-shadow: 0 0 2px #1fa0eb;
+}
/* Docgen styles */
/* Links */
a {
- color: #0077b3;
- text-decoration: none; }
+ color: #07b;
+ text-decoration: none;
+}
+
+a span.Identifier {
+ text-decoration: underline;
+ text-decoration-color: #aab;
+}
+
+a.reference-toplevel {
+ font-weight: bold;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: #222; }
+
+a.link-seesrc {
+ color: #607c9f;
+ font-size: 0.9em;
+ font-style: italic; }
a:hover,
a:focus {
- color: #00334d;
+ color: #607c9f;
text-decoration: underline; }
-a:visited {
- color: #00334d; }
+a:hover span.Identifier {
+ color: #607c9f;
+}
-a:focus {
- outline: thin dotted #2d2d2d;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px; }
-
-a:hover,
-a:active {
- outline: 0; }
sub,
sup {
@@ -329,379 +227,258 @@ img {
h2,
h3 {
- page-break-after: avoid; } }
-.img-rounded {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
+ page-break-after: avoid; }
+}
-.img-polaroid {
- padding: 4px;
- background-color: rgba(252, 248, 244, 0.75);
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
p {
- margin: 0 0 8px; }
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
small {
font-size: 85%; }
strong {
- font-weight: 600; }
+ font-weight: 600;
+ font-size: 0.95em;
+ color: #3c3c3c;
+}
em {
font-style: italic; }
-cite {
- font-style: normal; }
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: 600;
- line-height: 20px;
- color: inherit;
- text-rendering: optimizelegibility; }
-
h1 {
- font-size: 2em;
+ font-size: 1.8em;
font-weight: 400;
- padding-bottom: .15em;
- border-bottom: 1px solid #aaaaaa;
- margin-top: 1.0em;
+ padding-bottom: .25em;
+ border-bottom: 1px solid #aaa;
+ margin-top: 2.5em;
+ margin-bottom: 1em;
line-height: 1.2em; }
h1.title {
padding-bottom: 1em;
border-bottom: 0px;
- font-size: 2.75em; }
+ font-size: 2.5em;
+ text-align: center;
+ font-weight: 900;
+ margin-top: 0.75em;
+ margin-bottom: 0em;
+}
h2 {
- font-size: 1.5em;
- margin-top: 1.5em; }
+ font-size: 1.3em;
+ margin-top: 2em; }
+
+h2.subtitle {
+ text-align: center; }
h3 {
- font-size: 1.3em;
+ font-size: 1.125em;
font-style: italic;
- margin-top: 0.75em; }
+ margin-top: 1.5em; }
h4 {
- font-size: 1.3em;
- margin-top: 0.5em; }
+ font-size: 1.125em;
+ margin-top: 1em; }
h5 {
- font-size: 1.2em;
- margin-top: 0.25em; }
+ font-size: 1.125em;
+ margin-top: 0.75em; }
h6 {
font-size: 1.1em; }
+
ul,
ol {
padding: 0;
- margin: 0 0 0px 15px; }
+ margin-top: 0.5em;
+ margin-left: 0.75em; }
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0; }
+ margin-bottom: 0;
+ margin-left: 1.25em; }
li {
- line-height: 20px; }
-
-dl {
- margin-bottom: 20px; }
-
-dt,
-dd {
- line-height: 20px; }
-
-dt {
- font-weight: bold; }
-
-dd {
- margin-left: 10px;
- margin-bottom: 26px; }
-
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff; }
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999999; }
-
-abbr.initialism {
- font-size: 90%;
- text-transform: uppercase; }
-
-blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 20px;
- border-left: 5px solid #EFEBE0; }
-
-table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
- border-left: 5px solid #c9c9c9;
+ list-style-type: circle;
}
-table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
- margin-bottom: 0;
- font-size: 15px;
- font-weight: 200;
- line-height: 1.5;
- font-style: italic; }
+ul.simple-boot li {
+ list-style-type: none;
+ margin-left: 0em;
+ margin-bottom: 0.5em;
+}
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: ""; }
+ol.simple > li, ul.simple > li {
+ margin-bottom: 0.25em;
+ margin-left: 0.4em }
-address {
- display: block;
- margin-bottom: 20px;
- font-style: normal;
- line-height: 20px; }
+ul.simple.simple-toc > li {
+ margin-top: 1em;
+}
-code,
-pre {
- font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- padding: 0 3px 2px;
- font-weight: 500;
- font-size: 12px;
- color: #444444;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px; }
+ul.simple-toc {
+ list-style: none;
+ font-size: 0.9em;
+ margin-left: -0.3em;
+ margin-top: 1em; }
+
+ul.simple-toc > li {
+ list-style-type: none;
+}
+
+ul.simple-toc-section {
+ list-style-type: circle;
+ margin-left: 1em;
+ color: #6c9aae; }
+
+
+ol.arabic {
+ list-style: decimal; }
+
+ol.loweralpha {
+ list-style: lower-alpha; }
+
+ol.upperalpha {
+ list-style: upper-alpha; }
+
+ol.lowerroman {
+ list-style: lower-roman; }
+
+ol.upperroman {
+ list-style: upper-roman; }
+
+ul.auto-toc {
+ list-style-type: none; }
+
+
+dl {
+ margin-bottom: 1.5em; }
+
+dt {
+ margin-bottom: -0.5em;
+ margin-left: 0.0em; }
+
+dd {
+ margin-left: 2.0em;
+ margin-bottom: 3.0em;
+ margin-top: 0.5em; }
+
+
+hr {
+ margin: 2em 0;
+ border: 0;
+ border-top: 1px solid #aaa; }
+
+blockquote {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left: 0.5em;
+ margin-left: 0;
+ border-left: 5px solid #bbc;
+}
.pre {
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
- font-weight: 600;
- /*color: #504da6;*/
+ font-weight: 500;
+ font-size: 0.85em;
+ background-color: #f0f3ff;
+ padding-left: 3px;
+ padding-right: 3px;
+ border-radius: 4px;
}
-code {
- padding: 2px 4px;
- color: #444444;
- white-space: nowrap;
- background-color: white;
- border: 1px solid #777777; }
-
pre {
+ font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
+ color: #222;
+ font-weight: 500;
display: inline-block;
box-sizing: border-box;
- min-width: calc(100% - 19.5px);
- padding: 9.5px;
- margin: 0.25em 10px 10px 10px;
- font-size: 15px;
- line-height: 20px;
+ min-width: 100%;
+ padding: 0.5em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ font-size: 0.85em;
white-space: pre !important;
overflow-y: hidden;
overflow-x: visible;
- background-color: rgba(0, 0, 0, 0.01);
- border: 1px solid #cccccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-pre.prettyprint {
- margin-bottom: 20px; }
-
-pre code {
- padding: 0;
- color: inherit;
- white-space: pre;
- overflow-x: visible;
- background-color: transparent;
- border: 0; }
+ background-color: ghostwhite;
+ border: 1px solid #dde;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px; }
.pre-scrollable {
max-height: 340px;
overflow-y: scroll; }
+
+/* Nim line-numbered tables */
+.line-nums-table {
+ width: 100%;
+ table-layout: fixed; }
+
+table.line-nums-table {
+ border-radius: 4px;
+ border: 1px solid #cccccc;
+ background-color: ghostwhite;
+ border-collapse: separate;
+ margin-top: 15px;
+ margin-bottom: 25px; }
+
+.line-nums-table tbody {
+ border: none; }
+
+.line-nums-table td pre {
+ border: none;
+ background-color: transparent; }
+
+.line-nums-table td.blob-line-nums {
+ width: 28px; }
+
+.line-nums-table td.blob-line-nums pre {
+ color: #b0b0b0;
+ -webkit-filter: opacity(75%);
+ text-align: right;
+ border-color: transparent;
+ background-color: transparent;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-right: 0px;
+ margin-right: 0px; }
+
+
table {
max-width: 100%;
background-color: transparent;
+ margin-top: 0.5em;
+ margin-bottom: 1.5em;
border-collapse: collapse;
- border-spacing: 0; }
-
-table th, table td {
- padding: 0px 8px 0px;
+ border-color: #ccc;
+ border-spacing: 0;
+ font-size: 0.9em;
}
-.table {
- width: 100%;
- margin-bottom: 20px; }
+table th, table td {
+ padding: 0px 0.5em 0px;
+}
-.table th,
-.table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #444444; }
-
-.table th {
+table th {
+ background-color: #e8e8e8;
font-weight: bold; }
-.table thead th {
- vertical-align: bottom; }
+table th.docinfo-name {
+ background-color: transparent;
+}
-.table caption + thead tr:first-child th,
-.table caption + thead tr:first-child td,
-.table colgroup + thead tr:first-child th,
-.table colgroup + thead tr:first-child td,
-.table thead:first-child tr:first-child th,
-.table thead:first-child tr:first-child td {
- border-top: 0; }
+table tr:hover {
+ background-color: ghostwhite; }
-.table tbody + tbody {
- border-top: 2px solid #444444; }
-
-.table .table {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-condensed th,
-.table-condensed td {
- padding: 4px 5px; }
-
-.table-bordered {
- border: 1px solid #444444;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
-
-.table-bordered th,
-.table-bordered td {
- border-left: 1px solid #444444; }
-
-.table-bordered caption + thead tr:first-child th,
-.table-bordered caption + tbody tr:first-child th,
-.table-bordered caption + tbody tr:first-child td,
-.table-bordered colgroup + thead tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child th,
-.table-bordered colgroup + tbody tr:first-child td,
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0; }
-
-.table-bordered thead:first-child tr:first-child > th:first-child,
-.table-bordered tbody:first-child tr:first-child > td:first-child,
-.table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered thead:first-child tr:first-child > th:last-child,
-.table-bordered tbody:first-child tr:first-child > td:last-child,
-.table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:first-child,
-.table-bordered tbody:last-child tr:last-child > td:first-child,
-.table-bordered tbody:last-child tr:last-child > th:first-child,
-.table-bordered tfoot:last-child tr:last-child > td:first-child,
-.table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px; }
-
-.table-bordered thead:last-child tr:last-child > th:last-child,
-.table-bordered tbody:last-child tr:last-child > td:last-child,
-.table-bordered tbody:last-child tr:last-child > th:last-child,
-.table-bordered tfoot:last-child tr:last-child > td:last-child,
-.table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0; }
-
-.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0; }
-
-.table-bordered caption + thead tr:first-child th:first-child,
-.table-bordered caption + tbody tr:first-child td:first-child,
-.table-bordered colgroup + thead tr:first-child th:first-child,
-.table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px; }
-
-.table-bordered caption + thead tr:first-child th:last-child,
-.table-bordered caption + tbody tr:first-child td:last-child,
-.table-bordered colgroup + thead tr:first-child th:last-child,
-.table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px; }
-
-table.docutils th {
- background-color: #e8e8e8; }
-
-table.docutils tr:hover {
- background-color: whitesmoke; }
-
-.table-striped tbody > tr:nth-child(odd) > td,
-.table-striped tbody > tr:nth-child(odd) > th {
- background-color: rgba(252, 248, 244, 0.75); }
-
-.table-hover tbody tr:hover > td,
-.table-hover tbody tr:hover > th {
- background-color: rgba(241, 222, 204, 0.75); }
-
-table td[class*="span"],
-table th[class*="span"],
-.row-fluid table td[class*="span"],
-.row-fluid table th[class*="span"] {
- display: table-cell;
- float: none;
- margin-left: 0; }
-
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- font-size: 18px;
- font-weight: 200;
- line-height: 30px;
- color: inherit;
- background-color: rgba(230, 197, 164, 0.75);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px; }
-
-.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit; }
-
-.hero-unit li {
- line-height: 30px; }
/* rst2html default used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
@@ -722,10 +499,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none; }
-a.toc-backref {
- text-decoration: none;
- color: #444444; }
-
blockquote.epigraph {
margin: 2em 5em; }
@@ -735,85 +508,6 @@ dl.docutils dd {
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden; }
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
-dl.docutils dt {
- font-weight: bold }
-*/
-div.abstract {
- margin: 2em 5em; }
-
-div.abstract p.topic-title {
- font-weight: bold;
- text-align: center; }
-
-div.admonition, div.attention, div.caution, div.danger, div.error,
-div.hint, div.important, div.note, div.tip, div.warning {
- margin: 2em;
- border: medium outset;
- padding: 1em; }
-
-div.note, div.warning {
- margin: 1.5em 0px;
- border: none; }
-
-div.note p.admonition-title,
-div.warning p.admonition-title {
- display: none; }
-
-/* Clearfix
- * http://css-tricks.com/snippets/css/clear-fix/
- */
-div.note:after,
-div.warning:after {
- content: "";
- display: table;
- clear: both; }
-
-div.note p:before,
-div.warning p:before {
- display: block;
- float: left;
- font-size: 4em;
- line-height: 1em;
- margin-right: 20px;
- margin-left: 0em;
- margin-top: -10px;
- content: '\0270D';
- /*handwriting*/ }
-
-div.warning p:before {
- content: '\026A0';
- /*warning*/ }
-
-div.admonition p.admonition-title, div.hint p.admonition-title,
-div.important p.admonition-title, div.note p.admonition-title,
-div.tip p.admonition-title {
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title, .code .error {
- color: #b30000;
- font-weight: bold;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
-/* Uncomment (and remove this text!) to get reduced vertical space in
- compound paragraphs.
-div.compound .compound-first, div.compound .compound-middle {
- margin-bottom: 0.5em }
-
-div.compound .compound-last, div.compound .compound-middle {
- margin-top: 0.5em }
-*/
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic; }
-
-div.dedication p.topic-title {
- font-weight: bold;
- font-style: normal; }
div.figure {
margin-left: 2em;
@@ -821,8 +515,14 @@ div.figure {
div.footer, div.header {
clear: both;
+ text-align: center;
+ color: #666;
font-size: smaller; }
+div.footer {
+ padding-top: 5em;
+}
+
div.line-block {
display: block;
margin-top: 1em;
@@ -833,45 +533,24 @@ div.line-block div.line-block {
margin-bottom: 0;
margin-left: 1.5em; }
-div.sidebar {
- margin: 0 0 0.5em 1em;
- border: medium outset;
- padding: 1em;
- background-color: rgba(252, 248, 244, 0.75);
- width: 40%;
- float: right;
- clear: right; }
-
-div.sidebar p.rubric {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-size: medium; }
-
-div.system-messages {
- margin: 5em; }
-
-div.system-messages h1 {
- color: #b30000; }
-
-div.system-message {
- border: medium outset;
- padding: 1em; }
-
-div.system-message p.system-message-title {
- color: #b30000;
- font-weight: bold; }
-
div.topic {
margin: 2em; }
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
- margin-top: 0.4em; }
+div.search_results {
+ background-color: antiquewhite;
+ margin: 3em;
+ padding: 1em;
+ border: 1px solid #4d4d4d;
+}
-h1.title {
- text-align: center; }
+div#global-links ul {
+ margin-left: 0;
+ list-style-type: none;
+}
-h2.subtitle {
- text-align: center; }
+div#global-links > simple-boot {
+ margin-left: 3em;
+}
hr.docutils {
width: 75%; }
@@ -905,30 +584,6 @@ img.align-center, .figure.align-center, object.align-center {
div.align-right {
text-align: inherit; }
-/* div.align-center * { */
-/* text-align: left } */
-
-ul.simple > li {
- margin-bottom: 0.5em }
-
-ol.simple, ul.simple {
- margin-bottom: 1em; }
-
-ol.arabic {
- list-style: decimal; }
-
-ol.loweralpha {
- list-style: lower-alpha; }
-
-ol.upperalpha {
- list-style: upper-alpha; }
-
-ol.lowerroman {
- list-style: lower-roman; }
-
-ol.upperroman {
- list-style: upper-roman; }
-
p.attribution {
text-align: right;
margin-left: 50%; }
@@ -949,15 +604,6 @@ p.rubric {
color: maroon;
text-align: center; }
-p.sidebar-title {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: larger; }
-
-p.sidebar-subtitle {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- font-weight: bold; }
-
p.topic-title {
font-weight: bold; }
@@ -997,22 +643,14 @@ pre.code .inserted, code .inserted {
background-color: #A3D289; }
span.classifier {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-style: oblique; }
span.classifier-delimiter {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold; }
-span.interpreted {
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
-
span.option {
white-space: nowrap; }
-span.pre {
- white-space: pre; }
-
span.problematic {
color: #b30000; }
@@ -1020,44 +658,6 @@ span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80%; }
-table.citation {
- border-left: solid 1px #666666;
- margin-left: 1px; }
-
-table.docinfo {
- margin: 0em;
- margin-top: 2em;
- margin-bottom: 2em;
- font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
- color: #444444; }
-
-table.docutils {
- margin-top: 0.5em;
- margin-bottom: 0.5em; }
-
-table.footnote {
- border-left: solid 1px #2d2d2d;
- margin-left: 1px; }
-
-table.docutils td, table.docutils th,
-table.docinfo td, table.docinfo th {
- padding-left: 0.5em;
- padding-right: 0.5em;
- vertical-align: top; }
-
-table.docutils th.field-name, table.docinfo th.docinfo-name {
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- padding-left: 0; }
-
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
- font-size: 100%; }
-
-ul.auto-toc {
- list-style-type: none; }
-
span.DecNumber {
color: #252dbe; }
@@ -1074,7 +674,7 @@ span.FloatNumber {
color: #252dbe; }
span.Identifier {
- color: #3b3b3b; }
+ color: #222; }
span.Keyword {
font-weight: 600;
@@ -1139,38 +739,23 @@ dt pre > span.Identifier, dt pre > span.Operator {
color: #155da4;
font-weight: 700; }
-dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
- color: inherit;
- font-weight: inherit; }
-
-dt pre > span.Operator ~ span.Identifier {
+dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
+dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
color: inherit;
font-weight: inherit; }
/* Nim sprite for the footer (taken from main page favicon) */
.nim-sprite {
display: inline-block;
- height: 12px;
- width: 12px;
+ height: 16px;
+ width: 16px;
background-position: 0 0;
- background-size: 12px 12px;
+ background-size: 16px 16px;
-webkit-filter: opacity(50%);
background-repeat: no-repeat;
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
margin-bottom: -5px; }
-div.search_results {
- background-color: antiquewhite;
- margin: 3em;
- padding: 1em;
- border: 1px solid #4d4d4d;
-}
-
-div#global-links ul {
- margin-left: 0;
- list-style-type: none;
-}
-
span.pragmadots {
/* Position: relative frees us up to make the dots
look really nice without fucking up the layout and
@@ -1178,18 +763,14 @@ span.pragmadots {
position: relative;
/* 1px down looks slightly nicer */
top: 1px;
-
padding: 2px;
- background-color: #D3D3D3;
+ background-color: #e8e8e8;
border-radius: 4px;
margin: 0 2px;
cursor: pointer;
-
- /* For some reason on Chrome, making the font size
- smaller than 1em is causing the parent container to
- bulge slightly. So, we're stuck with inheriting 1em,
- which is sad, because 0.8em looks better... */
+ font-size: 0.8em;
}
+
span.pragmadots:hover {
background-color: #DBDBDB;
}
@@ -1197,6 +778,10 @@ span.pragmawrap {
display: none;
}
+span.attachedType {
+ display: none;
+ visibility: hidden;
+}
@@ -1242,11 +827,11 @@ function main() {
Types
time_ t
+ title="time_t = time_t_temp.Time"> time_ t
ptrdiff_ t
+ title="ptrdiff_t = ByteAddress"> ptrdiff_ t
va_ list
+ title="va_list {.importc, header: "<stdarg.h>".} = object"> va_ list
@@ -1254,9 +839,9 @@ function main() {
Templates
@@ -1266,27 +851,31 @@ function main() {
+
@@ -1294,16 +883,18 @@ function main() {
-template enumOp ( op , typ , typout )
+template enumOp ( op , typ , typout )
+
-
-template defineEnum ( typ )
+
+template defineEnum ( typ )
+
@@ -1315,7 +906,7 @@ function main() {
- Made with Nim. Generated: 2019-07-29 14:17:09 UTC
+ Made with Nim. Generated: 2019-07-30 00:08:26 UTC
diff --git a/types.idx b/types.idx
index d4ab217..5bc0938 100644
--- a/types.idx
+++ b/types.idx
@@ -2,4 +2,4 @@ time_t types.html#time_t types: time_t
ptrdiff_t types.html#ptrdiff_t types: ptrdiff_t
va_list types.html#va_list types: va_list
enumOp types.html#enumOp.t,,, types: enumOp(op, typ, typout)
-defineEnum types.html#defineEnum.t, types: defineEnum(typ)
+defineEnum types.html#defineEnum.t types: defineEnum(typ)