diff --git a/doc/astspec.txt b/doc/astspec.txt index e2bdb1b50f..5d50d82d98 100644 --- a/doc/astspec.txt +++ b/doc/astspec.txt @@ -237,7 +237,7 @@ Call with raw string literal ---------------------------- This is used, for example, in the ``bindSym`` examples -[here](http://nim-lang.org/docs/manual.html#macros-bindsym) and with +[here](manual.html#macros-bindsym) and with ``re"some regexp"`` in the regular expression module. Concrete syntax: @@ -902,7 +902,7 @@ as the compiler needs to know the type somehow (which it can infer from the given assignment). This is not the same AST for all uses of ``var``. See -[Procedure declaration](http://nim-lang.org/docs/macros.html#statements-procedure-declaration) +[Procedure declaration](macros.html#statements-procedure-declaration) for details. Let section @@ -1361,7 +1361,7 @@ Template declaration Templates (as well as macros, as we'll see) have a slightly expanded AST when compared to procs and iterators. The reason for this is [term-rewriting -macros](http://nim-lang.org/docs/manual.html#term-rewriting-macros). Notice +macros](manual.html#term-rewriting-macros). Notice the ``nnkEmpty()`` as the second argument to ``nnkProcDef`` and ``nnkIteratorDef`` above? That's where the term-rewriting macros go. diff --git a/doc/contributing.rst b/doc/contributing.rst index b11b8cabc6..b558b4277a 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -188,7 +188,7 @@ the old name and introduce a new name: type Barz = enum baz0, baz1 {.deprecated.}, baz2 -See also `Deprecated `_ +See also `Deprecated `_ pragma in the manual. @@ -213,7 +213,7 @@ as well as ``testament`` and guarantee they stay in sync. assert "baz".addBar == "bazBar" result = a & "Bar" -See `parentDir `_ +See `parentDir `_ example. The RestructuredText Nim uses has a special syntax for including code snippets diff --git a/doc/gc.rst b/doc/gc.rst index af849e7134..77f5fce09a 100644 --- a/doc/gc.rst +++ b/doc/gc.rst @@ -164,7 +164,7 @@ you can pass ``--gc:`` on the compile command with the choosed garbage collector The same Nim code can be compiled to use any of the garbage collectors; the Nim syntax generally will not change from one garbage collector to another. -No garbage collector is used for `JavaScript and NodeJS `_ compilation targets. -`NimScript `_ target uses Nim VM garbage collector. +No garbage collector is used for `JavaScript and NodeJS `_ compilation targets. +`NimScript `_ target uses Nim VM garbage collector. If you are new to Nim and just starting, the default garbage collector is balanced to fit most common use cases. diff --git a/doc/tools.rst b/doc/tools.rst index f407420b08..4920e94a2d 100644 --- a/doc/tools.rst +++ b/doc/tools.rst @@ -20,7 +20,7 @@ The standard distribution ships with the following tools: - | `C2nim `_ | C to Nim source converter. Translates C header files to Nim. -- | `niminst `_ +- | `niminst `_ | niminst is a tool to generate an installer for a Nim program. - | `nimgrep `_ diff --git a/lib/core/macros.nim b/lib/core/macros.nim index a3f362f977..cd4a3c48ff 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -13,8 +13,8 @@ include "system/inclrtl" ## tree (`AST`:idx:). Macros operate on this tree. ## ## See also: -## * `macros tutorial `_ -## * `macros section in Nim manual `_ +## * `macros tutorial `_ +## * `macros section in Nim manual `_ ## .. include:: ../../doc/astspec.txt