more documentation fixes

This commit is contained in:
Araq
2018-03-05 23:25:34 +01:00
parent 0132442c1d
commit a9974a33f1
4 changed files with 10 additions and 12 deletions

View File

@@ -75,7 +75,7 @@ doc.body_toc = """
<div class="row">
<div class="three columns">
<div>
Search: <input type="text" id="searchInputDiv"
Search: <input type="text" id="searchInput"
onkeyup="search()" />
</div>
$tableofcontents

View File

@@ -27,7 +27,3 @@ The standard distribution ships with the following tools:
- | `estp <estp.html>`_
| 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).

View File

@@ -136,11 +136,13 @@ proc withKey*[A, B](t: var SharedTable[A, B], key: A,
## procedure.
##
## The ``mapper`` takes 3 arguments:
## #. ``key`` - the current key, if it exists, or the key passed to
## ``withKey`` otherwise;
## #. ``val`` - the current value, if the key exists, or default value
## of the type otherwise;
## #. ``pairExists`` - ``true`` if the key exists, ``false`` otherwise.
##
## 1. ``key`` - the current key, if it exists, or the key passed to
## ``withKey`` otherwise;
## 2. ``val`` - the current value, if the key exists, or default value
## of the type otherwise;
## 3. ``pairExists`` - ``true`` if the key exists, ``false`` otherwise.
##
## The ``mapper`` can can modify ``val`` and ``pairExists`` values to change
## the mapping of the key or delete it from the table.
## When adding a value, make sure to set ``pairExists`` to ``true`` along

View File

@@ -29,8 +29,8 @@ news: news
file: ticker.html
[Documentation]
doc: "endb;intern;apis;lib;manual.rst;tut1.rst;tut2.rst;nimc;overview;filters"
doc: "tools;niminst;nimgrep;gc;estp;idetools;docgen;koch;backends.rst"
doc: "endb.rst;intern.txt;apis.txt;lib.rst;manual.rst;tut1.rst;tut2.rst;nimc.rst;overview.rst;filters.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"
pdf: "manual.rst;lib.rst;tut1.rst;tut2.rst;nimc.rst;niminst.rst;gc.rst"
srcdoc2: "system.nim;system/nimscript;pure/ospaths"