Module that should import everything so that nim doc --project nimtero/all runs docs on everything.
+ + +diff --git a/all.html b/all.html new file mode 100755 index 0000000..82d847d --- /dev/null +++ b/all.html @@ -0,0 +1,838 @@ + + + + +
+ + + + + + + + + + + + +Main import file to write wrappers. Each compileTime proc must be used in a compile time context, eg using:
++static: + cAddStdDir() ++
proc cSearchPath(path: string): string {...}{.compileTime, raises: [], tags: [ReadDirEffect].}
proc cSkipSymbol(skips: seq[string]) {...}{.compileTime, raises: [], tags: [].}
Get full path to file or directory path in search path configured using cAddSearchDir() and cAddStdDir().
+Similar to cOverride(), this macro allows filtering out symbols not of interest from the generated output. +Examples:
+static : + cSkipSymbol @["proc1", "Type2"]+ +
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 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.
+ + +proc cAddSearchDir(dir: string) {...}{.compileTime, raises: [], tags: [].}
Examples:
+import + paths, os + +static : + cAddSearchDir testsIncludeDir() +doAssert cSearchPath("test.h").existsFile+ +
proc cAddStdDir(mode = "c") {...}{.compileTime, raises: [], tags: [].}
Examples:
+static : + cAddStdDir() +import + os + +doAssert cSearchPath("math.h").existsFile+
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:
@@ -1331,28 +950,20 @@ function main() {macro cSkipSymbol(skips: varargs[string]): untyped
macro cPlugin(body): untyped
Examples:
-cSkipSymbol "proc1", "Type2"- -
macro cPlugin(body): untyped
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:
-nimterop/plugins is implicitly imported to provide access to standard plugin facilities.
+nimterop/plugins is implicitly imported to provide access to standard plugin facilities.
Examples:
cPlugin: @@ -1363,69 +974,35 @@ When cOverride()< sym.name = sym.name.strip(chars = {'_'})-
macro cDebug(): untyped
macro cDisableCaching(): untyped
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.
- -macro cDefine(name: static string; val: static string = ""): untyped
macro cDefine(name: static string; val: static string = ""): untyped
macro cAddSearchDir(dir: static string): untyped
Add directory dir to the search path used in calls to cSearchPath().
-This allows something like this:
-cAddSearchDir("path/to/includes") -cImport cSearchPath("file.h")- -
macro cIncludeDir(dir: static string): untyped
macro cIncludeDir(dir: static string): untyped
macro cAddStdDir(mode = "c"): untyped
Add the standard c [default] or cpp include paths to search path used in calls to cSearchPath()
-This allows something like this:
- -Examples:
-cAddStdDir() -echo cSearchPath("math.h")- -
macro cCompile(path: static string; mode = "c"): 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") cCompile("path/to/*.c")
mode recursively searches for code files in path.
c searches for *.c whereas cpp searches for *.C *.cpp *.c++ *.cc *.cxx
-cCompile("path/to/dir", "cpp")+
cCompile("path/to/dir", "cpp")
exclude can be used to exclude files by partial string match. Comma separated to specify multiple exclude strings
+cCompile("path/to/dir", exclude="test2.c")
macro cImport(filename: static string; recurse: static bool = false): untyped
macro cImport(filename: static string; recurse: static bool = false): 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.
+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()
@@ -1440,7 +1017,7 @@ Add an include directory that is forwarded to the C/C++ compiler usingproc execAction(cmd: string; nostderr = false): string {...}{.raises: [OSError, Exception], + proc execAction(cmd: string; nostderr = false): string {...}{. + raises: [OSError, Exception, ValueError, IOError, Defect], tags: [ExecIOEffect, ReadIOEffect, RootEffect].}- - -
- -
proc extractZip(zipfile, outdir: string) {...}{.raises: [OSError, Exception, ValueError], tags: [ - ExecIOEffect, ReadIOEffect, RootEffect].}- - - -
- - proc downloadUrl(url, outdir: string) {...}{.raises: [OSError, Exception, ValueError], tags: [ + + proc mkDir(dir: string) {...}{.raises: [OSError, Exception, ValueError, IOError, Defect], tags: [ ReadDirEffect, ExecIOEffect, ReadIOEffect, RootEffect].}- +
+ +- +
proc cpFile(source, dest: string; move = false) {...}{. + raises: [OSError, Exception, ValueError, IOError, Defect], + tags: [ExecIOEffect, ReadIOEffect, RootEffect].}- + + +
+ +- +
proc mvFile(source, dest: string) {...}{.raises: [OSError, Exception, ValueError, IOError, + Defect], + tags: [ExecIOEffect, ReadIOEffect, RootEffect].}- + + +
+ +- +
proc extractZip(zipfile, outdir: string) {...}{.raises: [OSError, Exception, ValueError, + IOError, Defect], tags: [ExecIOEffect, ReadIOEffect, RootEffect].}- + + +
+ +- +
proc downloadUrl(url, outdir: string) {...}{.raises: [OSError, Exception, ValueError, + IOError, Defect], tags: [ReadDirEffect, ExecIOEffect, ReadIOEffect, RootEffect].}- + +
-- -
proc gitReset(outdir: string) {...}{.raises: [OSError, Exception], tags: [ExecIOEffect, - ReadIOEffect, RootEffect, TimeEffect].}- - - -
- -- -
proc relativePathNaive(file, base: string): string {...}{.raises: [], tags: [].}- -naive version of os.relativePath ; remove after nim >= 0.19.9 -
- -Examples:
-doAssert "/foo/bar/baz/log.txt".relativePathNaive("/foo/bar") == "baz/log.txt"- - proc gitCheckout(file, outdir: string) {...}{.raises: [OSError, Exception], tags: [ + proc gitReset(outdir: string) {...}{.raises: [OSError, Exception, ValueError, IOError, Defect], tags: [ ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect].}- +
+ +- +
proc gitCheckout(file, outdir: string) {...}{.raises: [OSError, Exception, ValueError, + IOError, Defect], tags: [ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect].}- + +
-- +
proc gitPull(url: string; outdir = ""; plist = ""; checkout = "") {...}{. - raises: [OSError, Exception, IOError], tags: [ReadDirEffect, ExecIOEffect, - ReadIOEffect, RootEffect, TimeEffect, WriteIOEffect].} proc gitPull(url: string; outdir = ""; plist = ""; checkout = "") {...}{. + raises: [OSError, Exception, ValueError, IOError, Defect], tags: [ReadDirEffect, + ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect, WriteIOEffect].}- @@ -1340,7 +924,7 @@ naive version of os.relativePath ; remove after nim >= 0.19.9 diff --git a/git.idx b/git.idx old mode 100644 new mode 100755 index ae9f083..ac1d642 --- a/git.idx +++ b/git.idx @@ -1,7 +1,9 @@ execAction git.html#execAction,string git: execAction(cmd: string; nostderr = false): string +mkDir git.html#mkDir,string git: mkDir(dir: string) +cpFile git.html#cpFile,string,string git: cpFile(source, dest: string; move = false) +mvFile git.html#mvFile,string,string git: mvFile(source, dest: string) extractZip git.html#extractZip,string,string git: extractZip(zipfile, outdir: string) downloadUrl git.html#downloadUrl,string,string git: downloadUrl(url, outdir: string) gitReset git.html#gitReset,string git: gitReset(outdir: string) -relativePathNaive git.html#relativePathNaive,string,string git: relativePathNaive(file, base: string): 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 = "") diff --git a/paths.html b/paths.html old mode 100644 new mode 100755 index 56fad4e..474bcf5 --- a/paths.html +++ b/paths.html @@ -27,232 +27,113 @@ 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; } /* 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 +210,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.5em; } + +dd { + margin-left: 0.5em; + margin-bottom: 2.5em; + 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 +482,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 +491,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 +498,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 +516,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 +567,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 +587,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 +626,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 +641,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 +657,7 @@ span.FloatNumber { color: #252dbe; } span.Identifier { - color: #3b3b3b; } + color: #222; } span.Keyword { font-weight: 600; @@ -1139,38 +722,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 +746,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; } @@ -1241,16 +805,18 @@ function main() {
- Procs
@@ -1264,32 +830,38 @@ function main() {diff --git a/paths.idx b/paths.idx old mode 100644 new mode 100755 index 7239d08..8a688d4 --- a/paths.idx +++ b/paths.idx @@ -1,5 +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 +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 100644 new mode 100755 index 491c58a..5e00f23 --- a/plugin.html +++ b/plugin.html @@ -27,232 +27,113 @@ 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; } /* 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 +210,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.5em; } + +dd { + margin-left: 0.5em; + margin-bottom: 2.5em; + 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 +482,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 +491,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 +498,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 +516,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 +567,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 +587,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 +626,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 +641,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 +657,7 @@ span.FloatNumber { color: #252dbe; } span.Identifier { - color: #3b3b3b; } + color: #222; } span.Keyword { font-weight: 600; @@ -1139,38 +722,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 +746,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; } @@ -1287,7 +851,7 @@ function main() { diff --git a/plugin.idx b/plugin.idx old mode 100644 new mode 100755 diff --git a/theindex.html b/theindex.html new file mode 100755 index 0000000..add5db3 --- /dev/null +++ b/theindex.html @@ -0,0 +1,936 @@ + + + + + + + + + + + + + + + + + +Procs
- -
- + +
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: [].}- @@ -1304,7 +876,7 @@ all nimterop generated files go under here (gitignored)
Index + + + + + + + + +++ + + diff --git a/types.html b/types.html old mode 100644 new mode 100755 index 9914a3f..654188c --- a/types.html +++ b/types.html @@ -27,232 +27,113 @@ 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; } /* 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 +210,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.5em; } + +dd { + margin-left: 0.5em; + margin-bottom: 2.5em; + 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 +482,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 +491,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 +498,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 +516,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 +567,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 +587,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 +626,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 +641,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 +657,7 @@ span.FloatNumber { color: #252dbe; } span.Identifier { - color: #3b3b3b; } + color: #222; } span.Keyword { font-weight: 600; @@ -1139,38 +722,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 +746,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; } @@ -1242,7 +806,7 @@ function main() { Types++Index
+ Modules: cimport, git, paths, plugin, types.API symbols
++
- cAddSearchDir:
- +
- cAddStdDir:
- +
- cCompile:
- +
- cDebug:
- +
- cDefine:
- +
- cDisableCaching:
- +
- cImport:
- +
- cIncludeDir:
- +
- cOverride:
- +
- cpFile:
- +
- cPlugin:
- +
- cSearchPath:
- +
- cSkipSymbol:
- +
- defineEnum:
- +
- downloadUrl:
- +
- enumOp:
- +
- execAction:
- +
- extractZip:
- +
- gitCheckout:
- +
- gitPull:
- +
- gitReset:
- +
- incDir:
- +
- mkDir:
- +
- mvFile:
- +
- nimteropBuildDir:
- +
- nimteropRoot:
- +
- nimteropSrcDir:
- +
- OnSymbol:
- +
- ptrdiff_t:
- +
- Symbol:
- +
- testsIncludeDir:
- +
- time_t:
- +
- toastExePath:
- +
- va_list:
- +
+ ++
- + title="time_t = time_t_temp.Time">
time_ t time_ t
time_t = Time
time_t = time_t_temp.Time
template enumOp(op, typ, typout)
template enumOp(op, typ, typout)
template defineEnum(typ)
template defineEnum(typ)