Prefer relative links for Nim documentation
This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead.
This commit is contained in:
parent
93461aee34
commit
72147c9ba4
5 changed files with 10 additions and 10 deletions
|
|
@ -188,7 +188,7 @@ the old name and introduce a new name:
|
|||
type Barz = enum baz0, baz1 {.deprecated.}, baz2
|
||||
|
||||
|
||||
See also `Deprecated <https://nim-lang.org/docs/manual.html#pragmas-deprecated-pragma>`_
|
||||
See also `Deprecated <manual.html#pragmas-deprecated-pragma>`_
|
||||
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 <https://nim-lang.github.io/Nim/os.html#parentDir%2Cstring>`_
|
||||
See `parentDir <os.html#parentDir,string>`_
|
||||
example.
|
||||
|
||||
The RestructuredText Nim uses has a special syntax for including code snippets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue