mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
doc: add newline after literal blocks in man pages
The rst2man writer leaves no space between a literal block and the following paragraph. This patch corrects this. It has also been applied upstream. This does not conflict with this change since any number of newlines can be added without effecting the rendered man page.
This commit is contained in:
parent
92882a99d0
commit
ab7c29bc29
@ -21,7 +21,8 @@ hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
|
||||
${PYTHON} gendoc.py > $@
|
||||
|
||||
%: %.txt
|
||||
$(RST2MAN) $*.txt > $*
|
||||
# add newline after all literal blocks
|
||||
$(RST2MAN) $*.txt | sed -e 's/^\.fi$$/.fi\n/' > $*
|
||||
|
||||
%.html: %.txt
|
||||
$(RST2HTML) $*.txt > $*.html
|
||||
|
Loading…
Reference in New Issue
Block a user