aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/Makefile
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-05-18 18:47:51 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-05-21 02:49:44 +0200
commitf69126d5d45d0f8a243880c5919efc45a0a0197f (patch)
treee9a21e6f13d0698eeac99f122eb602bc0e75c36c /Documentation/Makefile
parentd22015775e0b76ccf64ad1f8afc68443c308fbce (diff)
downloadsparse-dev-f69126d5d45d0f8a243880c5919efc45a0a0197f.tar.gz
doc: use reST for manpages
MarkDown is really nice and easy to get something quickly but for manpages, the rendering is not really nice and lack index entries. reST has a special syntax for option lists but: 1) not all option syntax are recognized (for example when we use [xyz] to to show that xyz is optionnal). 2) when converted to HTML, a table is used for the list but: * options that are too long break the presentation * unrecognized options break the table 3) the options are also not put in the index Solve this by using reST with '.. option::' directives. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 64dc0f66..2e8cbdfd 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -20,7 +20,7 @@ help:
$(targets): conf.py Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
-%.1: %.md man
+%.1: %.rst man
@mv build/man/$@ $@
.PHONY: Makefile # avoid circular deps with the catch-all rule