more documentation fixes
This commit is contained in:
parent
0132442c1d
commit
a9974a33f1
4 changed files with 10 additions and 12 deletions
|
|
@ -75,7 +75,7 @@ doc.body_toc = """
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="three columns">
|
<div class="three columns">
|
||||||
<div>
|
<div>
|
||||||
Search: <input type="text" id="searchInputDiv"
|
Search: <input type="text" id="searchInput"
|
||||||
onkeyup="search()" />
|
onkeyup="search()" />
|
||||||
</div>
|
</div>
|
||||||
$tableofcontents
|
$tableofcontents
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,3 @@ The standard distribution ships with the following tools:
|
||||||
|
|
||||||
- | `estp <estp.html>`_
|
- | `estp <estp.html>`_
|
||||||
| Nim's slow platform independent embedded stack trace profiler.
|
| Nim's slow platform independent embedded stack trace profiler.
|
||||||
|
|
||||||
- | `nimfix <nimfix.html>`_
|
|
||||||
| Nimfix is a tool to help you upgrade from Nimrod (<= version 0.9.6) to
|
|
||||||
Nim (=> version 0.10.0).
|
|
||||||
|
|
|
||||||
|
|
@ -136,11 +136,13 @@ proc withKey*[A, B](t: var SharedTable[A, B], key: A,
|
||||||
## procedure.
|
## procedure.
|
||||||
##
|
##
|
||||||
## The ``mapper`` takes 3 arguments:
|
## The ``mapper`` takes 3 arguments:
|
||||||
## #. ``key`` - the current key, if it exists, or the key passed to
|
##
|
||||||
|
## 1. ``key`` - the current key, if it exists, or the key passed to
|
||||||
## ``withKey`` otherwise;
|
## ``withKey`` otherwise;
|
||||||
## #. ``val`` - the current value, if the key exists, or default value
|
## 2. ``val`` - the current value, if the key exists, or default value
|
||||||
## of the type otherwise;
|
## of the type otherwise;
|
||||||
## #. ``pairExists`` - ``true`` if the key exists, ``false`` otherwise.
|
## 3. ``pairExists`` - ``true`` if the key exists, ``false`` otherwise.
|
||||||
|
##
|
||||||
## The ``mapper`` can can modify ``val`` and ``pairExists`` values to change
|
## The ``mapper`` can can modify ``val`` and ``pairExists`` values to change
|
||||||
## the mapping of the key or delete it from the table.
|
## the mapping of the key or delete it from the table.
|
||||||
## When adding a value, make sure to set ``pairExists`` to ``true`` along
|
## When adding a value, make sure to set ``pairExists`` to ``true`` along
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,8 @@ news: news
|
||||||
file: ticker.html
|
file: ticker.html
|
||||||
|
|
||||||
[Documentation]
|
[Documentation]
|
||||||
doc: "endb;intern;apis;lib;manual.rst;tut1.rst;tut2.rst;nimc;overview;filters"
|
doc: "endb.rst;intern.txt;apis.txt;lib.rst;manual.rst;tut1.rst;tut2.rst;nimc.rst;overview.rst;filters.rst"
|
||||||
doc: "tools;niminst;nimgrep;gc;estp;idetools;docgen;koch;backends.rst"
|
doc: "tools.txt;niminst.rst;nimgrep.rst;gc.rst;estp.rst;idetools.rst;docgen.rst;koch.rst;backends.rst"
|
||||||
doc: "nimfix.rst;nimsuggest.rst;nep1.rst;nims.rst;contributing.rst"
|
doc: "nimfix.rst;nimsuggest.rst;nep1.rst;nims.rst;contributing.rst"
|
||||||
pdf: "manual.rst;lib.rst;tut1.rst;tut2.rst;nimc.rst;niminst.rst;gc.rst"
|
pdf: "manual.rst;lib.rst;tut1.rst;tut2.rst;nimc.rst;niminst.rst;gc.rst"
|
||||||
srcdoc2: "system.nim;system/nimscript;pure/ospaths"
|
srcdoc2: "system.nim;system/nimscript;pure/ospaths"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue