diff --git a/all.html b/all.html
old mode 100755
new mode 100644
index 01b70ff..5d58312
--- 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-05-09 06:10:00 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:50 UTC
diff --git a/cimport.html b/cimport.html
old mode 100755
new mode 100644
index d58d588..6066a47
--- 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
+ title="cCompile(path: static string; mode = "c"; exclude = ""): untyped"> c Compile
c Import
+ dynlib: static string = ""): untyped"> c Import
+ 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.
+
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
@@ -1311,32 +895,38 @@ 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.
+
+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 :
cSkipSymbol @ [ "proc1" , "Type2" ]
-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() .
-
-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.
nim -f was broken prior to 0.19.4 but can also be used to flush the cached content.
@@ -1344,8 +934,9 @@ Enable debug messages and display the generated Nim code
-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
@@ -1357,8 +948,9 @@ Add directory dir to
-proc cAddStdDir ( mode = "c" ) { ... } {. compileTime , raises : [ ] , tags : [ ] .}
+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 :
@@ -1374,32 +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.
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.
-
-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.
+nimterop/plugins is implicitly imported to provide access to standard plugin facilities.
+cPlugin() only affects calls to cImport() that follow it.
Examples:
cPlugin :
@@ -1421,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".}
-
-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.
-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" )
@@ -1445,9 +1044,10 @@ Add an include directory that is forwarded to the C/C++ compiler using
-macro cImport ( filename : static string ; recurse : static bool = false ;
+macro cImport ( filename : static string ; recurse : static bool = false ;
dynlib : 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()
dynlib can be used to specify the Nim string to use to specify the dynamic library to load the imported symbols from. For example:
@@ -1467,7 +1067,27 @@ Add an include directory that is forwarded to the C/C++ compiler using
+
+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 .
+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 .
+nimterop does not depend on c2nim as a nimble dependency so it does not get installed automatically. Any wrapper or library that requires this proc needs to install c2nim with nimble install c2nim or add it as a dependency in its own .nimble file.
+
+
+
+
+
+
@@ -1477,7 +1097,7 @@ Add an include directory that is forwarded to the C/C++ compiler using
- Made with Nim. Generated: 2019-05-09 06:10:00 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:50 UTC
diff --git a/cimport.idx b/cimport.idx
old mode 100755
new mode 100644
index 19d15b6..b477ab8
--- a/cimport.idx
+++ b/cimport.idx
@@ -1,12 +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
+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
old mode 100755
new mode 100644
index 6ef1cba..28bd722
--- 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-05-09 06:09:57 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:48 UTC
diff --git a/compat.idx b/compat.idx
old mode 100755
new mode 100644
diff --git a/dochack.js b/dochack.js
old mode 100755
new mode 100644
index 2405199..cfd9e26
--- a/dochack.js
+++ b/dochack.js
@@ -1,4 +1,4 @@
-/* Generated by the Nim Compiler v0.19.9 */
+/* Generated by the Nim Compiler v0.20.99 */
/* (c) 2019 Andreas Rumpf */
var framePtr = null;
@@ -12,247 +12,247 @@ 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 NTI42032 = {size: 0,kind: 1,base: null,node: null,finalizer: null};
-var NTI195074 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
-var NTI45862 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI197577 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
-var NTI81448 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81444 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81440 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81436 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81432 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81428 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81424 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81420 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81416 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81412 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81408 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81404 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81400 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81396 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81392 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81388 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81384 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81380 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81376 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81372 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
-var NTI81205 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI81283 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI81281 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
-var NTI81227 = {size: 0, kind: 14, base: null, node: null, finalizer: null};
-var NTI81565 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
-var NTI81563 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
-var NTI81561 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
-var NTI81231 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI81229 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
-var NTI83305 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
-var NTI45850 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI45858 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI42006 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
-var NTI60156 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
-var NTI45808 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI45914 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
-var NTI42016 = {size: 0,kind: 40,base: null,node: null,finalizer: null};
-var NTI42040 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
-var NTI42042 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
-var NTI45908 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
-var NTI45826 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI45828 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI45842 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NTI45846 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
-var NNI45846 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45846.node = NNI45846;
-var NNI45842 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45842.node = NNI45842;
-var NNI45828 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45828.node = NNI45828;
-NTI45908.base = NTI45826;
-NTI45914.base = NTI45826;
-var NNI45826 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI45908, name: "parent", sons: null},
-{kind: 1, offset: "name", len: 0, typ: NTI42042, name: "name", sons: null},
-{kind: 1, offset: "message", len: 0, typ: NTI42040, name: "msg", sons: null},
-{kind: 1, offset: "trace", len: 0, typ: NTI42040, name: "trace", sons: null},
-{kind: 1, offset: "raiseId", len: 0, typ: NTI42016, name: "raiseId", sons: null},
-{kind: 1, offset: "up", len: 0, typ: NTI45914, name: "up", sons: null}]};
-NTI45826.node = NNI45826;
-var NNI45808 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45808.node = NNI45808;
-NTI45826.base = NTI45808;
-NTI45828.base = NTI45826;
-NTI45842.base = NTI45828;
-NTI45846.base = NTI45842;
-var NNI60156 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI42042, name: "Field0", sons: null},
-{kind: 1, offset: "Field1", len: 0, typ: NTI42006, name: "Field1", sons: null}]};
-NTI60156.node = NNI60156;
-var NNI45858 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45858.node = NNI45858;
-NTI45858.base = NTI45828;
-var NNI45850 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45850.node = NNI45850;
-NTI45850.base = NTI45828;
-NTI81561.base = NTI81229;
-NTI81563.base = NTI81229;
-NTI81565.base = NTI81229;
-var NNI81227 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI81227, name: "ElementNode", len: 0, sons: null},
-"2": {kind: 1, offset: 2, typ: NTI81227, name: "AttributeNode", len: 0, sons: null},
-"3": {kind: 1, offset: 3, typ: NTI81227, name: "TextNode", len: 0, sons: null},
-"4": {kind: 1, offset: 4, typ: NTI81227, name: "CDATANode", len: 0, sons: null},
-"5": {kind: 1, offset: 5, typ: NTI81227, name: "EntityRefNode", len: 0, sons: null},
-"6": {kind: 1, offset: 6, typ: NTI81227, name: "EntityNode", len: 0, sons: null},
-"7": {kind: 1, offset: 7, typ: NTI81227, name: "ProcessingInstructionNode", len: 0, sons: null},
-"8": {kind: 1, offset: 8, typ: NTI81227, name: "CommentNode", len: 0, sons: null},
-"9": {kind: 1, offset: 9, typ: NTI81227, name: "DocumentNode", len: 0, sons: null},
-"10": {kind: 1, offset: 10, typ: NTI81227, name: "DocumentTypeNode", len: 0, sons: null},
-"11": {kind: 1, offset: 11, typ: NTI81227, name: "DocumentFragmentNode", len: 0, sons: null},
-"12": {kind: 1, offset: 12, typ: NTI81227, name: "NotationNode", len: 0, sons: null}}};
-NTI81227.node = NNI81227;
-var NNI81283 = {kind: 2, len: 91, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "background", len: 0, typ: NTI42042, name: "background", sons: null},
-{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI42042, name: "backgroundAttachment", sons: null},
-{kind: 1, offset: "backgroundColor", len: 0, typ: NTI42042, name: "backgroundColor", sons: null},
-{kind: 1, offset: "backgroundImage", len: 0, typ: NTI42042, name: "backgroundImage", sons: null},
-{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI42042, name: "backgroundPosition", sons: null},
-{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI42042, name: "backgroundRepeat", sons: null},
-{kind: 1, offset: "border", len: 0, typ: NTI42042, name: "border", sons: null},
-{kind: 1, offset: "borderBottom", len: 0, typ: NTI42042, name: "borderBottom", sons: null},
-{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI42042, name: "borderBottomColor", sons: null},
-{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI42042, name: "borderBottomStyle", sons: null},
-{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI42042, name: "borderBottomWidth", sons: null},
-{kind: 1, offset: "borderColor", len: 0, typ: NTI42042, name: "borderColor", sons: null},
-{kind: 1, offset: "borderLeft", len: 0, typ: NTI42042, name: "borderLeft", sons: null},
-{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI42042, name: "borderLeftColor", sons: null},
-{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI42042, name: "borderLeftStyle", sons: null},
-{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI42042, name: "borderLeftWidth", sons: null},
-{kind: 1, offset: "borderRight", len: 0, typ: NTI42042, name: "borderRight", sons: null},
-{kind: 1, offset: "borderRightColor", len: 0, typ: NTI42042, name: "borderRightColor", sons: null},
-{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI42042, name: "borderRightStyle", sons: null},
-{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI42042, name: "borderRightWidth", sons: null},
-{kind: 1, offset: "borderStyle", len: 0, typ: NTI42042, name: "borderStyle", sons: null},
-{kind: 1, offset: "borderTop", len: 0, typ: NTI42042, name: "borderTop", sons: null},
-{kind: 1, offset: "borderTopColor", len: 0, typ: NTI42042, name: "borderTopColor", sons: null},
-{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI42042, name: "borderTopStyle", sons: null},
-{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI42042, name: "borderTopWidth", sons: null},
-{kind: 1, offset: "borderWidth", len: 0, typ: NTI42042, name: "borderWidth", sons: null},
-{kind: 1, offset: "bottom", len: 0, typ: NTI42042, name: "bottom", sons: null},
-{kind: 1, offset: "captionSide", len: 0, typ: NTI42042, name: "captionSide", sons: null},
-{kind: 1, offset: "clear", len: 0, typ: NTI42042, name: "clear", sons: null},
-{kind: 1, offset: "clip", len: 0, typ: NTI42042, name: "clip", sons: null},
-{kind: 1, offset: "color", len: 0, typ: NTI42042, name: "color", sons: null},
-{kind: 1, offset: "cursor", len: 0, typ: NTI42042, name: "cursor", sons: null},
-{kind: 1, offset: "direction", len: 0, typ: NTI42042, name: "direction", sons: null},
-{kind: 1, offset: "display", len: 0, typ: NTI42042, name: "display", sons: null},
-{kind: 1, offset: "emptyCells", len: 0, typ: NTI42042, name: "emptyCells", sons: null},
-{kind: 1, offset: "cssFloat", len: 0, typ: NTI42042, name: "cssFloat", sons: null},
-{kind: 1, offset: "font", len: 0, typ: NTI42042, name: "font", sons: null},
-{kind: 1, offset: "fontFamily", len: 0, typ: NTI42042, name: "fontFamily", sons: null},
-{kind: 1, offset: "fontSize", len: 0, typ: NTI42042, name: "fontSize", sons: null},
-{kind: 1, offset: "fontStretch", len: 0, typ: NTI42042, name: "fontStretch", sons: null},
-{kind: 1, offset: "fontStyle", len: 0, typ: NTI42042, name: "fontStyle", sons: null},
-{kind: 1, offset: "fontVariant", len: 0, typ: NTI42042, name: "fontVariant", sons: null},
-{kind: 1, offset: "fontWeight", len: 0, typ: NTI42042, name: "fontWeight", sons: null},
-{kind: 1, offset: "height", len: 0, typ: NTI42042, name: "height", sons: null},
-{kind: 1, offset: "left", len: 0, typ: NTI42042, name: "left", sons: null},
-{kind: 1, offset: "letterSpacing", len: 0, typ: NTI42042, name: "letterSpacing", sons: null},
-{kind: 1, offset: "lineHeight", len: 0, typ: NTI42042, name: "lineHeight", sons: null},
-{kind: 1, offset: "listStyle", len: 0, typ: NTI42042, name: "listStyle", sons: null},
-{kind: 1, offset: "listStyleImage", len: 0, typ: NTI42042, name: "listStyleImage", sons: null},
-{kind: 1, offset: "listStylePosition", len: 0, typ: NTI42042, name: "listStylePosition", sons: null},
-{kind: 1, offset: "listStyleType", len: 0, typ: NTI42042, name: "listStyleType", sons: null},
-{kind: 1, offset: "margin", len: 0, typ: NTI42042, name: "margin", sons: null},
-{kind: 1, offset: "marginBottom", len: 0, typ: NTI42042, name: "marginBottom", sons: null},
-{kind: 1, offset: "marginLeft", len: 0, typ: NTI42042, name: "marginLeft", sons: null},
-{kind: 1, offset: "marginRight", len: 0, typ: NTI42042, name: "marginRight", sons: null},
-{kind: 1, offset: "marginTop", len: 0, typ: NTI42042, name: "marginTop", sons: null},
-{kind: 1, offset: "maxHeight", len: 0, typ: NTI42042, name: "maxHeight", sons: null},
-{kind: 1, offset: "maxWidth", len: 0, typ: NTI42042, name: "maxWidth", sons: null},
-{kind: 1, offset: "minHeight", len: 0, typ: NTI42042, name: "minHeight", sons: null},
-{kind: 1, offset: "minWidth", len: 0, typ: NTI42042, name: "minWidth", sons: null},
-{kind: 1, offset: "overflow", len: 0, typ: NTI42042, name: "overflow", sons: null},
-{kind: 1, offset: "padding", len: 0, typ: NTI42042, name: "padding", sons: null},
-{kind: 1, offset: "paddingBottom", len: 0, typ: NTI42042, name: "paddingBottom", sons: null},
-{kind: 1, offset: "paddingLeft", len: 0, typ: NTI42042, name: "paddingLeft", sons: null},
-{kind: 1, offset: "paddingRight", len: 0, typ: NTI42042, name: "paddingRight", sons: null},
-{kind: 1, offset: "paddingTop", len: 0, typ: NTI42042, name: "paddingTop", sons: null},
-{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI42042, name: "pageBreakAfter", sons: null},
-{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI42042, name: "pageBreakBefore", sons: null},
-{kind: 1, offset: "pointerEvents", len: 0, typ: NTI42042, name: "pointerEvents", sons: null},
-{kind: 1, offset: "position", len: 0, typ: NTI42042, name: "position", sons: null},
-{kind: 1, offset: "right", len: 0, typ: NTI42042, name: "right", sons: null},
-{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI42042, name: "scrollbar3dLightColor", sons: null},
-{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI42042, name: "scrollbarArrowColor", sons: null},
-{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI42042, name: "scrollbarBaseColor", sons: null},
-{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI42042, name: "scrollbarDarkshadowColor", sons: null},
-{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI42042, name: "scrollbarFaceColor", sons: null},
-{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI42042, name: "scrollbarHighlightColor", sons: null},
-{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI42042, name: "scrollbarShadowColor", sons: null},
-{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI42042, name: "scrollbarTrackColor", sons: null},
-{kind: 1, offset: "tableLayout", len: 0, typ: NTI42042, name: "tableLayout", sons: null},
-{kind: 1, offset: "textAlign", len: 0, typ: NTI42042, name: "textAlign", sons: null},
-{kind: 1, offset: "textDecoration", len: 0, typ: NTI42042, name: "textDecoration", sons: null},
-{kind: 1, offset: "textIndent", len: 0, typ: NTI42042, name: "textIndent", sons: null},
-{kind: 1, offset: "textTransform", len: 0, typ: NTI42042, name: "textTransform", sons: null},
-{kind: 1, offset: "transform", len: 0, typ: NTI42042, name: "transform", sons: null},
-{kind: 1, offset: "top", len: 0, typ: NTI42042, name: "top", sons: null},
-{kind: 1, offset: "verticalAlign", len: 0, typ: NTI42042, name: "verticalAlign", sons: null},
-{kind: 1, offset: "visibility", len: 0, typ: NTI42042, name: "visibility", sons: null},
-{kind: 1, offset: "width", len: 0, typ: NTI42042, name: "width", sons: null},
-{kind: 1, offset: "wordSpacing", len: 0, typ: NTI42042, name: "wordSpacing", sons: null},
-{kind: 1, offset: "zIndex", len: 0, typ: NTI42006, name: "zIndex", sons: null}]};
-NTI81283.node = NNI81283;
-NTI81283.base = NTI45808;
-NTI81281.base = NTI81283;
-var NNI81231 = {kind: 2, len: 14, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI81561, name: "attributes", sons: null},
-{kind: 1, offset: "childNodes", len: 0, typ: NTI81563, name: "childNodes", sons: null},
-{kind: 1, offset: "children", len: 0, typ: NTI81565, name: "children", sons: null},
-{kind: 1, offset: "data", len: 0, typ: NTI42042, name: "data", sons: null},
-{kind: 1, offset: "firstChild", len: 0, typ: NTI81229, name: "firstChild", sons: null},
-{kind: 1, offset: "lastChild", len: 0, typ: NTI81229, name: "lastChild", sons: null},
-{kind: 1, offset: "nextSibling", len: 0, typ: NTI81229, name: "nextSibling", sons: null},
-{kind: 1, offset: "nodeName", len: 0, typ: NTI42042, name: "nodeName", sons: null},
-{kind: 1, offset: "nodeType", len: 0, typ: NTI81227, name: "nodeType", sons: null},
-{kind: 1, offset: "nodeValue", len: 0, typ: NTI42042, name: "nodeValue", sons: null},
-{kind: 1, offset: "parentNode", len: 0, typ: NTI81229, name: "parentNode", sons: null},
-{kind: 1, offset: "previousSibling", len: 0, typ: NTI81229, name: "previousSibling", sons: null},
-{kind: 1, offset: "innerHTML", len: 0, typ: NTI42042, name: "innerHTML", sons: null},
-{kind: 1, offset: "style", len: 0, typ: NTI81281, name: "style", sons: null}]};
-NTI81231.node = NNI81231;
-var NNI81205 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI81372, name: "onabort", sons: null},
-{kind: 1, offset: "onblur", len: 0, typ: NTI81376, name: "onblur", sons: null},
-{kind: 1, offset: "onchange", len: 0, typ: NTI81380, name: "onchange", sons: null},
-{kind: 1, offset: "onclick", len: 0, typ: NTI81384, name: "onclick", sons: null},
-{kind: 1, offset: "ondblclick", len: 0, typ: NTI81388, name: "ondblclick", sons: null},
-{kind: 1, offset: "onerror", len: 0, typ: NTI81392, name: "onerror", sons: null},
-{kind: 1, offset: "onfocus", len: 0, typ: NTI81396, name: "onfocus", sons: null},
-{kind: 1, offset: "onkeydown", len: 0, typ: NTI81400, name: "onkeydown", sons: null},
-{kind: 1, offset: "onkeypress", len: 0, typ: NTI81404, name: "onkeypress", sons: null},
-{kind: 1, offset: "onkeyup", len: 0, typ: NTI81408, name: "onkeyup", sons: null},
-{kind: 1, offset: "onload", len: 0, typ: NTI81412, name: "onload", sons: null},
-{kind: 1, offset: "onmousedown", len: 0, typ: NTI81416, name: "onmousedown", sons: null},
-{kind: 1, offset: "onmousemove", len: 0, typ: NTI81420, name: "onmousemove", sons: null},
-{kind: 1, offset: "onmouseout", len: 0, typ: NTI81424, name: "onmouseout", sons: null},
-{kind: 1, offset: "onmouseover", len: 0, typ: NTI81428, name: "onmouseover", sons: null},
-{kind: 1, offset: "onmouseup", len: 0, typ: NTI81432, name: "onmouseup", sons: null},
-{kind: 1, offset: "onreset", len: 0, typ: NTI81436, name: "onreset", sons: null},
-{kind: 1, offset: "onselect", len: 0, typ: NTI81440, name: "onselect", sons: null},
-{kind: 1, offset: "onsubmit", len: 0, typ: NTI81444, name: "onsubmit", sons: null},
-{kind: 1, offset: "onunload", len: 0, typ: NTI81448, name: "onunload", sons: null}]};
-NTI81205.node = NNI81205;
-NTI81205.base = NTI45808;
-NTI81231.base = NTI81205;
-NTI81229.base = NTI81231;
-NTI83305.base = NTI81229;
-NTI197577.base = NTI42042;
-var NNI45862 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
-NTI45862.node = NNI45862;
-NTI45862.base = NTI45828;
-var NNI195074 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI42006, name: "Field0", sons: null},
-{kind: 1, offset: "Field1", len: 0, typ: NTI42032, name: "Field1", sons: null}]};
-NTI195074.node = NNI195074;
+var NTI44032 = {size: 0,kind: 1,base: null,node: null,finalizer: null};
+var NTI205074 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
+var NTI47862 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI207579 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI85448 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85444 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85440 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85436 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85432 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85428 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85424 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85420 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85416 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85412 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85408 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85404 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85400 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85396 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85392 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85388 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85384 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85380 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85376 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85372 = {size: 0,kind: 25,base: null,node: null,finalizer: null};
+var NTI85205 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI85283 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI85281 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI85227 = {size: 0, kind: 14, base: null, node: null, finalizer: null};
+var NTI85565 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI85563 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI85561 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI85231 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI85229 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI87305 = {size: 0,kind: 24,base: null,node: null,finalizer: null};
+var NTI47850 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI47858 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI44006 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
+var NTI64156 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
+var NTI47808 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI47914 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI44016 = {size: 0,kind: 40,base: null,node: null,finalizer: null};
+var NTI44040 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
+var NTI44042 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
+var NTI47908 = {size: 0,kind: 22,base: null,node: null,finalizer: null};
+var NTI47826 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI47828 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI47842 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NTI47846 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
+var NNI47846 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47846.node = NNI47846;
+var NNI47842 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47842.node = NNI47842;
+var NNI47828 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47828.node = NNI47828;
+NTI47908.base = NTI47826;
+NTI47914.base = NTI47826;
+var NNI47826 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI47908, name: "parent", sons: null},
+{kind: 1, offset: "name", len: 0, typ: NTI44042, name: "name", sons: null},
+{kind: 1, offset: "message", len: 0, typ: NTI44040, name: "msg", sons: null},
+{kind: 1, offset: "trace", len: 0, typ: NTI44040, name: "trace", sons: null},
+{kind: 1, offset: "raiseId", len: 0, typ: NTI44016, name: "raiseId", sons: null},
+{kind: 1, offset: "up", len: 0, typ: NTI47914, name: "up", sons: null}]};
+NTI47826.node = NNI47826;
+var NNI47808 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47808.node = NNI47808;
+NTI47826.base = NTI47808;
+NTI47828.base = NTI47826;
+NTI47842.base = NTI47828;
+NTI47846.base = NTI47842;
+var NNI64156 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI44042, name: "Field0", sons: null},
+{kind: 1, offset: "Field1", len: 0, typ: NTI44006, name: "Field1", sons: null}]};
+NTI64156.node = NNI64156;
+var NNI47858 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47858.node = NNI47858;
+NTI47858.base = NTI47828;
+var NNI47850 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47850.node = NNI47850;
+NTI47850.base = NTI47828;
+NTI85561.base = NTI85229;
+NTI85563.base = NTI85229;
+NTI85565.base = NTI85229;
+var NNI85227 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI85227, name: "ElementNode", len: 0, sons: null},
+"2": {kind: 1, offset: 2, typ: NTI85227, name: "AttributeNode", len: 0, sons: null},
+"3": {kind: 1, offset: 3, typ: NTI85227, name: "TextNode", len: 0, sons: null},
+"4": {kind: 1, offset: 4, typ: NTI85227, name: "CDATANode", len: 0, sons: null},
+"5": {kind: 1, offset: 5, typ: NTI85227, name: "EntityRefNode", len: 0, sons: null},
+"6": {kind: 1, offset: 6, typ: NTI85227, name: "EntityNode", len: 0, sons: null},
+"7": {kind: 1, offset: 7, typ: NTI85227, name: "ProcessingInstructionNode", len: 0, sons: null},
+"8": {kind: 1, offset: 8, typ: NTI85227, name: "CommentNode", len: 0, sons: null},
+"9": {kind: 1, offset: 9, typ: NTI85227, name: "DocumentNode", len: 0, sons: null},
+"10": {kind: 1, offset: 10, typ: NTI85227, name: "DocumentTypeNode", len: 0, sons: null},
+"11": {kind: 1, offset: 11, typ: NTI85227, name: "DocumentFragmentNode", len: 0, sons: null},
+"12": {kind: 1, offset: 12, typ: NTI85227, name: "NotationNode", len: 0, sons: null}}};
+NTI85227.node = NNI85227;
+var NNI85283 = {kind: 2, len: 91, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "background", len: 0, typ: NTI44042, name: "background", sons: null},
+{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI44042, name: "backgroundAttachment", sons: null},
+{kind: 1, offset: "backgroundColor", len: 0, typ: NTI44042, name: "backgroundColor", sons: null},
+{kind: 1, offset: "backgroundImage", len: 0, typ: NTI44042, name: "backgroundImage", sons: null},
+{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI44042, name: "backgroundPosition", sons: null},
+{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI44042, name: "backgroundRepeat", sons: null},
+{kind: 1, offset: "border", len: 0, typ: NTI44042, name: "border", sons: null},
+{kind: 1, offset: "borderBottom", len: 0, typ: NTI44042, name: "borderBottom", sons: null},
+{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI44042, name: "borderBottomColor", sons: null},
+{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI44042, name: "borderBottomStyle", sons: null},
+{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI44042, name: "borderBottomWidth", sons: null},
+{kind: 1, offset: "borderColor", len: 0, typ: NTI44042, name: "borderColor", sons: null},
+{kind: 1, offset: "borderLeft", len: 0, typ: NTI44042, name: "borderLeft", sons: null},
+{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI44042, name: "borderLeftColor", sons: null},
+{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI44042, name: "borderLeftStyle", sons: null},
+{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI44042, name: "borderLeftWidth", sons: null},
+{kind: 1, offset: "borderRight", len: 0, typ: NTI44042, name: "borderRight", sons: null},
+{kind: 1, offset: "borderRightColor", len: 0, typ: NTI44042, name: "borderRightColor", sons: null},
+{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI44042, name: "borderRightStyle", sons: null},
+{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI44042, name: "borderRightWidth", sons: null},
+{kind: 1, offset: "borderStyle", len: 0, typ: NTI44042, name: "borderStyle", sons: null},
+{kind: 1, offset: "borderTop", len: 0, typ: NTI44042, name: "borderTop", sons: null},
+{kind: 1, offset: "borderTopColor", len: 0, typ: NTI44042, name: "borderTopColor", sons: null},
+{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI44042, name: "borderTopStyle", sons: null},
+{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI44042, name: "borderTopWidth", sons: null},
+{kind: 1, offset: "borderWidth", len: 0, typ: NTI44042, name: "borderWidth", sons: null},
+{kind: 1, offset: "bottom", len: 0, typ: NTI44042, name: "bottom", sons: null},
+{kind: 1, offset: "captionSide", len: 0, typ: NTI44042, name: "captionSide", sons: null},
+{kind: 1, offset: "clear", len: 0, typ: NTI44042, name: "clear", sons: null},
+{kind: 1, offset: "clip", len: 0, typ: NTI44042, name: "clip", sons: null},
+{kind: 1, offset: "color", len: 0, typ: NTI44042, name: "color", sons: null},
+{kind: 1, offset: "cursor", len: 0, typ: NTI44042, name: "cursor", sons: null},
+{kind: 1, offset: "direction", len: 0, typ: NTI44042, name: "direction", sons: null},
+{kind: 1, offset: "display", len: 0, typ: NTI44042, name: "display", sons: null},
+{kind: 1, offset: "emptyCells", len: 0, typ: NTI44042, name: "emptyCells", sons: null},
+{kind: 1, offset: "cssFloat", len: 0, typ: NTI44042, name: "cssFloat", sons: null},
+{kind: 1, offset: "font", len: 0, typ: NTI44042, name: "font", sons: null},
+{kind: 1, offset: "fontFamily", len: 0, typ: NTI44042, name: "fontFamily", sons: null},
+{kind: 1, offset: "fontSize", len: 0, typ: NTI44042, name: "fontSize", sons: null},
+{kind: 1, offset: "fontStretch", len: 0, typ: NTI44042, name: "fontStretch", sons: null},
+{kind: 1, offset: "fontStyle", len: 0, typ: NTI44042, name: "fontStyle", sons: null},
+{kind: 1, offset: "fontVariant", len: 0, typ: NTI44042, name: "fontVariant", sons: null},
+{kind: 1, offset: "fontWeight", len: 0, typ: NTI44042, name: "fontWeight", sons: null},
+{kind: 1, offset: "height", len: 0, typ: NTI44042, name: "height", sons: null},
+{kind: 1, offset: "left", len: 0, typ: NTI44042, name: "left", sons: null},
+{kind: 1, offset: "letterSpacing", len: 0, typ: NTI44042, name: "letterSpacing", sons: null},
+{kind: 1, offset: "lineHeight", len: 0, typ: NTI44042, name: "lineHeight", sons: null},
+{kind: 1, offset: "listStyle", len: 0, typ: NTI44042, name: "listStyle", sons: null},
+{kind: 1, offset: "listStyleImage", len: 0, typ: NTI44042, name: "listStyleImage", sons: null},
+{kind: 1, offset: "listStylePosition", len: 0, typ: NTI44042, name: "listStylePosition", sons: null},
+{kind: 1, offset: "listStyleType", len: 0, typ: NTI44042, name: "listStyleType", sons: null},
+{kind: 1, offset: "margin", len: 0, typ: NTI44042, name: "margin", sons: null},
+{kind: 1, offset: "marginBottom", len: 0, typ: NTI44042, name: "marginBottom", sons: null},
+{kind: 1, offset: "marginLeft", len: 0, typ: NTI44042, name: "marginLeft", sons: null},
+{kind: 1, offset: "marginRight", len: 0, typ: NTI44042, name: "marginRight", sons: null},
+{kind: 1, offset: "marginTop", len: 0, typ: NTI44042, name: "marginTop", sons: null},
+{kind: 1, offset: "maxHeight", len: 0, typ: NTI44042, name: "maxHeight", sons: null},
+{kind: 1, offset: "maxWidth", len: 0, typ: NTI44042, name: "maxWidth", sons: null},
+{kind: 1, offset: "minHeight", len: 0, typ: NTI44042, name: "minHeight", sons: null},
+{kind: 1, offset: "minWidth", len: 0, typ: NTI44042, name: "minWidth", sons: null},
+{kind: 1, offset: "overflow", len: 0, typ: NTI44042, name: "overflow", sons: null},
+{kind: 1, offset: "padding", len: 0, typ: NTI44042, name: "padding", sons: null},
+{kind: 1, offset: "paddingBottom", len: 0, typ: NTI44042, name: "paddingBottom", sons: null},
+{kind: 1, offset: "paddingLeft", len: 0, typ: NTI44042, name: "paddingLeft", sons: null},
+{kind: 1, offset: "paddingRight", len: 0, typ: NTI44042, name: "paddingRight", sons: null},
+{kind: 1, offset: "paddingTop", len: 0, typ: NTI44042, name: "paddingTop", sons: null},
+{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI44042, name: "pageBreakAfter", sons: null},
+{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI44042, name: "pageBreakBefore", sons: null},
+{kind: 1, offset: "pointerEvents", len: 0, typ: NTI44042, name: "pointerEvents", sons: null},
+{kind: 1, offset: "position", len: 0, typ: NTI44042, name: "position", sons: null},
+{kind: 1, offset: "right", len: 0, typ: NTI44042, name: "right", sons: null},
+{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI44042, name: "scrollbar3dLightColor", sons: null},
+{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI44042, name: "scrollbarArrowColor", sons: null},
+{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI44042, name: "scrollbarBaseColor", sons: null},
+{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI44042, name: "scrollbarDarkshadowColor", sons: null},
+{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI44042, name: "scrollbarFaceColor", sons: null},
+{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI44042, name: "scrollbarHighlightColor", sons: null},
+{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI44042, name: "scrollbarShadowColor", sons: null},
+{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI44042, name: "scrollbarTrackColor", sons: null},
+{kind: 1, offset: "tableLayout", len: 0, typ: NTI44042, name: "tableLayout", sons: null},
+{kind: 1, offset: "textAlign", len: 0, typ: NTI44042, name: "textAlign", sons: null},
+{kind: 1, offset: "textDecoration", len: 0, typ: NTI44042, name: "textDecoration", sons: null},
+{kind: 1, offset: "textIndent", len: 0, typ: NTI44042, name: "textIndent", sons: null},
+{kind: 1, offset: "textTransform", len: 0, typ: NTI44042, name: "textTransform", sons: null},
+{kind: 1, offset: "transform", len: 0, typ: NTI44042, name: "transform", sons: null},
+{kind: 1, offset: "top", len: 0, typ: NTI44042, name: "top", sons: null},
+{kind: 1, offset: "verticalAlign", len: 0, typ: NTI44042, name: "verticalAlign", sons: null},
+{kind: 1, offset: "visibility", len: 0, typ: NTI44042, name: "visibility", sons: null},
+{kind: 1, offset: "width", len: 0, typ: NTI44042, name: "width", sons: null},
+{kind: 1, offset: "wordSpacing", len: 0, typ: NTI44042, name: "wordSpacing", sons: null},
+{kind: 1, offset: "zIndex", len: 0, typ: NTI44006, name: "zIndex", sons: null}]};
+NTI85283.node = NNI85283;
+NTI85283.base = NTI47808;
+NTI85281.base = NTI85283;
+var NNI85231 = {kind: 2, len: 14, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI85561, name: "attributes", sons: null},
+{kind: 1, offset: "childNodes", len: 0, typ: NTI85563, name: "childNodes", sons: null},
+{kind: 1, offset: "children", len: 0, typ: NTI85565, name: "children", sons: null},
+{kind: 1, offset: "data", len: 0, typ: NTI44042, name: "data", sons: null},
+{kind: 1, offset: "firstChild", len: 0, typ: NTI85229, name: "firstChild", sons: null},
+{kind: 1, offset: "lastChild", len: 0, typ: NTI85229, name: "lastChild", sons: null},
+{kind: 1, offset: "nextSibling", len: 0, typ: NTI85229, name: "nextSibling", sons: null},
+{kind: 1, offset: "nodeName", len: 0, typ: NTI44042, name: "nodeName", sons: null},
+{kind: 1, offset: "nodeType", len: 0, typ: NTI85227, name: "nodeType", sons: null},
+{kind: 1, offset: "nodeValue", len: 0, typ: NTI44042, name: "nodeValue", sons: null},
+{kind: 1, offset: "parentNode", len: 0, typ: NTI85229, name: "parentNode", sons: null},
+{kind: 1, offset: "previousSibling", len: 0, typ: NTI85229, name: "previousSibling", sons: null},
+{kind: 1, offset: "innerHTML", len: 0, typ: NTI44042, name: "innerHTML", sons: null},
+{kind: 1, offset: "style", len: 0, typ: NTI85281, name: "style", sons: null}]};
+NTI85231.node = NNI85231;
+var NNI85205 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI85372, name: "onabort", sons: null},
+{kind: 1, offset: "onblur", len: 0, typ: NTI85376, name: "onblur", sons: null},
+{kind: 1, offset: "onchange", len: 0, typ: NTI85380, name: "onchange", sons: null},
+{kind: 1, offset: "onclick", len: 0, typ: NTI85384, name: "onclick", sons: null},
+{kind: 1, offset: "ondblclick", len: 0, typ: NTI85388, name: "ondblclick", sons: null},
+{kind: 1, offset: "onerror", len: 0, typ: NTI85392, name: "onerror", sons: null},
+{kind: 1, offset: "onfocus", len: 0, typ: NTI85396, name: "onfocus", sons: null},
+{kind: 1, offset: "onkeydown", len: 0, typ: NTI85400, name: "onkeydown", sons: null},
+{kind: 1, offset: "onkeypress", len: 0, typ: NTI85404, name: "onkeypress", sons: null},
+{kind: 1, offset: "onkeyup", len: 0, typ: NTI85408, name: "onkeyup", sons: null},
+{kind: 1, offset: "onload", len: 0, typ: NTI85412, name: "onload", sons: null},
+{kind: 1, offset: "onmousedown", len: 0, typ: NTI85416, name: "onmousedown", sons: null},
+{kind: 1, offset: "onmousemove", len: 0, typ: NTI85420, name: "onmousemove", sons: null},
+{kind: 1, offset: "onmouseout", len: 0, typ: NTI85424, name: "onmouseout", sons: null},
+{kind: 1, offset: "onmouseover", len: 0, typ: NTI85428, name: "onmouseover", sons: null},
+{kind: 1, offset: "onmouseup", len: 0, typ: NTI85432, name: "onmouseup", sons: null},
+{kind: 1, offset: "onreset", len: 0, typ: NTI85436, name: "onreset", sons: null},
+{kind: 1, offset: "onselect", len: 0, typ: NTI85440, name: "onselect", sons: null},
+{kind: 1, offset: "onsubmit", len: 0, typ: NTI85444, name: "onsubmit", sons: null},
+{kind: 1, offset: "onunload", len: 0, typ: NTI85448, name: "onunload", sons: null}]};
+NTI85205.node = NNI85205;
+NTI85205.base = NTI47808;
+NTI85231.base = NTI85205;
+NTI85229.base = NTI85231;
+NTI87305.base = NTI85229;
+NTI207579.base = NTI44042;
+var NNI47862 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
+NTI47862.node = NNI47862;
+NTI47862.base = NTI47828;
+var NNI205074 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI44006, name: "Field0", sons: null},
+{kind: 1, offset: "Field1", len: 0, typ: NTI44032, name: "Field1", sons: null}]};
+NTI205074.node = NNI205074;
-function makeNimstrLit(c_62058) {
- var ln = c_62058.length;
+function makeNimstrLit(c_66254) {
+ var ln = c_66254.length;
var result = new Array(ln);
for (var i = 0; i < ln; ++i) {
- result[i] = c_62058.charCodeAt(i);
+ result[i] = c_66254.charCodeAt(i);
}
return result;
@@ -279,99 +279,99 @@ function setConstr() {
}
var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
-function nimCopy(dest_63027, src_63028, ti_63029) {
- var result_63219 = null;
+function nimCopy(dest_67427, src_67428, ti_67429) {
+ var result_67619 = null;
- switch (ti_63029.kind) {
+ switch (ti_67429.kind) {
case 21:
case 22:
case 23:
case 5:
- if (!(is_fat_pointer_63001(ti_63029))) {
- result_63219 = src_63028;
+ if (!(is_fat_pointer_67401(ti_67429))) {
+ result_67619 = src_67428;
}
else {
- result_63219 = [src_63028[0], src_63028[1]];
+ result_67619 = [src_67428[0], src_67428[1]];
}
break;
case 19:
- if (dest_63027 === null || dest_63027 === undefined) {
- dest_63027 = {};
+ if (dest_67427 === null || dest_67427 === undefined) {
+ dest_67427 = {};
}
else {
- for (var key in dest_63027) { delete dest_63027[key]; }
+ for (var key in dest_67427) { delete dest_67427[key]; }
}
- for (var key in src_63028) { dest_63027[key] = src_63028[key]; }
- result_63219 = dest_63027;
+ for (var key in src_67428) { dest_67427[key] = src_67428[key]; }
+ result_67619 = dest_67427;
break;
case 18:
case 17:
- if (!((ti_63029.base == null))) {
- result_63219 = nimCopy(dest_63027, src_63028, ti_63029.base);
+ if (!((ti_67429.base == null))) {
+ result_67619 = nimCopy(dest_67427, src_67428, ti_67429.base);
}
else {
- if ((ti_63029.kind == 17)) {
- result_63219 = (dest_63027 === null || dest_63027 === undefined) ? {m_type: ti_63029} : dest_63027;
+ if ((ti_67429.kind == 17)) {
+ result_67619 = (dest_67427 === null || dest_67427 === undefined) ? {m_type: ti_67429} : dest_67427;
}
else {
- result_63219 = (dest_63027 === null || dest_63027 === undefined) ? {} : dest_63027;
+ result_67619 = (dest_67427 === null || dest_67427 === undefined) ? {} : dest_67427;
}
}
- nimCopyAux(result_63219, src_63028, ti_63029.node);
+ nimCopyAux(result_67619, src_67428, ti_67429.node);
break;
case 24:
case 4:
case 27:
case 16:
- if (src_63028 === null) {
- result_63219 = null;
+ if (src_67428 === null) {
+ result_67619 = null;
}
else {
- if (dest_63027 === null || dest_63027 === undefined) {
- dest_63027 = new Array(src_63028.length);
+ if (dest_67427 === null || dest_67427 === undefined) {
+ dest_67427 = new Array(src_67428.length);
}
else {
- dest_63027.length = src_63028.length;
+ dest_67427.length = src_67428.length;
}
- result_63219 = dest_63027;
- for (var i = 0; i < src_63028.length; ++i) {
- result_63219[i] = nimCopy(result_63219[i], src_63028[i], ti_63029.base);
+ result_67619 = dest_67427;
+ for (var i = 0; i < src_67428.length; ++i) {
+ result_67619[i] = nimCopy(result_67619[i], src_67428[i], ti_67429.base);
}
}
break;
case 28:
- if (src_63028 !== null) {
- result_63219 = src_63028.slice(0);
+ if (src_67428 !== null) {
+ result_67619 = src_67428.slice(0);
}
break;
default:
- result_63219 = src_63028;
+ result_67619 = src_67428;
break;
}
- return result_63219;
+ return result_67619;
}
-function arrayConstr(len_63286, value_63287, typ_63288) {
- var result = new Array(len_63286);
- for (var i = 0; i < len_63286; ++i) result[i] = nimCopy(null, value_63287, typ_63288);
+function arrayConstr(len_67686, value_67687, typ_67688) {
+ var result = new Array(len_67686);
+ for (var i = 0; i < len_67686; ++i) result[i] = nimCopy(null, value_67687, typ_67688);
return result;
}
-function cstrToNimstr(c_62075) {
- var ln = c_62075.length;
+function cstrToNimstr(c_66271) {
+ var ln = c_66271.length;
var result = new Array(ln);
var r = 0;
for (var i = 0; i < ln; ++i) {
- var ch = c_62075.charCodeAt(i);
+ var ch = c_66271.charCodeAt(i);
if (ch < 128) {
result[r] = ch;
@@ -386,7 +386,7 @@ function cstrToNimstr(c_62075) {
}
else {
++i;
- ch = 65536 + (((ch & 1023) << 10) | (c_62075.charCodeAt(i) & 1023));
+ ch = 65536 + (((ch & 1023) << 10) | (c_66271.charCodeAt(i) & 1023));
result[r] = (ch >> 18) | 240;
++r;
result[r] = ((ch >> 12) & 63) | 128;
@@ -405,9 +405,9 @@ function cstrToNimstr(c_62075) {
}
-function toJSStr(s_62092) {
- if (s_62092 === null) return "";
- var len = s_62092.length;
+function toJSStr(s_66288) {
+ if (s_66288 === null) return "";
+ var len = s_66288.length;
var asciiPart = new Array(len);
var fcc = String.fromCharCode;
var nonAsciiPart = null;
@@ -415,15 +415,15 @@ function toJSStr(s_62092) {
for (var i = 0; i < len; ++i) {
if (nonAsciiPart !== null) {
var offset = (i - nonAsciiOffset) * 2;
- var code = s_62092[i].toString(16);
+ var code = s_66288[i].toString(16);
if (code.length == 1) {
code = "0"+code;
}
nonAsciiPart[offset] = "%";
nonAsciiPart[offset + 1] = code;
}
- else if (s_62092[i] < 128)
- asciiPart[i] = fcc(s_62092[i]);
+ else if (s_66288[i] < 128)
+ asciiPart[i] = fcc(s_66288[i]);
else {
asciiPart.length = i;
nonAsciiOffset = i;
@@ -439,20 +439,20 @@ function toJSStr(s_62092) {
}
-function raiseException(e_60618, ename_60619) {
- e_60618.name = ename_60619;
+function raiseException(e_64618, ename_64619) {
+ e_64618.name = ename_64619;
if ((excHandler == 0)) {
- unhandledException(e_60618);
+ unhandledException(e_64618);
}
- e_60618.trace = nimCopy(null, raw_write_stack_trace_60468(), NTI42040);
- throw e_60618;
+ e_64618.trace = nimCopy(null, raw_write_stack_trace_64468(), NTI44040);
+ throw e_64618;
}
-function addInt(a_62403, b_62404) {
- var result = a_62403 + b_62404;
+function addInt(a_66603, b_66604) {
+ var result = a_66603 + b_66604;
if (result > 2147483647 || result < -2147483648) raiseOverflow();
return result;
@@ -460,28 +460,28 @@ function addInt(a_62403, b_62404) {
}
-function chckIndx(i_63305, a_63306, b_63307) {
+function chckIndx(i_67705, a_67706, b_67707) {
var Tmp1;
- var result_63308 = 0;
+ var result_67708 = 0;
BeforeRet: do {
- if (!(a_63306 <= i_63305)) Tmp1 = false; else { Tmp1 = (i_63305 <= b_63307); } if (Tmp1) {
- result_63308 = i_63305;
+ if (!(a_67706 <= i_67705)) Tmp1 = false; else { Tmp1 = (i_67705 <= b_67707); } if (Tmp1) {
+ result_67708 = i_67705;
break BeforeRet;
}
else {
- raiseIndexError(i_63305, a_63306, b_63307);
+ raiseIndexError(i_67705, a_67706, b_67707);
}
} while (false);
- return result_63308;
+ return result_67708;
}
-function subInt(a_62421, b_62422) {
- var result = a_62421 - b_62422;
+function subInt(a_66621, b_66622) {
+ var result = a_66621 - b_66622;
if (result > 2147483647 || result < -2147483648) raiseOverflow();
return result;
@@ -490,14 +490,14 @@ function subInt(a_62421, b_62422) {
}
var ConstSet2 = setConstr([65, 90]);
-function chckRange(i_63324, a_63325, b_63326) {
+function chckRange(i_67724, a_67725, b_67726) {
var Tmp1;
- var result_63327 = 0;
+ var result_67727 = 0;
BeforeRet: do {
- if (!(a_63325 <= i_63324)) Tmp1 = false; else { Tmp1 = (i_63324 <= b_63326); } if (Tmp1) {
- result_63327 = i_63324;
+ if (!(a_67725 <= i_67724)) Tmp1 = false; else { Tmp1 = (i_67724 <= b_67726); } if (Tmp1) {
+ result_67727 = i_67724;
break BeforeRet;
}
else {
@@ -506,14 +506,14 @@ function chckRange(i_63324, a_63325, b_63326) {
} while (false);
- return result_63327;
+ return result_67727;
}
var ConstSet3 = setConstr(95, 32, 46);
var ConstSet4 = setConstr(95, 32, 46);
-function mulInt(a_62439, b_62440) {
- var result = a_62439 * b_62440;
+function mulInt(a_66639, b_66640) {
+ var result = a_66639 * b_66640;
if (result > 2147483647 || result < -2147483648) raiseOverflow();
return result;
@@ -525,51 +525,51 @@ var ConstSet6 = setConstr([65, 90], [97, 122]);
var ConstSet7 = setConstr([97, 122]);
var ConstSet8 = setConstr([65, 90]);
-function nimMax(a_62758, b_62759) {
+function nimMax(a_67021, b_67022) {
var Tmp1;
- var result_62760 = 0;
+ var result_67023 = 0;
BeforeRet: do {
- if ((b_62759 <= a_62758)) {
- Tmp1 = a_62758;
+ if ((b_67022 <= a_67021)) {
+ Tmp1 = a_67021;
}
else {
- Tmp1 = b_62759;
+ Tmp1 = b_67022;
}
- result_62760 = Tmp1;
+ result_67023 = Tmp1;
break BeforeRet;
} while (false);
- return result_62760;
+ return result_67023;
}
-function nimMin(a_62740, b_62741) {
+function nimMin(a_67003, b_67004) {
var Tmp1;
- var result_62742 = 0;
+ var result_67005 = 0;
BeforeRet: do {
- if ((a_62740 <= b_62741)) {
- Tmp1 = a_62740;
+ if ((a_67003 <= b_67004)) {
+ Tmp1 = a_67003;
}
else {
- Tmp1 = b_62741;
+ Tmp1 = b_67004;
}
- result_62742 = Tmp1;
+ result_67005 = Tmp1;
break BeforeRet;
} while (false);
- return result_62742;
+ return result_67005;
}
var nim_program_result = 0;
-var global_raise_hook_57618 = [null];
-var local_raise_hook_57623 = [null];
-var out_of_mem_hook_57626 = [null];
+var global_raise_hook_61618 = [null];
+var local_raise_hook_61623 = [null];
+var out_of_mem_hook_61626 = [null];
if (!Math.trunc) {
Math.trunc = function(v) {
v = +v;
@@ -578,38 +578,38 @@ var out_of_mem_hook_57626 = [null];
return (v - v % 1) || (v < 0 ? -0 : v === 0 ? v : 0);
};
}
-var alternative_197315 = [null];
+var alternative_207315 = [null];
-function is_fat_pointer_63001(ti_63003) {
- var result_63004 = false;
+function is_fat_pointer_67401(ti_67403) {
+ var result_67404 = false;
BeforeRet: do {
- result_63004 = !((ConstSet1[ti_63003.base.kind] != undefined));
+ result_67404 = !((ConstSet1[ti_67403.base.kind] != undefined));
break BeforeRet;
} while (false);
- return result_63004;
+ return result_67404;
}
-function nimCopyAux(dest_63032, src_63033, n_63035) {
- switch (n_63035.kind) {
+function nimCopyAux(dest_67432, src_67433, n_67435) {
+ switch (n_67435.kind) {
case 0:
break;
case 1:
- dest_63032[n_63035.offset] = nimCopy(dest_63032[n_63035.offset], src_63033[n_63035.offset], n_63035.typ);
+ dest_67432[n_67435.offset] = nimCopy(dest_67432[n_67435.offset], src_67433[n_67435.offset], n_67435.typ);
break;
case 2:
- for (var i = 0; i < n_63035.sons.length; i++) {
- nimCopyAux(dest_63032, src_63033, n_63035.sons[i]);
+ for (var i = 0; i < n_67435.sons.length; i++) {
+ nimCopyAux(dest_67432, src_67433, n_67435.sons[i]);
}
break;
case 3:
- dest_63032[n_63035.offset] = nimCopy(dest_63032[n_63035.offset], src_63033[n_63035.offset], n_63035.typ);
- for (var i = 0; i < n_63035.sons.length; ++i) {
- nimCopyAux(dest_63032, src_63033, n_63035.sons[i][1]);
+ dest_67432[n_67435.offset] = nimCopy(dest_67432[n_67435.offset], src_67433[n_67435.offset], n_67435.typ);
+ for (var i = 0; i < n_67435.sons.length; ++i) {
+ nimCopyAux(dest_67432, src_67433, n_67435.sons[i][1]);
}
break;
@@ -618,112 +618,112 @@ function nimCopyAux(dest_63032, src_63033, n_63035) {
}
-function add_57638(x_57641, x_57641_Idx, y_57642) {
- if (x_57641[x_57641_Idx] === null) { x_57641[x_57641_Idx] = []; }
- var off = x_57641[x_57641_Idx].length;
- x_57641[x_57641_Idx].length += y_57642.length;
- for (var i = 0; i < y_57642.length; ++i) {
- x_57641[x_57641_Idx][off+i] = y_57642.charCodeAt(i);
+function add_61638(x_61641, x_61641_Idx, y_61642) {
+ if (x_61641[x_61641_Idx] === null) { x_61641[x_61641_Idx] = []; }
+ var off = x_61641[x_61641_Idx].length;
+ x_61641[x_61641_Idx].length += y_61642.length;
+ for (var i = 0; i < y_61642.length; ++i) {
+ x_61641[x_61641_Idx][off+i] = y_61642.charCodeAt(i);
}
}
-function aux_write_stack_trace_60151(f_60153) {
+function aux_write_stack_trace_64151(f_64153) {
var Tmp3;
- var result_60154 = [null];
+ var result_64154 = [null];
- var it_60162 = f_60153;
- var i_60164 = 0;
- var total_60166 = 0;
- var temp_frames_60173 = arrayConstr(64, {Field0: null, Field1: 0}, NTI60156);
+ var it_64162 = f_64153;
+ var i_64164 = 0;
+ var total_64166 = 0;
+ var temp_frames_64173 = arrayConstr(64, {Field0: null, Field1: 0}, NTI64156);
L1: do {
L2: while (true) {
- if (!!((it_60162 == null))) Tmp3 = false; else { Tmp3 = (i_60164 <= 63); } if (!Tmp3) break L2;
- temp_frames_60173[i_60164].Field0 = it_60162.procname;
- temp_frames_60173[i_60164].Field1 = it_60162.line;
- i_60164 += 1;
- total_60166 += 1;
- it_60162 = it_60162.prev;
+ if (!!((it_64162 == null))) Tmp3 = false; else { Tmp3 = (i_64164 <= 63); } if (!Tmp3) break L2;
+ temp_frames_64173[i_64164].Field0 = it_64162.procname;
+ temp_frames_64173[i_64164].Field1 = it_64162.line;
+ i_64164 += 1;
+ total_64166 += 1;
+ it_64162 = it_64162.prev;
}
} while(false);
L4: do {
L5: while (true) {
- if (!!((it_60162 == null))) break L5;
- total_60166 += 1;
- it_60162 = it_60162.prev;
+ if (!!((it_64162 == null))) break L5;
+ total_64166 += 1;
+ it_64162 = it_64162.prev;
}
} while(false);
- result_60154[0] = nimCopy(null, [], NTI42040);
- if (!((total_60166 == i_60164))) {
- if (result_60154[0] != null) { result_60154[0] = (result_60154[0]).concat(makeNimstrLit("(")); } else { result_60154[0] = makeNimstrLit("("); };
- if (result_60154[0] != null) { result_60154[0] = (result_60154[0]).concat(cstrToNimstr(((total_60166 - i_60164))+"")); } else { result_60154[0] = cstrToNimstr(((total_60166 - i_60164))+"").slice(); };
- if (result_60154[0] != null) { result_60154[0] = (result_60154[0]).concat(makeNimstrLit(" calls omitted) ...\x0A")); } else { result_60154[0] = makeNimstrLit(" calls omitted) ...\x0A"); };
+ result_64154[0] = nimCopy(null, [], NTI44040);
+ if (!((total_64166 == i_64164))) {
+ if (result_64154[0] != null) { result_64154[0] = (result_64154[0]).concat(makeNimstrLit("(")); } else { result_64154[0] = makeNimstrLit("("); };
+ if (result_64154[0] != null) { result_64154[0] = (result_64154[0]).concat(cstrToNimstr(((total_64166 - i_64164))+"")); } else { result_64154[0] = cstrToNimstr(((total_64166 - i_64164))+"").slice(); };
+ if (result_64154[0] != null) { result_64154[0] = (result_64154[0]).concat(makeNimstrLit(" calls omitted) ...\x0A")); } else { result_64154[0] = makeNimstrLit(" calls omitted) ...\x0A"); };
}
L6: do {
- var j_60421 = 0;
- var colontmp__197456 = 0;
- colontmp__197456 = (i_60164 - 1);
- var res_197461 = colontmp__197456;
+ var j_64421 = 0;
+ var colontmp__207456 = 0;
+ colontmp__207456 = (i_64164 - 1);
+ var res_207461 = colontmp__207456;
L7: do {
L8: while (true) {
- if (!(0 <= res_197461)) break L8;
- j_60421 = res_197461;
- add_57638(result_60154, 0, temp_frames_60173[j_60421].Field0);
- if ((0 < temp_frames_60173[j_60421].Field1)) {
- if (result_60154[0] != null) { result_60154[0] = (result_60154[0]).concat(makeNimstrLit(", line: ")); } else { result_60154[0] = makeNimstrLit(", line: "); };
- if (result_60154[0] != null) { result_60154[0] = (result_60154[0]).concat(cstrToNimstr((temp_frames_60173[j_60421].Field1)+"")); } else { result_60154[0] = cstrToNimstr((temp_frames_60173[j_60421].Field1)+"").slice(); };
+ if (!(0 <= res_207461)) break L8;
+ j_64421 = res_207461;
+ add_61638(result_64154, 0, temp_frames_64173[j_64421].Field0);
+ if ((0 < temp_frames_64173[j_64421].Field1)) {
+ if (result_64154[0] != null) { result_64154[0] = (result_64154[0]).concat(makeNimstrLit(", line: ")); } else { result_64154[0] = makeNimstrLit(", line: "); };
+ if (result_64154[0] != null) { result_64154[0] = (result_64154[0]).concat(cstrToNimstr((temp_frames_64173[j_64421].Field1)+"")); } else { result_64154[0] = cstrToNimstr((temp_frames_64173[j_64421].Field1)+"").slice(); };
}
- if (result_60154[0] != null) { result_60154[0] = (result_60154[0]).concat(makeNimstrLit("\x0A")); } else { result_60154[0] = makeNimstrLit("\x0A"); };
- res_197461 -= 1;
+ if (result_64154[0] != null) { result_64154[0] = (result_64154[0]).concat(makeNimstrLit("\x0A")); } else { result_64154[0] = makeNimstrLit("\x0A"); };
+ res_207461 -= 1;
}
} while(false);
} while(false);
- return result_60154[0];
+ return result_64154[0];
}
-function raw_write_stack_trace_60468() {
- var result_60470 = null;
+function raw_write_stack_trace_64468() {
+ var result_64470 = null;
if (!((framePtr == null))) {
- result_60470 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(aux_write_stack_trace_60151(framePtr) || []), NTI42040);
+ result_64470 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(aux_write_stack_trace_64151(framePtr) || []), NTI44040);
}
else {
- result_60470 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI42040);
+ result_64470 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI44040);
}
- return result_60470;
+ return result_64470;
}
-function unhandledException(e_60529) {
- var buf_60530 = [[]];
- if (!(((e_60529.message != null ? e_60529.message.length : 0) == 0))) {
- if (buf_60530[0] != null) { buf_60530[0] = (buf_60530[0]).concat(makeNimstrLit("Error: unhandled exception: ")); } else { buf_60530[0] = makeNimstrLit("Error: unhandled exception: "); };
- if (buf_60530[0] != null) { buf_60530[0] = (buf_60530[0]).concat(e_60529.message); } else { buf_60530[0] = e_60529.message.slice(); };
+function unhandledException(e_64529) {
+ var buf_64530 = [[]];
+ if (!(((e_64529.message != null ? e_64529.message.length : 0) == 0))) {
+ if (buf_64530[0] != null) { buf_64530[0] = (buf_64530[0]).concat(makeNimstrLit("Error: unhandled exception: ")); } else { buf_64530[0] = makeNimstrLit("Error: unhandled exception: "); };
+ if (buf_64530[0] != null) { buf_64530[0] = (buf_64530[0]).concat(e_64529.message); } else { buf_64530[0] = e_64529.message.slice(); };
}
else {
- if (buf_60530[0] != null) { buf_60530[0] = (buf_60530[0]).concat(makeNimstrLit("Error: unhandled exception")); } else { buf_60530[0] = makeNimstrLit("Error: unhandled exception"); };
+ if (buf_64530[0] != null) { buf_64530[0] = (buf_64530[0]).concat(makeNimstrLit("Error: unhandled exception")); } else { buf_64530[0] = makeNimstrLit("Error: unhandled exception"); };
}
- if (buf_60530[0] != null) { buf_60530[0] = (buf_60530[0]).concat(makeNimstrLit(" [")); } else { buf_60530[0] = makeNimstrLit(" ["); };
- add_57638(buf_60530, 0, e_60529.name);
- if (buf_60530[0] != null) { buf_60530[0] = (buf_60530[0]).concat(makeNimstrLit("]\x0A")); } else { buf_60530[0] = makeNimstrLit("]\x0A"); };
- if (buf_60530[0] != null) { buf_60530[0] = (buf_60530[0]).concat(raw_write_stack_trace_60468()); } else { buf_60530[0] = raw_write_stack_trace_60468().slice(); };
- var cbuf_60601 = toJSStr(buf_60530[0]);
+ if (buf_64530[0] != null) { buf_64530[0] = (buf_64530[0]).concat(makeNimstrLit(" [")); } else { buf_64530[0] = makeNimstrLit(" ["); };
+ add_61638(buf_64530, 0, e_64529.name);
+ if (buf_64530[0] != null) { buf_64530[0] = (buf_64530[0]).concat(makeNimstrLit("]\x0A")); } else { buf_64530[0] = makeNimstrLit("]\x0A"); };
+ if (buf_64530[0] != null) { buf_64530[0] = (buf_64530[0]).concat(raw_write_stack_trace_64468()); } else { buf_64530[0] = raw_write_stack_trace_64468().slice(); };
+ var cbuf_64601 = toJSStr(buf_64530[0]);
framePtr = null;
if (typeof(Error) !== "undefined") {
- throw new Error(cbuf_60601);
+ throw new Error(cbuf_64601);
}
else {
- throw cbuf_60601;
+ throw cbuf_64601;
}
@@ -731,49 +731,58 @@ function unhandledException(e_60529) {
}
function raiseOverflow() {
- var e_61046 = null;
- e_61046 = {m_type: NTI45846, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
- e_61046.message = nimCopy(null, makeNimstrLit("over- or underflow"), NTI42040);
- e_61046.parent = null;
- raiseException(e_61046, "OverflowError");
+ var e_65042 = null;
+ e_65042 = {m_type: NTI47846, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ e_65042.message = nimCopy(null, makeNimstrLit("over- or underflow"), NTI44040);
+ e_65042.parent = null;
+ raiseException(e_65042, "OverflowError");
}
-function is_whitespace_196654(text_196656) {
- return !/[^\s]/.test(text_196656);
+function is_whitespace_206654(text_206656) {
+ return !/[^\s]/.test(text_206656);
}
-function is_whitespace_196671(x_196673) {
+function is_whitespace_206671(x_206673) {
var Tmp1;
var Tmp2;
- var result_196674 = false;
+ var result_206674 = false;
var F={procname:"dochack.isWhitespace",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 134;
- if (!(x_196673.nodeName == "#text")) Tmp2 = false; else { Tmp2 = is_whitespace_196654(x_196673.textContent); } if (Tmp2) Tmp1 = true; else { Tmp1 = (x_196673.nodeName == "#comment"); } result_196674 = Tmp1;
+ if (!(x_206673.nodeName == "#text")) Tmp2 = false; else { Tmp2 = is_whitespace_206654(x_206673.textContent); } if (Tmp2) Tmp1 = true; else { Tmp1 = (x_206673.nodeName == "#comment"); } result_206674 = Tmp1;
framePtr = F.prev;
- return result_196674;
+ return result_206674;
}
-function raiseIndexError(i_61643, a_61644, b_61645) {
- var e_61649 = null;
- e_61649 = {m_type: NTI45858, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
- e_61649.message = nimCopy(null, (makeNimstrLit("index ") || []).concat(cstrToNimstr((i_61643)+"") || [],makeNimstrLit(" not in ") || [],cstrToNimstr((a_61644)+"") || [],makeNimstrLit(" .. ") || [],cstrToNimstr((b_61645)+"") || []), NTI42040);
- e_61649.parent = null;
- raiseException(e_61649, "IndexError");
+function raiseIndexError(i_65639, a_65640, b_65641) {
+ var Tmp1;
+
+ var e_65802 = null;
+ e_65802 = {m_type: NTI47858, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ if ((b_65641 < a_65640)) {
+ Tmp1 = makeNimstrLit("index out of bounds, the container is empty");
+ }
+ else {
+ Tmp1 = (makeNimstrLit("index ") || []).concat(cstrToNimstr((i_65639)+"") || [],makeNimstrLit(" not in ") || [],cstrToNimstr((a_65640)+"") || [],makeNimstrLit(" .. ") || [],cstrToNimstr((b_65641)+"") || []);
+ }
+
+ e_65802.message = nimCopy(null, Tmp1, NTI44040);
+ e_65802.parent = null;
+ raiseException(e_65802, "IndexError");
}
-function to_toc_196688(x_196690, father_196691) {
+function to_toc_206688(x_206690, father_206691) {
var Tmp5;
var Tmp6;
var Tmp7;
@@ -782,151 +791,151 @@ function to_toc_196688(x_196690, father_196691) {
var F={procname:"dochack.toToc",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
- if ((x_196690.nodeName == "UL")) {
+ if ((x_206690.nodeName == "UL")) {
F.line = 139;
- var f_196710 = {heading: null, kids: [], sortId: (father_196691.kids != null ? father_196691.kids.length : 0), doSort: false};
+ var f_206710 = {heading: null, kids: [], sortId: (father_206691.kids != null ? father_206691.kids.length : 0), doSort: false};
F.line = 140;
- var i_196712 = 0;
+ var i_206712 = 0;
L1: do {
F.line = 141;
L2: while (true) {
- if (!(i_196712 < x_196690.childNodes.length)) break L2;
+ if (!(i_206712 < x_206690.childNodes.length)) break L2;
F.line = 142;
- var nxt_196713 = addInt(i_196712, 1);
+ var nxt_206713 = addInt(i_206712, 1);
L3: do {
F.line = 143;
L4: while (true) {
- if (!(nxt_196713 < x_196690.childNodes.length)) Tmp5 = false; else { Tmp5 = is_whitespace_196671(x_196690.childNodes[nxt_196713]); } if (!Tmp5) break L4;
+ if (!(nxt_206713 < x_206690.childNodes.length)) Tmp5 = false; else { Tmp5 = is_whitespace_206671(x_206690.childNodes[nxt_206713]); } if (!Tmp5) break L4;
F.line = 144;
- nxt_196713 = addInt(nxt_196713, 1);
+ nxt_206713 = addInt(nxt_206713, 1);
}
} while(false);
- if (!(nxt_196713 < x_196690.childNodes.length)) Tmp8 = false; else { Tmp8 = (x_196690.childNodes[i_196712].nodeName == "LI"); } if (!Tmp8) Tmp7 = false; else { Tmp7 = (x_196690.childNodes[i_196712].childNodes.length == 1); } if (!Tmp7) Tmp6 = false; else { Tmp6 = (x_196690.childNodes[nxt_196713].nodeName == "UL"); } if (Tmp6) {
+ if (!(nxt_206713 < x_206690.childNodes.length)) Tmp8 = false; else { Tmp8 = (x_206690.childNodes[i_206712].nodeName == "LI"); } if (!Tmp8) Tmp7 = false; else { Tmp7 = (x_206690.childNodes[i_206712].childNodes.length == 1); } if (!Tmp7) Tmp6 = false; else { Tmp6 = (x_206690.childNodes[nxt_206713].nodeName == "UL"); } if (Tmp6) {
F.line = 147;
- var e_196738 = {heading: x_196690.childNodes[i_196712].childNodes[0], kids: [], sortId: (f_196710.kids != null ? f_196710.kids.length : 0), doSort: false};
+ var e_206738 = {heading: x_206690.childNodes[i_206712].childNodes[0], kids: [], sortId: (f_206710.kids != null ? f_206710.kids.length : 0), doSort: false};
F.line = 148;
- var it_196739 = x_196690.childNodes[nxt_196713];
+ var it_206739 = x_206690.childNodes[nxt_206713];
L9: do {
F.line = 149;
- var j_196746 = 0;
- F.line = 2638;
- var colontmp__197432 = 0;
+ var j_206747 = 0;
+ F.line = 2716;
+ var colontmp__207432 = 0;
F.line = 149;
- colontmp__197432 = it_196739.childNodes.length;
- F.line = 2639;
- var i_197433 = 0;
+ colontmp__207432 = it_206739.childNodes.length;
+ F.line = 2717;
+ var i_207433 = 0;
L10: do {
- F.line = 2640;
+ F.line = 2718;
L11: while (true) {
- if (!(i_197433 < colontmp__197432)) break L11;
+ if (!(i_207433 < colontmp__207432)) break L11;
F.line = 149;
- j_196746 = i_197433;
+ j_206747 = i_207433;
F.line = 150;
- to_toc_196688(it_196739.childNodes[j_196746], e_196738);
- F.line = 2642;
- i_197433 = addInt(i_197433, 1);
+ to_toc_206688(it_206739.childNodes[j_206747], e_206738);
+ F.line = 2720;
+ i_207433 = addInt(i_207433, 1);
}
} while(false);
} while(false);
F.line = 151;
- if (f_196710.kids != null) { f_196710.kids.push(e_196738); } else { f_196710.kids = [e_196738]; };
+ if (f_206710.kids != null) { f_206710.kids.push(e_206738); } else { f_206710.kids = [e_206738]; };
F.line = 152;
- i_196712 = addInt(nxt_196713, 1);
+ i_206712 = addInt(nxt_206713, 1);
}
else {
F.line = 154;
- to_toc_196688(x_196690.childNodes[i_196712], f_196710);
+ to_toc_206688(x_206690.childNodes[i_206712], f_206710);
F.line = 155;
- i_196712 = addInt(i_196712, 1);
+ i_206712 = addInt(i_206712, 1);
}
}
} while(false);
F.line = 156;
- if (father_196691.kids != null) { father_196691.kids.push(f_196710); } else { father_196691.kids = [f_196710]; };
+ if (father_206691.kids != null) { father_206691.kids.push(f_206710); } else { father_206691.kids = [f_206710]; };
}
else {
- if (is_whitespace_196671(x_196690)) {
+ if (is_whitespace_206671(x_206690)) {
}
else {
- if ((x_196690.nodeName == "LI")) {
+ if ((x_206690.nodeName == "LI")) {
F.line = 160;
- var idx_196781 = [];
+ var idx_206782 = [];
L12: do {
F.line = 161;
- var i_196788 = 0;
- F.line = 2638;
- var colontmp__197437 = 0;
+ var i_206790 = 0;
+ F.line = 2716;
+ var colontmp__207437 = 0;
F.line = 161;
- colontmp__197437 = x_196690.childNodes.length;
- F.line = 2639;
- var i_197438 = 0;
+ colontmp__207437 = x_206690.childNodes.length;
+ F.line = 2717;
+ var i_207438 = 0;
L13: do {
- F.line = 2640;
+ F.line = 2718;
L14: while (true) {
- if (!(i_197438 < colontmp__197437)) break L14;
+ if (!(i_207438 < colontmp__207437)) break L14;
F.line = 161;
- i_196788 = i_197438;
- if (!(is_whitespace_196671(x_196690.childNodes[i_196788]))) {
+ i_206790 = i_207438;
+ if (!(is_whitespace_206671(x_206690.childNodes[i_206790]))) {
F.line = 162;
- if (idx_196781 != null) { idx_196781.push(i_196788); } else { idx_196781 = [i_196788]; };
+ if (idx_206782 != null) { idx_206782.push(i_206790); } else { idx_206782 = [i_206790]; };
}
- F.line = 2642;
- i_197438 = addInt(i_197438, 1);
+ F.line = 2720;
+ i_207438 = addInt(i_207438, 1);
}
} while(false);
} while(false);
- if (!((idx_196781 != null ? idx_196781.length : 0) == 2)) Tmp15 = false; else { Tmp15 = (x_196690.childNodes[idx_196781[chckIndx(1, 0, idx_196781.length+0-1)-0]].nodeName == "UL"); } if (Tmp15) {
+ if (!((idx_206782 != null ? idx_206782.length : 0) == 2)) Tmp15 = false; else { Tmp15 = (x_206690.childNodes[idx_206782[chckIndx(1, 0, idx_206782.length+0-1)-0]].nodeName == "UL"); } if (Tmp15) {
F.line = 164;
- var e_196819 = {heading: x_196690.childNodes[idx_196781[chckIndx(0, 0, idx_196781.length+0-1)-0]], kids: [], sortId: (father_196691.kids != null ? father_196691.kids.length : 0), doSort: false};
+ var e_206821 = {heading: x_206690.childNodes[idx_206782[chckIndx(0, 0, idx_206782.length+0-1)-0]], kids: [], sortId: (father_206691.kids != null ? father_206691.kids.length : 0), doSort: false};
F.line = 166;
- var it_196820 = x_196690.childNodes[idx_196781[chckIndx(1, 0, idx_196781.length+0-1)-0]];
+ var it_206822 = x_206690.childNodes[idx_206782[chckIndx(1, 0, idx_206782.length+0-1)-0]];
L16: do {
F.line = 167;
- var j_196827 = 0;
- F.line = 2638;
- var colontmp__197443 = 0;
+ var j_206830 = 0;
+ F.line = 2716;
+ var colontmp__207443 = 0;
F.line = 167;
- colontmp__197443 = it_196820.childNodes.length;
- F.line = 2639;
- var i_197444 = 0;
+ colontmp__207443 = it_206822.childNodes.length;
+ F.line = 2717;
+ var i_207444 = 0;
L17: do {
- F.line = 2640;
+ F.line = 2718;
L18: while (true) {
- if (!(i_197444 < colontmp__197443)) break L18;
+ if (!(i_207444 < colontmp__207443)) break L18;
F.line = 167;
- j_196827 = i_197444;
+ j_206830 = i_207444;
F.line = 168;
- to_toc_196688(it_196820.childNodes[j_196827], e_196819);
- F.line = 2642;
- i_197444 = addInt(i_197444, 1);
+ to_toc_206688(it_206822.childNodes[j_206830], e_206821);
+ F.line = 2720;
+ i_207444 = addInt(i_207444, 1);
}
} while(false);
} while(false);
F.line = 169;
- if (father_196691.kids != null) { father_196691.kids.push(e_196819); } else { father_196691.kids = [e_196819]; };
+ if (father_206691.kids != null) { father_206691.kids.push(e_206821); } else { father_206691.kids = [e_206821]; };
}
else {
L19: do {
F.line = 171;
- var i_196841 = 0;
- F.line = 2638;
- var colontmp__197448 = 0;
+ var i_206845 = 0;
+ F.line = 2716;
+ var colontmp__207448 = 0;
F.line = 171;
- colontmp__197448 = x_196690.childNodes.length;
- F.line = 2639;
- var i_197449 = 0;
+ colontmp__207448 = x_206690.childNodes.length;
+ F.line = 2717;
+ var i_207449 = 0;
L20: do {
- F.line = 2640;
+ F.line = 2718;
L21: while (true) {
- if (!(i_197449 < colontmp__197448)) break L21;
+ if (!(i_207449 < colontmp__207448)) break L21;
F.line = 171;
- i_196841 = i_197449;
+ i_206845 = i_207449;
F.line = 172;
- to_toc_196688(x_196690.childNodes[i_196841], father_196691);
- F.line = 2642;
- i_197449 = addInt(i_197449, 1);
+ to_toc_206688(x_206690.childNodes[i_206845], father_206691);
+ F.line = 2720;
+ i_207449 = addInt(i_207449, 1);
}
} while(false);
} while(false);
@@ -935,7 +944,7 @@ function to_toc_196688(x_196690, father_196691) {
}
else {
F.line = 174;
- if (father_196691.kids != null) { father_196691.kids.push({heading: x_196690, kids: [], sortId: (father_196691.kids != null ? father_196691.kids.length : 0), doSort: false}); } else { father_196691.kids = [{heading: x_196690, kids: [], sortId: (father_196691.kids != null ? father_196691.kids.length : 0), doSort: false}]; };
+ if (father_206691.kids != null) { father_206691.kids.push({heading: x_206690, kids: [], sortId: (father_206691.kids != null ? father_206691.kids.length : 0), doSort: false}); } else { father_206691.kids = [{heading: x_206690, kids: [], sortId: (father_206691.kids != null ? father_206691.kids.length : 0), doSort: false}]; };
}
}}
framePtr = F.prev;
@@ -943,37 +952,37 @@ function to_toc_196688(x_196690, father_196691) {
}
-function extract_items_196337(x_196339, heading_196340, items_196343, items_196343_Idx) {
+function extract_items_206339(x_206341, heading_206342, items_206345, items_206345_Idx) {
var Tmp1;
var F={procname:"dochack.extractItems",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
BeforeRet: do {
- if ((x_196339 == null)) {
+ if ((x_206341 == null)) {
F.line = 81;
break BeforeRet;
}
- if (!!((x_196339.heading == null))) Tmp1 = false; else { Tmp1 = (x_196339.heading.textContent == heading_196340); } if (Tmp1) {
+ if (!!((x_206341.heading == null))) Tmp1 = false; else { Tmp1 = (x_206341.heading.textContent == heading_206342); } if (Tmp1) {
L2: do {
F.line = 83;
- var i_196371 = 0;
- F.line = 2638;
- var colontmp__197473 = 0;
+ var i_206374 = 0;
+ F.line = 2716;
+ var colontmp__207475 = 0;
F.line = 83;
- colontmp__197473 = (x_196339.kids != null ? x_196339.kids.length : 0);
- F.line = 2639;
- var i_197474 = 0;
+ colontmp__207475 = (x_206341.kids != null ? x_206341.kids.length : 0);
+ F.line = 2717;
+ var i_207476 = 0;
L3: do {
- F.line = 2640;
+ F.line = 2718;
L4: while (true) {
- if (!(i_197474 < colontmp__197473)) break L4;
+ if (!(i_207476 < colontmp__207475)) break L4;
F.line = 83;
- i_196371 = i_197474;
+ i_206374 = i_207476;
F.line = 84;
- if (items_196343[items_196343_Idx] != null) { items_196343[items_196343_Idx].push(x_196339.kids[chckIndx(i_196371, 0, x_196339.kids.length+0-1)-0].heading); } else { items_196343[items_196343_Idx] = [x_196339.kids[chckIndx(i_196371, 0, x_196339.kids.length+0-1)-0].heading]; };
- F.line = 2642;
- i_197474 = addInt(i_197474, 1);
+ if (items_206345[items_206345_Idx] != null) { items_206345[items_206345_Idx].push(x_206341.kids[chckIndx(i_206374, 0, x_206341.kids.length+0-1)-0].heading); } else { items_206345[items_206345_Idx] = [x_206341.kids[chckIndx(i_206374, 0, x_206341.kids.length+0-1)-0].heading]; };
+ F.line = 2720;
+ i_207476 = addInt(i_207476, 1);
}
} while(false);
} while(false);
@@ -981,25 +990,25 @@ function extract_items_196337(x_196339, heading_196340, items_196343, items_1963
else {
L5: do {
F.line = 86;
- var i_196390 = 0;
- F.line = 2638;
- var colontmp__197478 = 0;
+ var i_206394 = 0;
+ F.line = 2716;
+ var colontmp__207480 = 0;
F.line = 86;
- colontmp__197478 = (x_196339.kids != null ? x_196339.kids.length : 0);
- F.line = 2639;
- var i_197479 = 0;
+ colontmp__207480 = (x_206341.kids != null ? x_206341.kids.length : 0);
+ F.line = 2717;
+ var i_207481 = 0;
L6: do {
- F.line = 2640;
+ F.line = 2718;
L7: while (true) {
- if (!(i_197479 < colontmp__197478)) break L7;
+ if (!(i_207481 < colontmp__207480)) break L7;
F.line = 86;
- i_196390 = i_197479;
+ i_206394 = i_207481;
F.line = 87;
- var it_196391 = x_196339.kids[chckIndx(i_196390, 0, x_196339.kids.length+0-1)-0];
+ var it_206395 = x_206341.kids[chckIndx(i_206394, 0, x_206341.kids.length+0-1)-0];
F.line = 88;
- extract_items_196337(it_196391, heading_196340, items_196343, items_196343_Idx);
- F.line = 2642;
- i_197479 = addInt(i_197479, 1);
+ extract_items_206339(it_206395, heading_206342, items_206345, items_206345_Idx);
+ F.line = 2720;
+ i_207481 = addInt(i_207481, 1);
}
} while(false);
} while(false);
@@ -1011,180 +1020,180 @@ function extract_items_196337(x_196339, heading_196340, items_196343, items_1963
}
-function tree_196020(tag_196022, kids_196024) {
- var result_196025 = null;
+function tree_206020(tag_206022, kids_206024) {
+ var result_206025 = null;
var F={procname:"dochack.tree",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 11;
- result_196025 = document.createElement(toJSStr(tag_196022));
+ result_206025 = document.createElement(toJSStr(tag_206022));
L1: do {
F.line = 12;
- var k_196056 = null;
+ var k_206056 = null;
F.line = 3;
- var i_197496 = 0;
+ var i_207498 = 0;
L2: do {
F.line = 4;
L3: while (true) {
- if (!(i_197496 < (kids_196024 != null ? kids_196024.length : 0))) break L3;
+ if (!(i_207498 < (kids_206024 != null ? kids_206024.length : 0))) break L3;
F.line = 12;
- k_196056 = kids_196024[chckIndx(i_197496, 0, kids_196024.length+0-1)-0];
+ k_206056 = kids_206024[chckIndx(i_207498, 0, kids_206024.length+0-1)-0];
F.line = 13;
- result_196025.appendChild(k_196056);
+ result_206025.appendChild(k_206056);
F.line = 6;
- i_197496 = addInt(i_197496, 1);
+ i_207498 = addInt(i_207498, 1);
}
} while(false);
} while(false);
framePtr = F.prev;
- return result_196025;
+ return result_206025;
}
-function text_196152(s_196154) {
- var result_196155 = null;
+function text_206152(s_206154) {
+ var result_206155 = null;
var F={procname:"dochack.text",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 27;
- result_196155 = document.createTextNode(s_196154);
+ result_206155 = document.createTextNode(s_206154);
framePtr = F.prev;
- return result_196155;
+ return result_206155;
}
-function sys_fatal_55662(message_55666) {
- var F={procname:"sysFatal.sysFatal",prev:framePtr,filename:"../../lib/system/fatal.nim",line:0};
+function sys_fatal_58662(message_58666) {
+ var F={procname:"sysFatal.sysFatal",prev:framePtr,filename:"fatal.nim",line:0};
framePtr = F;
F.line = 34;
- var e_55807 = null;
+ var e_58803 = null;
F.line = 37;
- e_55807 = {m_type: NTI45850, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ e_58803 = {m_type: NTI47850, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
F.line = 38;
- e_55807.message = nimCopy(null, message_55666, NTI42040);
+ e_58803.message = nimCopy(null, message_58666, NTI44040);
F.line = 39;
- raiseException(e_55807, "AssertionError");
+ raiseException(e_58803, "AssertionError");
framePtr = F.prev;
}
-function raise_assert_55658(msg_55660) {
- var F={procname:"assertions.raiseAssert",prev:framePtr,filename:"../../lib/system/assertions.nim",line:0};
+function raise_assert_58658(msg_58660) {
+ var F={procname:"assertions.raiseAssert",prev:framePtr,filename:"assertions.nim",line:0};
framePtr = F;
F.line = 20;
- sys_fatal_55662(msg_55660);
+ sys_fatal_58662(msg_58660);
framePtr = F.prev;
}
-function failed_assert_impl_55855(msg_55857) {
- var F={procname:"assertions.failedAssertImpl",prev:framePtr,filename:"../../lib/system/assertions.nim",line:0};
+function failed_assert_impl_58851(msg_58853) {
+ var F={procname:"assertions.failedAssertImpl",prev:framePtr,filename:"assertions.nim",line:0};
framePtr = F;
F.line = 27;
- raise_assert_55658(msg_55857);
+ raise_assert_58658(msg_58853);
framePtr = F.prev;
}
-function uncovered_196935(x_196937) {
+function uncovered_206940(x_206942) {
var Tmp1;
var Tmp2;
- var result_196938 = null;
+ var result_206943 = null;
var F={procname:"dochack.uncovered",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
BeforeRet: do {
- if (!((x_196937.kids != null ? x_196937.kids.length : 0) == 0)) Tmp1 = false; else { Tmp1 = !((x_196937.heading == null)); } if (Tmp1) {
+ if (!((x_206942.kids != null ? x_206942.kids.length : 0) == 0)) Tmp1 = false; else { Tmp1 = !((x_206942.heading == null)); } if (Tmp1) {
F.line = 194;
- if (!(x_196937.heading.hasOwnProperty('__karaxMarker__'))) {
- Tmp2 = x_196937;
+ if (!(x_206942.heading.hasOwnProperty('__karaxMarker__'))) {
+ Tmp2 = x_206942;
}
else {
Tmp2 = null;
}
- result_196938 = Tmp2;
+ result_206943 = Tmp2;
break BeforeRet;
}
F.line = 195;
- result_196938 = {heading: x_196937.heading, kids: [], sortId: x_196937.sortId, doSort: x_196937.doSort};
+ result_206943 = {heading: x_206942.heading, kids: [], sortId: x_206942.sortId, doSort: x_206942.doSort};
L3: do {
F.line = 197;
- var i_196976 = 0;
- F.line = 2638;
- var colontmp__197508 = 0;
+ var i_206982 = 0;
+ F.line = 2716;
+ var colontmp__207510 = 0;
F.line = 197;
- colontmp__197508 = (x_196937.kids != null ? x_196937.kids.length : 0);
- F.line = 2639;
- var i_197509 = 0;
+ colontmp__207510 = (x_206942.kids != null ? x_206942.kids.length : 0);
+ F.line = 2717;
+ var i_207511 = 0;
L4: do {
- F.line = 2640;
+ F.line = 2718;
L5: while (true) {
- if (!(i_197509 < colontmp__197508)) break L5;
+ if (!(i_207511 < colontmp__207510)) break L5;
F.line = 197;
- i_196976 = i_197509;
+ i_206982 = i_207511;
F.line = 198;
- var y_196977 = uncovered_196935(x_196937.kids[chckIndx(i_196976, 0, x_196937.kids.length+0-1)-0]);
- if (!((y_196977 == null))) {
+ var y_206983 = uncovered_206940(x_206942.kids[chckIndx(i_206982, 0, x_206942.kids.length+0-1)-0]);
+ if (!((y_206983 == null))) {
F.line = 199;
- if (result_196938.kids != null) { result_196938.kids.push(y_196977); } else { result_196938.kids = [y_196977]; };
+ if (result_206943.kids != null) { result_206943.kids.push(y_206983); } else { result_206943.kids = [y_206983]; };
}
- F.line = 2642;
- i_197509 = addInt(i_197509, 1);
+ F.line = 2720;
+ i_207511 = addInt(i_207511, 1);
}
} while(false);
} while(false);
- if (((result_196938.kids != null ? result_196938.kids.length : 0) == 0)) {
+ if (((result_206943.kids != null ? result_206943.kids.length : 0) == 0)) {
F.line = 200;
- result_196938 = null;
+ result_206943 = null;
}
} while (false);
framePtr = F.prev;
- return result_196938;
+ return result_206943;
}
-function merge_tocs_197011(orig_197013, news_197014) {
- var result_197015 = null;
+function merge_tocs_207017(orig_207019, news_207020) {
+ var result_207021 = null;
var F={procname:"dochack.mergeTocs",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 203;
- result_197015 = uncovered_196935(orig_197013);
- if ((result_197015 == null)) {
+ result_207021 = uncovered_206940(orig_207019);
+ if ((result_207021 == null)) {
F.line = 205;
- result_197015 = news_197014;
+ result_207021 = news_207020;
}
else {
L1: do {
F.line = 207;
- var i_197035 = 0;
- F.line = 2638;
- var colontmp__197502 = 0;
+ var i_207042 = 0;
+ F.line = 2716;
+ var colontmp__207504 = 0;
F.line = 207;
- colontmp__197502 = (news_197014.kids != null ? news_197014.kids.length : 0);
- F.line = 2639;
- var i_197503 = 0;
+ colontmp__207504 = (news_207020.kids != null ? news_207020.kids.length : 0);
+ F.line = 2717;
+ var i_207505 = 0;
L2: do {
- F.line = 2640;
+ F.line = 2718;
L3: while (true) {
- if (!(i_197503 < colontmp__197502)) break L3;
+ if (!(i_207505 < colontmp__207504)) break L3;
F.line = 207;
- i_197035 = i_197503;
+ i_207042 = i_207505;
F.line = 208;
- if (result_197015.kids != null) { result_197015.kids.push(news_197014.kids[chckIndx(i_197035, 0, news_197014.kids.length+0-1)-0]); } else { result_197015.kids = [news_197014.kids[chckIndx(i_197035, 0, news_197014.kids.length+0-1)-0]]; };
- F.line = 2642;
- i_197503 = addInt(i_197503, 1);
+ if (result_207021.kids != null) { result_207021.kids.push(news_207020.kids[chckIndx(i_207042, 0, news_207020.kids.length+0-1)-0]); } else { result_207021.kids = [news_207020.kids[chckIndx(i_207042, 0, news_207020.kids.length+0-1)-0]]; };
+ F.line = 2720;
+ i_207505 = addInt(i_207505, 1);
}
} while(false);
} while(false);
@@ -1192,110 +1201,110 @@ function merge_tocs_197011(orig_197013, news_197014) {
framePtr = F.prev;
- return result_197015;
+ return result_207021;
}
-function build_toc_197056(orig_197058, types_197060, procs_197061) {
- var result_197062 = null;
+function build_toc_207063(orig_207065, types_207067, procs_207068) {
+ var result_207069 = null;
var F={procname:"dochack.buildToc",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 211;
- var new_stuff_197076 = {heading: null, kids: [], doSort: true, sortId: 0};
+ var new_stuff_207083 = {heading: null, kids: [], doSort: true, sortId: 0};
L1: do {
F.line = 212;
- var t_197214 = null;
- F.line = 156;
- var i_197491 = 0;
- F.line = 157;
- var l_197492 = (types_197060 != null ? types_197060.length : 0);
+ var t_207214 = null;
+ F.line = 185;
+ var i_207493 = 0;
+ F.line = 186;
+ var l_207494 = (types_207067 != null ? types_207067.length : 0);
L2: do {
- F.line = 158;
+ F.line = 187;
L3: while (true) {
- if (!(i_197491 < l_197492)) break L3;
+ if (!(i_207493 < l_207494)) break L3;
F.line = 212;
- t_197214 = types_197060[chckIndx(i_197491, 0, types_197060.length+0-1)-0];
+ t_207214 = types_207067[chckIndx(i_207493, 0, types_207067.length+0-1)-0];
F.line = 213;
- var c_197228 = {heading: t_197214.cloneNode(true), kids: [], doSort: true, sortId: 0};
+ var c_207228 = {heading: t_207214.cloneNode(true), kids: [], doSort: true, sortId: 0};
F.line = 214;
- t_197214.__karaxMarker__ = true;
+ t_207214.__karaxMarker__ = true;
L4: do {
F.line = 215;
- var p_197235 = null;
- F.line = 156;
- var i_197488 = 0;
- F.line = 157;
- var l_197489 = (procs_197061 != null ? procs_197061.length : 0);
+ var p_207235 = null;
+ F.line = 185;
+ var i_207490 = 0;
+ F.line = 186;
+ var l_207491 = (procs_207068 != null ? procs_207068.length : 0);
L5: do {
- F.line = 158;
+ F.line = 187;
L6: while (true) {
- if (!(i_197488 < l_197489)) break L6;
+ if (!(i_207490 < l_207491)) break L6;
F.line = 215;
- p_197235 = procs_197061[chckIndx(i_197488, 0, procs_197061.length+0-1)-0];
- if (!(p_197235.hasOwnProperty('__karaxMarker__'))) {
+ p_207235 = procs_207068[chckIndx(i_207490, 0, procs_207068.length+0-1)-0];
+ if (!(p_207235.hasOwnProperty('__karaxMarker__'))) {
F.line = 217;
- var xx_197236 = p_197235.parentNode.getElementsByClassName("attachedType");
- if ((((xx_197236 != null ? xx_197236.length : 0) == 1) && (xx_197236[chckIndx(0, 0, xx_197236.length+0-1)-0].textContent == t_197214.textContent))) {
+ var xx_207236 = p_207235.parentNode.getElementsByClassName("attachedType");
+ if ((((xx_207236 != null ? xx_207236.length : 0) == 1) && (xx_207236[chckIndx(0, 0, xx_207236.length+0-1)-0].textContent == t_207214.textContent))) {
F.line = 220;
- var q_197244 = tree_196020(makeNimstrLit("A"), [text_196152(p_197235.title)]);
+ var q_207244 = tree_206020(makeNimstrLit("A"), [text_206152(p_207235.title)]);
F.line = 221;
- q_197244.setAttribute("href", p_197235.getAttribute("href"));
+ q_207244.setAttribute("href", p_207235.getAttribute("href"));
F.line = 222;
- if (c_197228.kids != null) { c_197228.kids.push({heading: q_197244, kids: [], sortId: 0, doSort: false}); } else { c_197228.kids = [{heading: q_197244, kids: [], sortId: 0, doSort: false}]; };
+ if (c_207228.kids != null) { c_207228.kids.push({heading: q_207244, kids: [], sortId: 0, doSort: false}); } else { c_207228.kids = [{heading: q_207244, kids: [], sortId: 0, doSort: false}]; };
F.line = 223;
- p_197235.__karaxMarker__ = true;
+ p_207235.__karaxMarker__ = true;
}
}
- F.line = 160;
- i_197488 = addInt(i_197488, 1);
- if (!(((procs_197061 != null ? procs_197061.length : 0) == l_197489))) {
- F.line = 161;
- failed_assert_impl_55855(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(161, 11) `len(a) == L` seq modified while iterating over it"));
+ F.line = 189;
+ i_207490 = addInt(i_207490, 1);
+ if (!(((procs_207068 != null ? procs_207068.length : 0) == l_207491))) {
+ F.line = 190;
+ failed_assert_impl_58851(makeNimstrLit("/home/genotrance/programming/nimdevel/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_197076.kids != null) { new_stuff_197076.kids.push(c_197228); } else { new_stuff_197076.kids = [c_197228]; };
- F.line = 160;
- i_197491 = addInt(i_197491, 1);
- if (!(((types_197060 != null ? types_197060.length : 0) == l_197492))) {
- F.line = 161;
- failed_assert_impl_55855(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(161, 11) `len(a) == L` seq modified while iterating over it"));
+ if (new_stuff_207083.kids != null) { new_stuff_207083.kids.push(c_207228); } else { new_stuff_207083.kids = [c_207228]; };
+ F.line = 189;
+ i_207493 = addInt(i_207493, 1);
+ if (!(((types_207067 != null ? types_207067.length : 0) == l_207494))) {
+ F.line = 190;
+ failed_assert_impl_58851(makeNimstrLit("/home/genotrance/programming/nimdevel/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_197062 = merge_tocs_197011(orig_197058, new_stuff_197076);
+ result_207069 = merge_tocs_207017(orig_207065, new_stuff_207083);
framePtr = F.prev;
- return result_197062;
+ return result_207069;
}
-function add_196085(parent_196087, kid_196088) {
+function add_206085(parent_206087, kid_206088) {
var Tmp1;
var Tmp2;
var F={procname:"dochack.add",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
- if (!(parent_196087.nodeName == "TR")) Tmp1 = false; else { if ((kid_196088.nodeName == "TD")) Tmp2 = true; else { Tmp2 = (kid_196088.nodeName == "TH"); } Tmp1 = Tmp2; } if (Tmp1) {
+ if (!(parent_206087.nodeName == "TR")) Tmp1 = false; else { if ((kid_206088.nodeName == "TD")) Tmp2 = true; else { Tmp2 = (kid_206088.nodeName == "TH"); } Tmp1 = Tmp2; } if (Tmp1) {
F.line = 18;
- var k_196089 = document.createElement("TD");
+ var k_206089 = document.createElement("TD");
F.line = 19;
- k_196089.appendChild(kid_196088);
+ k_206089.appendChild(kid_206088);
F.line = 20;
- parent_196087.appendChild(k_196089);
+ parent_206087.appendChild(k_206089);
}
else {
F.line = 22;
- parent_196087.appendChild(kid_196088);
+ parent_206087.appendChild(kid_206088);
}
framePtr = F.prev;
@@ -1303,490 +1312,490 @@ function add_196085(parent_196087, kid_196088) {
}
-function set_class_196103(e_196105, value_196106) {
+function set_class_206103(e_206105, value_206106) {
var F={procname:"dochack.setClass",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 25;
- e_196105.setAttribute("class", toJSStr(value_196106));
+ e_206105.setAttribute("class", toJSStr(value_206106));
framePtr = F.prev;
}
-function to_html_196420(x_196422, is_root_196423) {
+function to_html_206424(x_206426, is_root_206427) {
var Tmp1;
- function HEX3Aanonymous_196463(a_196465, b_196466) {
+ function HEX3Aanonymous_206467(a_206469, b_206470) {
var Tmp1;
- var result_196467 = 0;
+ var result_206471 = 0;
var F={procname:"toHtml.:anonymous",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
BeforeRet: do {
- if (!!((a_196465.heading == null))) Tmp1 = false; else { Tmp1 = !((b_196466.heading == null)); } if (Tmp1) {
+ if (!!((a_206469.heading == null))) Tmp1 = false; else { Tmp1 = !((b_206470.heading == null)); } if (Tmp1) {
F.line = 106;
- var x_196484 = a_196465.heading.textContent;
+ var x_206488 = a_206469.heading.textContent;
F.line = 107;
- var y_196485 = b_196466.heading.textContent;
- if ((x_196484 < y_196485)) {
+ var y_206489 = b_206470.heading.textContent;
+ if ((x_206488 < y_206489)) {
F.line = 108;
- result_196467 = -1;
+ result_206471 = -1;
break BeforeRet;
}
- if ((y_196485 < x_196484)) {
+ if ((y_206489 < x_206488)) {
F.line = 109;
- result_196467 = 1;
+ result_206471 = 1;
break BeforeRet;
}
F.line = 110;
- result_196467 = 0;
+ result_206471 = 0;
break BeforeRet;
}
else {
F.line = 113;
- result_196467 = subInt(a_196465.sortId, b_196466.sortId);
+ result_206471 = subInt(a_206469.sortId, b_206470.sortId);
break BeforeRet;
}
} while (false);
framePtr = F.prev;
- return result_196467;
+ return result_206471;
}
- var result_196424 = null;
+ var result_206428 = null;
var F={procname:"dochack.toHtml",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
BeforeRet: do {
- if ((x_196422 == null)) {
+ if ((x_206426 == null)) {
F.line = 91;
- result_196424 = null;
+ result_206428 = null;
break BeforeRet;
}
- if (((x_196422.kids != null ? x_196422.kids.length : 0) == 0)) {
- if ((x_196422.heading == null)) {
+ if (((x_206426.kids != null ? x_206426.kids.length : 0) == 0)) {
+ if ((x_206426.heading == null)) {
F.line = 93;
- result_196424 = null;
+ result_206428 = null;
break BeforeRet;
}
F.line = 94;
- result_196424 = x_196422.heading.cloneNode(true);
+ result_206428 = x_206426.heading.cloneNode(true);
break BeforeRet;
}
F.line = 95;
- result_196424 = tree_196020(makeNimstrLit("DIV"), []);
- if (!!((x_196422.heading == null))) Tmp1 = false; else { Tmp1 = !(x_196422.heading.hasOwnProperty('__karaxMarker__')); } if (Tmp1) {
+ result_206428 = tree_206020(makeNimstrLit("DIV"), []);
+ if (!!((x_206426.heading == null))) Tmp1 = false; else { Tmp1 = !(x_206426.heading.hasOwnProperty('__karaxMarker__')); } if (Tmp1) {
F.line = 97;
- add_196085(result_196424, x_196422.heading.cloneNode(true));
+ add_206085(result_206428, x_206426.heading.cloneNode(true));
}
F.line = 98;
- var ul_196460 = tree_196020(makeNimstrLit("UL"), []);
- if (is_root_196423) {
+ var ul_206464 = tree_206020(makeNimstrLit("UL"), []);
+ if (is_root_206427) {
F.line = 100;
- set_class_196103(ul_196460, makeNimstrLit("simple simple-toc"));
+ set_class_206103(ul_206464, makeNimstrLit("simple simple-toc"));
}
else {
F.line = 102;
- set_class_196103(ul_196460, makeNimstrLit("simple"));
+ set_class_206103(ul_206464, makeNimstrLit("simple"));
}
- if (x_196422.doSort) {
+ if (x_206426.doSort) {
F.line = 104;
- x_196422.kids.sort(HEX3Aanonymous_196463);
+ x_206426.kids.sort(HEX3Aanonymous_206467);
}
L2: do {
F.line = 115;
- var k_196614 = null;
- F.line = 154;
- var colontmp__197515 = null;
+ var k_206614 = null;
+ F.line = 183;
+ var colontmp__207517 = null;
F.line = 115;
- colontmp__197515 = x_196422.kids;
- F.line = 156;
- var i_197517 = 0;
- F.line = 157;
- var l_197518 = (colontmp__197515 != null ? colontmp__197515.length : 0);
+ colontmp__207517 = x_206426.kids;
+ F.line = 185;
+ var i_207519 = 0;
+ F.line = 186;
+ var l_207520 = (colontmp__207517 != null ? colontmp__207517.length : 0);
L3: do {
- F.line = 158;
+ F.line = 187;
L4: while (true) {
- if (!(i_197517 < l_197518)) break L4;
+ if (!(i_207519 < l_207520)) break L4;
F.line = 115;
- k_196614 = colontmp__197515[chckIndx(i_197517, 0, colontmp__197515.length+0-1)-0];
+ k_206614 = colontmp__207517[chckIndx(i_207519, 0, colontmp__207517.length+0-1)-0];
F.line = 116;
- var y_196615 = to_html_196420(k_196614, false);
- if (!((y_196615 == null))) {
+ var y_206615 = to_html_206424(k_206614, false);
+ if (!((y_206615 == null))) {
F.line = 118;
- add_196085(ul_196460, tree_196020(makeNimstrLit("LI"), [y_196615]));
+ add_206085(ul_206464, tree_206020(makeNimstrLit("LI"), [y_206615]));
}
- F.line = 160;
- i_197517 = addInt(i_197517, 1);
- if (!(((colontmp__197515 != null ? colontmp__197515.length : 0) == l_197518))) {
- F.line = 161;
- failed_assert_impl_55855(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(161, 11) `len(a) == L` seq modified while iterating over it"));
+ F.line = 189;
+ i_207519 = addInt(i_207519, 1);
+ if (!(((colontmp__207517 != null ? colontmp__207517.length : 0) == l_207520))) {
+ F.line = 190;
+ failed_assert_impl_58851(makeNimstrLit("/home/genotrance/programming/nimdevel/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_196460.childNodes.length == 0))) {
+ if (!((ul_206464.childNodes.length == 0))) {
F.line = 119;
- add_196085(result_196424, ul_196460);
+ add_206085(result_206428, ul_206464);
}
- if ((result_196424.childNodes.length == 0)) {
+ if ((result_206428.childNodes.length == 0)) {
F.line = 120;
- result_196424 = null;
+ result_206428 = null;
}
} while (false);
framePtr = F.prev;
- return result_196424;
+ return result_206428;
}
-function replace_by_id_196172(id_196174, new_tree_196175) {
+function replace_by_id_206172(id_206174, new_tree_206175) {
var F={procname:"dochack.replaceById",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 32;
- var x_196176 = document.getElementById(id_196174);
+ var x_206176 = document.getElementById(id_206174);
F.line = 33;
- x_196176.parentNode.replaceChild(new_tree_196175, x_196176);
+ x_206176.parentNode.replaceChild(new_tree_206175, x_206176);
F.line = 34;
- new_tree_196175.id = id_196174;
+ new_tree_206175.id = id_206174;
framePtr = F.prev;
}
-function togglevis_197329(d_197331) {
+function togglevis_207329(d_207331) {
var F={procname:"dochack.togglevis",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 230;
- if (d_197331.style.display == 'none')
- d_197331.style.display = 'inline';
+ if (d_207331.style.display == 'none')
+ d_207331.style.display = 'inline';
else
- d_197331.style.display = 'none';
+ d_207331.style.display = 'none';
framePtr = F.prev;
}
-function groupBy(value_197347) {
+function groupBy(value_207347) {
var F={procname:"dochack.groupBy",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 238;
- var toc_197348 = document.getElementById("toc-list");
- if ((alternative_197315[0] == null)) {
+ var toc_207348 = document.getElementById("toc-list");
+ if ((alternative_207315[0] == null)) {
F.line = 240;
- var tt_197367 = {heading: null, kids: [], sortId: 0, doSort: false};
+ var tt_207367 = {heading: null, kids: [], sortId: 0, doSort: false};
F.line = 241;
- to_toc_196688(toc_197348, tt_197367);
+ to_toc_206688(toc_207348, tt_207367);
F.line = 242;
- tt_197367 = tt_197367.kids[chckIndx(0, 0, tt_197367.kids.length+0-1)-0];
+ tt_207367 = tt_207367.kids[chckIndx(0, 0, tt_207367.kids.length+0-1)-0];
F.line = 244;
- var types_197382 = [[]];
+ var types_207382 = [[]];
F.line = 245;
- var procs_197397 = [[]];
+ var procs_207397 = [[]];
F.line = 247;
- extract_items_196337(tt_197367, "Types", types_197382, 0);
+ extract_items_206339(tt_207367, "Types", types_207382, 0);
F.line = 248;
- extract_items_196337(tt_197367, "Procs", procs_197397, 0);
+ extract_items_206339(tt_207367, "Procs", procs_207397, 0);
F.line = 249;
- extract_items_196337(tt_197367, "Converters", procs_197397, 0);
+ extract_items_206339(tt_207367, "Converters", procs_207397, 0);
F.line = 250;
- extract_items_196337(tt_197367, "Methods", procs_197397, 0);
+ extract_items_206339(tt_207367, "Methods", procs_207397, 0);
F.line = 251;
- extract_items_196337(tt_197367, "Templates", procs_197397, 0);
+ extract_items_206339(tt_207367, "Templates", procs_207397, 0);
F.line = 252;
- extract_items_196337(tt_197367, "Macros", procs_197397, 0);
+ extract_items_206339(tt_207367, "Macros", procs_207397, 0);
F.line = 253;
- extract_items_196337(tt_197367, "Iterators", procs_197397, 0);
+ extract_items_206339(tt_207367, "Iterators", procs_207397, 0);
F.line = 255;
- var ntoc_197405 = build_toc_197056(tt_197367, types_197382[0], procs_197397[0]);
+ var ntoc_207405 = build_toc_207063(tt_207367, types_207382[0], procs_207397[0]);
F.line = 256;
- var x_197406 = to_html_196420(ntoc_197405, true);
+ var x_207406 = to_html_206424(ntoc_207405, true);
F.line = 257;
- alternative_197315[0] = tree_196020(makeNimstrLit("DIV"), [x_197406]);
+ alternative_207315[0] = tree_206020(makeNimstrLit("DIV"), [x_207406]);
}
- if ((value_197347 == "type")) {
+ if ((value_207347 == "type")) {
F.line = 259;
- replace_by_id_196172("tocRoot", alternative_197315[0]);
+ replace_by_id_206172("tocRoot", alternative_207315[0]);
}
else {
F.line = 261;
- replace_by_id_196172("tocRoot", tree_196020(makeNimstrLit("DIV"), []));
+ replace_by_id_206172("tocRoot", tree_206020(makeNimstrLit("DIV"), []));
}
F.line = 262;
- togglevis_197329(document.getElementById("toc-list"));
+ togglevis_207329(document.getElementById("toc-list"));
framePtr = F.prev;
}
-var db_197521 = [null];
-var contents_197523 = [null];
-var oldtoc_197957 = [null];
-var timer_197958 = [null];
+var db_207523 = [null];
+var contents_207525 = [null];
+var oldtoc_207959 = [null];
+var timer_207960 = [null];
function raiseRangeError() {
- var e_61445 = null;
- e_61445 = {m_type: NTI45862, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
- e_61445.message = nimCopy(null, makeNimstrLit("value out of range"), NTI42040);
- e_61445.parent = null;
- raiseException(e_61445, "RangeError");
+ var e_65441 = null;
+ e_65441 = {m_type: NTI47862, parent: null, name: null, message: null, trace: null, raiseId: 0, up: null};
+ e_65441.message = nimCopy(null, makeNimstrLit("value out of range"), NTI44040);
+ e_65441.parent = null;
+ raiseException(e_65441, "RangeError");
}
-function nsuToLowerAsciiChar(c_184980) {
- var result_184981 = 0;
+function nsuToLowerAsciiChar(c_194780) {
+ var result_194781 = 0;
- var F={procname:"strutils.toLowerAscii",prev:framePtr,filename:"../../lib/pure/strutils.nim",line:0};
+ var F={procname:"strutils.toLowerAscii",prev:framePtr,filename:"strutils.nim",line:0};
framePtr = F;
- if ((ConstSet2[c_184980] != undefined)) {
+ if ((ConstSet2[c_194780] != undefined)) {
F.line = 222;
- result_184981 = chckRange(addInt(c_184980, 32), 0, 255);
+ result_194781 = chckRange(addInt(c_194780, 32), 0, 255);
}
else {
F.line = 224;
- result_184981 = c_184980;
+ result_194781 = c_194780;
}
framePtr = F.prev;
- return result_184981;
+ return result_194781;
}
-function fuzzy_match_195070(pattern_195072, str_195073) {
+function fuzzy_match_205070(pattern_205072, str_205073) {
var Tmp4;
var Tmp5;
var Tmp6;
- var result_195077 = {Field0: 0, Field1: false};
+ var result_205077 = {Field0: 0, Field1: false};
var F={procname:"fuzzysearch.fuzzyMatch",prev:framePtr,filename:"fuzzysearch.nim",line:0};
framePtr = F;
F.line = 37;
- var score_state_195078 = -100;
+ var score_state_205078 = -100;
F.line = 38;
- var header_matched_195079 = false;
+ var header_matched_205079 = false;
F.line = 39;
- var unmatched_leading_char_count_195081 = 0;
+ var unmatched_leading_char_count_205081 = 0;
F.line = 40;
- var consecutive_match_count_195083 = 0;
+ var consecutive_match_count_205083 = 0;
F.line = 41;
- var str_index_195085 = 0;
+ var str_index_205085 = 0;
F.line = 42;
- var pat_index_195087 = 0;
+ var pat_index_205087 = 0;
F.line = 43;
- var score_195089 = 0;
+ var score_205089 = 0;
L1: do {
F.line = 49;
L2: while (true) {
- if (!((str_index_195085 < (str_195073 != null ? str_195073.length : 0)) && (pat_index_195087 < (pattern_195072 != null ? pattern_195072.length : 0)))) break L2;
+ if (!((str_index_205085 < (str_205073 != null ? str_205073.length : 0)) && (pat_index_205087 < (pattern_205072 != null ? pattern_205072.length : 0)))) break L2;
L3: do {
F.line = 51;
- var pattern_char_195096 = nsuToLowerAsciiChar(pattern_195072.charCodeAt(chckIndx(pat_index_195087, 0, pattern_195072.length+0-1)-0));
+ var pattern_char_205095 = nsuToLowerAsciiChar(pattern_205072.charCodeAt(chckIndx(pat_index_205087, 0, pattern_205072.length+0-1)-0));
F.line = 52;
- var str_char_195097 = nsuToLowerAsciiChar(str_195073.charCodeAt(chckIndx(str_index_195085, 0, str_195073.length+0-1)-0));
- if ((ConstSet3[pattern_char_195096] != undefined)) {
+ var str_char_205096 = nsuToLowerAsciiChar(str_205073.charCodeAt(chckIndx(str_index_205085, 0, str_205073.length+0-1)-0));
+ if ((ConstSet3[pattern_char_205095] != undefined)) {
F.line = 56;
- pat_index_195087 = addInt(pat_index_195087, 1);
+ pat_index_205087 = addInt(pat_index_205087, 1);
F.line = 57;
break L3;
}
- if ((ConstSet4[str_char_195097] != undefined)) {
+ if ((ConstSet4[str_char_205096] != undefined)) {
F.line = 59;
- str_index_195085 = addInt(str_index_195085, 1);
+ str_index_205085 = addInt(str_index_205085, 1);
F.line = 60;
break L3;
}
- if ((!(header_matched_195079) && (str_char_195097 == 58))) {
+ if ((!(header_matched_205079) && (str_char_205096 == 58))) {
F.line = 65;
- header_matched_195079 = true;
+ header_matched_205079 = true;
F.line = 66;
- score_state_195078 = -100;
+ score_state_205078 = -100;
F.line = 67;
- score_195089 = Math.trunc(Math.floor((5.0000000000000000e-01 * score_195089)));
+ score_205089 = Math.trunc(Math.floor((5.0000000000000000e-01 * score_205089)));
F.line = 68;
- pat_index_195087 = 0;
+ pat_index_205087 = 0;
F.line = 69;
- str_index_195085 = addInt(str_index_195085, 1);
+ str_index_205085 = addInt(str_index_205085, 1);
F.line = 70;
break L3;
}
- if ((str_char_195097 == pattern_char_195096)) {
+ if ((str_char_205096 == pattern_char_205095)) {
F.line = 73;
- switch (score_state_195078) {
+ switch (score_state_205078) {
case -100:
case 20:
F.line = 75;
- score_state_195078 = 10;
+ score_state_205078 = 10;
break;
case 0:
F.line = 78;
- score_state_195078 = 5;
+ score_state_205078 = 5;
F.line = 78;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
break;
case 10:
case 5:
F.line = 81;
- consecutive_match_count_195083 = addInt(consecutive_match_count_195083, 1);
+ consecutive_match_count_205083 = addInt(consecutive_match_count_205083, 1);
F.line = 82;
- score_state_195078 = 5;
+ score_state_205078 = 5;
F.line = 83;
- score_195089 = addInt(score_195089, mulInt(5, consecutive_match_count_195083));
- if ((score_state_195078 == 10)) {
+ score_205089 = addInt(score_205089, mulInt(5, consecutive_match_count_205083));
+ if ((score_state_205078 == 10)) {
F.line = 86;
- score_195089 = addInt(score_195089, 10);
+ score_205089 = addInt(score_205089, 10);
}
F.line = 88;
- var on_boundary_195172 = (pat_index_195087 == (pattern_195072 != null ? (pattern_195072.length-1) : -1));
- if ((!(on_boundary_195172) && (str_index_195085 < (str_195073 != null ? (str_195073.length-1) : -1)))) {
+ var on_boundary_205171 = (pat_index_205087 == (pattern_205072 != null ? (pattern_205072.length-1) : -1));
+ if ((!(on_boundary_205171) && (str_index_205085 < (str_205073 != null ? (str_205073.length-1) : -1)))) {
F.line = 91;
- var next_pattern_char_195173 = nsuToLowerAsciiChar(pattern_195072.charCodeAt(chckIndx(addInt(pat_index_195087, 1), 0, pattern_195072.length+0-1)-0));
+ var next_pattern_char_205172 = nsuToLowerAsciiChar(pattern_205072.charCodeAt(chckIndx(addInt(pat_index_205087, 1), 0, pattern_205072.length+0-1)-0));
F.line = 92;
- var next_str_char_195174 = nsuToLowerAsciiChar(str_195073.charCodeAt(chckIndx(addInt(str_index_195085, 1), 0, str_195073.length+0-1)-0));
+ var next_str_char_205173 = nsuToLowerAsciiChar(str_205073.charCodeAt(chckIndx(addInt(str_index_205085, 1), 0, str_205073.length+0-1)-0));
F.line = 95;
- if (!!((ConstSet5[next_str_char_195174] != undefined))) Tmp4 = false; else { Tmp4 = !((next_str_char_195174 == next_pattern_char_195173)); } on_boundary_195172 = Tmp4;
+ if (!!((ConstSet5[next_str_char_205173] != undefined))) Tmp4 = false; else { Tmp4 = !((next_str_char_205173 == next_pattern_char_205172)); } on_boundary_205171 = Tmp4;
}
- if (on_boundary_195172) {
+ if (on_boundary_205171) {
F.line = 100;
- score_state_195078 = 20;
+ score_state_205078 = 20;
F.line = 100;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
}
break;
case -1:
case -3:
F.line = 103;
- if (!((ConstSet6[str_195073.charCodeAt(chckIndx(subInt(str_index_195085, 1), 0, str_195073.length+0-1)-0)] != undefined))) Tmp5 = true; else { if (!(ConstSet7[str_195073.charCodeAt(chckIndx(subInt(str_index_195085, 1), 0, str_195073.length+0-1)-0)] != undefined)) Tmp6 = false; else { Tmp6 = (ConstSet8[str_195073.charCodeAt(chckIndx(str_index_195085, 0, str_195073.length+0-1)-0)] != undefined); } Tmp5 = Tmp6; } var is_leading_char_195212 = Tmp5;
- if (is_leading_char_195212) {
+ if (!((ConstSet6[str_205073.charCodeAt(chckIndx(subInt(str_index_205085, 1), 0, str_205073.length+0-1)-0)] != undefined))) Tmp5 = true; else { if (!(ConstSet7[str_205073.charCodeAt(chckIndx(subInt(str_index_205085, 1), 0, str_205073.length+0-1)-0)] != undefined)) Tmp6 = false; else { Tmp6 = (ConstSet8[str_205073.charCodeAt(chckIndx(str_index_205085, 0, str_205073.length+0-1)-0)] != undefined); } Tmp5 = Tmp6; } var is_leading_char_205211 = Tmp5;
+ if (is_leading_char_205211) {
F.line = 110;
- score_state_195078 = 10;
+ score_state_205078 = 10;
}
else {
F.line = 114;
- score_state_195078 = 0;
+ score_state_205078 = 0;
F.line = 114;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
}
break;
}
F.line = 115;
- pat_index_195087 = addInt(pat_index_195087, 1);
+ pat_index_205087 = addInt(pat_index_205087, 1);
}
else {
F.line = 118;
- switch (score_state_195078) {
+ switch (score_state_205078) {
case -100:
F.line = 120;
- score_state_195078 = -3;
+ score_state_205078 = -3;
F.line = 120;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
break;
case 5:
F.line = 123;
- score_state_195078 = -1;
+ score_state_205078 = -1;
F.line = 123;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
F.line = 124;
- consecutive_match_count_195083 = 0;
+ consecutive_match_count_205083 = 0;
break;
case -3:
- if ((unmatched_leading_char_count_195081 < 3)) {
+ if ((unmatched_leading_char_count_205081 < 3)) {
F.line = 128;
- score_state_195078 = -3;
+ score_state_205078 = -3;
F.line = 128;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
}
F.line = 129;
- unmatched_leading_char_count_195081 = addInt(unmatched_leading_char_count_195081, 1);
+ unmatched_leading_char_count_205081 = addInt(unmatched_leading_char_count_205081, 1);
break;
default:
F.line = 132;
- score_state_195078 = -1;
+ score_state_205078 = -1;
F.line = 132;
- score_195089 = addInt(score_195089, score_state_195078);
+ score_205089 = addInt(score_205089, score_state_205078);
break;
}
}
F.line = 134;
- str_index_195085 = addInt(str_index_195085, 1);
+ str_index_205085 = addInt(str_index_205085, 1);
} while(false);
}
} while(false);
F.line = 137;
- var colontmp__198061 = nimMax(0, score_195089);
+ var colontmp__208063 = nimMax(0, score_205089);
F.line = 138;
- var colontmp__198062 = (0 < score_195089);
+ var colontmp__208064 = (0 < score_205089);
F.line = 136;
- nimCopy(result_195077, {Field0: colontmp__198061, Field1: colontmp__198062}, NTI195074);
+ nimCopy(result_205077, {Field0: colontmp__208063, Field1: colontmp__208064}, NTI205074);
framePtr = F.prev;
- return result_195077;
+ return result_205077;
}
-function text_196120(s_196122) {
- var result_196123 = null;
+function text_206120(s_206122) {
+ var result_206123 = null;
var F={procname:"dochack.text",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 26;
- result_196123 = document.createTextNode(toJSStr(s_196122));
+ result_206123 = document.createTextNode(toJSStr(s_206122));
framePtr = F.prev;
- return result_196123;
+ return result_206123;
}
-function dosearch_197555(value_197557) {
+function dosearch_207557(value_207559) {
- function HEX3Aanonymous_197870(a_197879, b_197880) {
- var result_197884 = 0;
+ function HEX3Aanonymous_207871(a_207880, b_207881) {
+ var result_207885 = 0;
var F={procname:"dosearch.:anonymous",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 305;
- result_197884 = subInt(b_197880["Field1"], a_197879["Field1"]);
+ result_207885 = subInt(b_207881["Field1"], a_207880["Field1"]);
framePtr = F.prev;
- return result_197884;
+ return result_207885;
}
- var result_197558 = null;
+ var result_207560 = null;
var F={procname:"dochack.dosearch",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
- if (((db_197521[0] != null ? db_197521[0].length : 0) == 0)) {
+ if (((db_207523[0] != null ? db_207523[0].length : 0) == 0)) {
F.line = 272;
- var stuff_197564 = null;
+ var stuff_207566 = null;
F.line = 273;
var request = new XMLHttpRequest();
request.open("GET", "theindex.html", false);
@@ -1798,32 +1807,32 @@ function dosearch_197555(value_197557) {
//parser=new DOMParser();
//doc=parser.parseFromString("", "text/html");
- stuff_197564 = doc.documentElement;
+ stuff_207566 = doc.documentElement;
F.line = 286;
- db_197521[0] = nimCopy(null, stuff_197564.getElementsByClassName("reference"), NTI83305);
+ db_207523[0] = nimCopy(null, stuff_207566.getElementsByClassName("reference"), NTI87305);
F.line = 287;
- contents_197523[0] = nimCopy(null, [], NTI197577);
+ contents_207525[0] = nimCopy(null, [], NTI207579);
L1: do {
F.line = 288;
- var ahref_197814 = null;
- F.line = 156;
- var i_198041 = 0;
- F.line = 157;
- var l_198042 = (db_197521[0] != null ? db_197521[0].length : 0);
+ var ahref_207814 = null;
+ F.line = 185;
+ var i_208043 = 0;
+ F.line = 186;
+ var l_208044 = (db_207523[0] != null ? db_207523[0].length : 0);
L2: do {
- F.line = 158;
+ F.line = 187;
L3: while (true) {
- if (!(i_198041 < l_198042)) break L3;
+ if (!(i_208043 < l_208044)) break L3;
F.line = 288;
- ahref_197814 = db_197521[0][chckIndx(i_198041, 0, db_197521[0].length+0-1)-0];
+ ahref_207814 = db_207523[0][chckIndx(i_208043, 0, db_207523[0].length+0-1)-0];
F.line = 289;
- if (contents_197523[0] != null) { contents_197523[0].push(ahref_197814.getAttribute("data-doc-search-tag")); } else { contents_197523[0] = [ahref_197814.getAttribute("data-doc-search-tag")]; };
- F.line = 160;
- i_198041 = addInt(i_198041, 1);
- if (!(((db_197521[0] != null ? db_197521[0].length : 0) == l_198042))) {
- F.line = 161;
- failed_assert_impl_55855(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(161, 11) `len(a) == L` seq modified while iterating over it"));
+ if (contents_207525[0] != null) { contents_207525[0].push(ahref_207814.getAttribute("data-doc-search-tag")); } else { contents_207525[0] = [ahref_207814.getAttribute("data-doc-search-tag")]; };
+ F.line = 189;
+ i_208043 = addInt(i_208043, 1);
+ if (!(((db_207523[0] != null ? db_207523[0].length : 0) == l_208044))) {
+ F.line = 190;
+ failed_assert_impl_58851(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(190, 11) `len(a) == L` the length of the seq changed while iterating over it"));
}
}
@@ -1832,126 +1841,126 @@ function dosearch_197555(value_197557) {
}
F.line = 290;
- var ul_197825 = tree_196020(makeNimstrLit("UL"), []);
+ var ul_207825 = tree_206020(makeNimstrLit("UL"), []);
F.line = 291;
- result_197558 = tree_196020(makeNimstrLit("DIV"), []);
+ result_207560 = tree_206020(makeNimstrLit("DIV"), []);
F.line = 292;
- set_class_196103(result_197558, makeNimstrLit("search_results"));
+ set_class_206103(result_207560, makeNimstrLit("search_results"));
F.line = 293;
- var matches_197844 = [];
+ var matches_207844 = [];
L4: do {
F.line = 294;
- var i_197856 = 0;
- F.line = 2638;
- var colontmp__198048 = 0;
+ var i_207857 = 0;
+ F.line = 2716;
+ var colontmp__208050 = 0;
F.line = 294;
- colontmp__198048 = (db_197521[0] != null ? db_197521[0].length : 0);
- F.line = 2639;
- var i_198049 = 0;
+ colontmp__208050 = (db_207523[0] != null ? db_207523[0].length : 0);
+ F.line = 2717;
+ var i_208051 = 0;
L5: do {
- F.line = 2640;
+ F.line = 2718;
L6: while (true) {
- if (!(i_198049 < colontmp__198048)) break L6;
+ if (!(i_208051 < colontmp__208050)) break L6;
F.line = 294;
- i_197856 = i_198049;
+ i_207857 = i_208051;
L7: do {
F.line = 295;
- var c_197857 = contents_197523[0][chckIndx(i_197856, 0, contents_197523[0].length+0-1)-0];
- if (((c_197857 == "Examples") || (c_197857 == "PEG construction"))) {
+ var c_207858 = contents_207525[0][chckIndx(i_207857, 0, contents_207525[0].length+0-1)-0];
+ if (((c_207858 == "Examples") || (c_207858 == "PEG construction"))) {
F.line = 300;
break L7;
}
F.line = 301;
- var colontmp__198058 = {Field0: 0, Field1: false};
+ var colontmp__208060 = {Field0: 0, Field1: false};
F.line = 301;
- var score_197858 = 0;
+ var score_207859 = 0;
F.line = 301;
- var matched_197859 = false;
+ var matched_207860 = false;
F.line = 301;
- nimCopy(colontmp__198058, fuzzy_match_195070(value_197557, c_197857), NTI195074);
+ nimCopy(colontmp__208060, fuzzy_match_205070(value_207559, c_207858), NTI205074);
F.line = 301;
- score_197858 = colontmp__198058["Field0"];
+ score_207859 = colontmp__208060["Field0"];
F.line = 301;
- matched_197859 = colontmp__198058["Field1"];
- if (matched_197859) {
+ matched_207860 = colontmp__208060["Field1"];
+ if (matched_207860) {
F.line = 303;
- if (matches_197844 != null) { matches_197844.push({Field0: db_197521[0][chckIndx(i_197856, 0, db_197521[0].length+0-1)-0], Field1: score_197858}); } else { matches_197844 = [{Field0: db_197521[0][chckIndx(i_197856, 0, db_197521[0].length+0-1)-0], Field1: score_197858}]; };
+ if (matches_207844 != null) { matches_207844.push({Field0: db_207523[0][chckIndx(i_207857, 0, db_207523[0].length+0-1)-0], Field1: score_207859}); } else { matches_207844 = [{Field0: db_207523[0][chckIndx(i_207857, 0, db_207523[0].length+0-1)-0], Field1: score_207859}]; };
}
} while(false);
- F.line = 2642;
- i_198049 = addInt(i_198049, 1);
+ F.line = 2720;
+ i_208051 = addInt(i_208051, 1);
}
} while(false);
} while(false);
F.line = 305;
- matches_197844.sort(HEX3Aanonymous_197870);
+ matches_207844.sort(HEX3Aanonymous_207871);
L8: do {
F.line = 306;
- var i_197922 = 0;
- F.line = 2638;
- var colontmp__198054 = 0;
+ var i_207924 = 0;
+ F.line = 2716;
+ var colontmp__208056 = 0;
F.line = 306;
- colontmp__198054 = nimMin((matches_197844 != null ? matches_197844.length : 0), 19);
- F.line = 2639;
- var i_198055 = 0;
+ colontmp__208056 = nimMin((matches_207844 != null ? matches_207844.length : 0), 19);
+ F.line = 2717;
+ var i_208057 = 0;
L9: do {
- F.line = 2640;
+ F.line = 2718;
L10: while (true) {
- if (!(i_198055 < colontmp__198054)) break L10;
+ if (!(i_208057 < colontmp__208056)) break L10;
F.line = 306;
- i_197922 = i_198055;
+ i_207924 = i_208057;
F.line = 307;
- matches_197844[chckIndx(i_197922, 0, matches_197844.length+0-1)-0]["Field0"].innerHTML = matches_197844[chckIndx(i_197922, 0, matches_197844.length+0-1)-0]["Field0"].getAttribute("data-doc-search-tag");
+ matches_207844[chckIndx(i_207924, 0, matches_207844.length+0-1)-0]["Field0"].innerHTML = matches_207844[chckIndx(i_207924, 0, matches_207844.length+0-1)-0]["Field0"].getAttribute("data-doc-search-tag");
F.line = 308;
- add_196085(ul_197825, tree_196020(makeNimstrLit("LI"), [matches_197844[chckIndx(i_197922, 0, matches_197844.length+0-1)-0]["Field0"]]));
- F.line = 2642;
- i_198055 = addInt(i_198055, 1);
+ add_206085(ul_207825, tree_206020(makeNimstrLit("LI"), [matches_207844[chckIndx(i_207924, 0, matches_207844.length+0-1)-0]["Field0"]]));
+ F.line = 2720;
+ i_208057 = addInt(i_208057, 1);
}
} while(false);
} while(false);
- if ((ul_197825.childNodes.length == 0)) {
+ if ((ul_207825.childNodes.length == 0)) {
F.line = 310;
- add_196085(result_197558, tree_196020(makeNimstrLit("B"), [text_196120(makeNimstrLit("no search results"))]));
+ add_206085(result_207560, tree_206020(makeNimstrLit("B"), [text_206120(makeNimstrLit("no search results"))]));
}
else {
F.line = 312;
- add_196085(result_197558, tree_196020(makeNimstrLit("B"), [text_196120(makeNimstrLit("search results"))]));
+ add_206085(result_207560, tree_206020(makeNimstrLit("B"), [text_206120(makeNimstrLit("search results"))]));
F.line = 313;
- add_196085(result_197558, ul_197825);
+ add_206085(result_207560, ul_207825);
}
framePtr = F.prev;
- return result_197558;
+ return result_207560;
}
function search() {
- function wrapper_197989() {
+ function wrapper_207991() {
var F={procname:"search.wrapper",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
F.line = 320;
- var elem_197991 = document.getElementById("searchInput");
+ var elem_207993 = document.getElementById("searchInput");
F.line = 321;
- var value_197992 = elem_197991.value;
- if (!(((value_197992 != null ? value_197992.length : 0) == 0))) {
- if ((oldtoc_197957[0] == null)) {
+ var value_207994 = elem_207993.value;
+ if (!(((value_207994 != null ? value_207994.length : 0) == 0))) {
+ if ((oldtoc_207959[0] == null)) {
F.line = 324;
- oldtoc_197957[0] = document.getElementById("tocRoot");
+ oldtoc_207959[0] = document.getElementById("tocRoot");
}
F.line = 325;
- var results_197998 = dosearch_197555(value_197992);
+ var results_208000 = dosearch_207557(value_207994);
F.line = 326;
- replace_by_id_196172("tocRoot", results_197998);
+ replace_by_id_206172("tocRoot", results_208000);
}
else {
- if (!((oldtoc_197957[0] == null))) {
+ if (!((oldtoc_207959[0] == null))) {
F.line = 328;
- replace_by_id_196172("tocRoot", oldtoc_197957[0]);
+ replace_by_id_206172("tocRoot", oldtoc_207959[0]);
}
}
framePtr = F.prev;
@@ -1961,13 +1970,13 @@ function search() {
var F={procname:"dochack.search",prev:framePtr,filename:"dochack.nim",line:0};
framePtr = F;
- if (!((timer_197958[0] == null))) {
+ if (!((timer_207960[0] == null))) {
F.line = 330;
- clearTimeout(timer_197958[0]);
+ clearTimeout(timer_207960[0]);
}
F.line = 331;
- timer_197958[0] = setTimeout(wrapper_197989, 400);
+ timer_207960[0] = setTimeout(wrapper_207991, 400);
framePtr = F.prev;
diff --git a/git.html b/git.html
old mode 100755
new mode 100644
index 35225ee..dfaf0fb
--- 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,25 +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
- configure
+ title="gitPull(url: string; outdir = ""; plist = ""; checkout = "")"> git Pull
+ configure
+ cmake
+ make
@@ -1276,6 +865,7 @@ function main() {
+
@@ -1286,76 +876,125 @@ function main() {
-proc execAction ( cmd : string ; nostderr = false ) : string { ... } {.
- raises : [ OSError , Exception , ValueError ] ,
+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 , ValueError ] , tags : [
+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.
+
-proc cpFile ( source , dest : string ; move = false ) { ... } {.
- raises : [ OSError , Exception , ValueError ] ,
+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 , ValueError ] ,
+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 , ValueError ] , tags : [
+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 , ValueError ] , 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 after cImport() if required.
+
-proc gitPull ( url : string ; outdir = "" ; plist = "" ; checkout = "" ) { ... } {.
- raises : [ OSError , Exception , ValueError , IOError ] , tags : [ ReadDirEffect ,
+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 sparse checkout. Multiples can be specified one entry per line.
+
-
-proc configure ( path , check : string ) { ... } {. raises : [ OSError , Exception , ValueError ] , tags : [
- ReadDirEffect , ExecIOEffect , ReadIOEffect , RootEffect ] .}
+
+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.
+
+
+
+
+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.
+
+
+
+
+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.
+
@@ -1368,7 +1007,7 @@ function main() {
- Made with Nim. Generated: 2019-05-09 06:09:57 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:48 UTC
diff --git a/git.idx b/git.idx
old mode 100755
new mode 100644
index a48f1b4..7cc5775
--- a/git.idx
+++ b/git.idx
@@ -7,4 +7,6 @@ downloadUrl git.html#downloadUrl,string,string git: downloadUrl(url, outdir: str
gitReset git.html#gitReset,string git: gitReset(outdir: string)
gitCheckout git.html#gitCheckout,string,string git: gitCheckout(file, outdir: string)
gitPull git.html#gitPull,string,string,string,string git: gitPull(url: string; outdir = ""; plist = ""; checkout = "")
-configure git.html#configure,string,string git: configure(path, check: string)
+configure git.html#configure,string,string,string git: configure(path, check: string; flags = "")
+cmake git.html#cmake,string,string,string git: cmake(path, check, flags: string)
+make git.html#make,string,string,string git: make(path, check: string; flags = "")
diff --git a/paths.html b/paths.html
old mode 100755
new mode 100644
index 0b5a138..fa6e18e
--- 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-05-09 06:09:55 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:48 UTC
diff --git a/paths.idx b/paths.idx
old mode 100755
new mode 100644
index df86edd..8a688d4
--- 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
old mode 100755
new mode 100644
index d219e65..9bf3942
--- 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-05-09 06:09:54 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:48 UTC
diff --git a/plugin.idx b/plugin.idx
old mode 100755
new mode 100644
diff --git a/theindex.html b/theindex.html
old mode 100755
new mode 100644
index c2bed34..bae06e4
--- 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;
+}
@@ -1221,7 +806,13 @@ function main() {
diff --git a/types.html b/types.html
old mode 100755
new mode 100644
index 3a49234..7c5fff9
--- 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-05-09 06:09:57 UTC
+ Made with Nim. Generated: 2019-07-18 06:10:48 UTC
diff --git a/types.idx b/types.idx
old mode 100755
new mode 100644
index d4ab217..5bc0938
--- 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)