Mercurial > evolve
changeset 5396:74efe8301c74
tests: add blank lines to test-topic-tutorial.t to fix .rst syntax
This file is converted to .rst using docs/test2rst.py in a pretty simple and
straightforward way, and it's possible to just embed chunks of reST inside the
.t file. However, it's necessary to make sure these chunks follow the reST
syntax (and that includes having blank lines after indented blocks.
Noticed when building a .deb: sphinx complained "WARNING: Explicit markup ends
without a blank line; unexpected unindent."
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 09 Jul 2020 20:47:11 +0800 |
parents | 366aaaae9a49 |
children | 03ce095dc10d |
files | tests/test-topic-tutorial.t |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-topic-tutorial.t Sun Jul 05 16:14:09 2020 +0800 +++ b/tests/test-topic-tutorial.t Thu Jul 09 20:47:11 2020 +0800 @@ -332,6 +332,7 @@ penwidth=2.0]; } #endif + And updating back to the topic reactivates it: $ hg update food @@ -1516,6 +1517,7 @@ penwidth=2.0]; } #endif + Multi-headed stack ------------------