mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 23:05:27 +00:00
various small documentation improvements (#18602)
This commit is contained in:
@@ -182,9 +182,9 @@ suite "RST parsing":
|
||||
test "using .. as separator b/w directives and block quotes":
|
||||
check(dedent"""
|
||||
.. note:: someNote
|
||||
|
||||
|
||||
..
|
||||
|
||||
|
||||
someBlockQuote""".toAst ==
|
||||
dedent"""
|
||||
rnInner
|
||||
@@ -300,14 +300,14 @@ suite "RST indentation":
|
||||
let input1 = dedent"""
|
||||
.. code-block:: nim
|
||||
:test: "nim c $1"
|
||||
|
||||
|
||||
template additive(typ: typedesc) =
|
||||
discard
|
||||
"""
|
||||
let input2 = dedent"""
|
||||
.. code-block:: nim
|
||||
:test: "nim c $1"
|
||||
|
||||
|
||||
template additive(typ: typedesc) =
|
||||
discard
|
||||
"""
|
||||
@@ -320,7 +320,7 @@ suite "RST indentation":
|
||||
let inputWrong = dedent"""
|
||||
.. code-block:: nim
|
||||
:test: "nim c $1"
|
||||
|
||||
|
||||
template additive(typ: typedesc) =
|
||||
discard
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user