various small documentation improvements (#18602)

This commit is contained in:
Miran
2021-07-28 14:31:13 +02:00
committed by GitHub
parent a273ea70e8
commit e616675c41
13 changed files with 123 additions and 97 deletions

View File

@@ -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
"""