summary refs log tree commit diff stats
path: root/doc/nimc.rst
diff options
context:
space:
mode:
authorJjp137 <Jjp137@users.noreply.github.com>2019-10-17 14:45:23 -0700
committerJjp137 <Jjp137@users.noreply.github.com>2019-10-22 17:59:12 -0700
commit93461aee34244a6c004a5572f31a50ff4fad280d (patch)
tree70e4824a3200d3da50ad567e83453ea1e65aef3c /doc/nimc.rst
parent6bfa4eb6c51106d9720a61267d47a5e60e3c3d2f (diff)
downloadNim-93461aee34244a6c004a5572f31a50ff4fad280d.tar.gz
Fix many broken links
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
Diffstat (limited to 'doc/nimc.rst')
-rw-r--r--doc/nimc.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst
index d53e3f310..78eeaffec 100644
--- a/doc/nimc.rst
+++ b/doc/nimc.rst
@@ -114,7 +114,7 @@ Level  Description
 =====  ============================================
 0      Minimal output level for the compiler.
 1      Displays compilation of all the compiled files, including those imported
-       by other modules or through the `compile pragma<#compile-pragma>`_.
+       by other modules or through the `compile pragma<manual.html#implementation-specific-pragmas-compile-pragma>`_.
        This is the default level.
 2      Displays compilation statistics, enumerates the dynamic
        libraries that will be loaded by the final binary and dumps to
@@ -130,8 +130,8 @@ Compile time symbols
 
 Through the ``-d:x`` or ``--define:x`` switch you can define compile time
 symbols for conditional compilation. The defined switches can be checked in
-source code with the `when statement <manual.html#when-statement>`_ and
-`defined proc <system.html#defined>`_. The typical use of this switch is to
+source code with the `when statement <manual.html#statements-and-expressions-when-statement>`_ and
+`defined proc <system.html#defined,untyped>`_. The typical use of this switch is to
 enable builds in release mode (``-d:release``) where optimizations are
 enabled for better performance. Another common use is the ``-d:ssl`` switch to
 activate SSL sockets.
@@ -215,7 +215,7 @@ The ``_r`` suffix is used for release builds, ``_d`` is for debug builds.
 This makes it easy to delete all generated files.
 
 The ``--nimcache``
-`compiler switch <nimc.html#command-line-switches>`_ can be used to
+`compiler switch <#compiler-usage-command-line-switches>`_ can be used to
 to change the ``nimcache`` directory.
 
 However, the generated C code is not platform independent. C code generated for