various small documentation improvements (#18602)
This commit is contained in:
parent
a273ea70e8
commit
e616675c41
13 changed files with 123 additions and 97 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue