[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/2] docs: Specify format when rendering markdown man pages



With pandoc 2.5, the man/xen-vbd-interface.markdown.7 isn't detected as
markdown and the output isn't formated. Add the format of the input to
pandoc's command line.

Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 docs/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index fba6673db6..7376f0f0ab 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -112,7 +112,7 @@ ifneq ($(PANDOC),)
        @$(INSTALL_DIR) $$(@D)
        $(PANDOC) --standalone -V title=$$* -V section=$(1) \
                      -V date="$(DATE)" -V footer="$(VERSION)" \
-                         -V header=Xen $$< -t man --output $$@
+                     -V header=Xen $$< -f markdown -t man --output $$@
 else
        @echo "pandoc not installed; skipping $$@"
 endif
@@ -129,7 +129,7 @@ endif
 html/man/%.$(1).html: man/%.markdown.$(1) Makefile
 ifneq ($(PANDOC),)
        @$(INSTALL_DIR) $$(@D)
-       $(PANDOC) --standalone $$< -t html --toc --output $$@
+       $(PANDOC) --standalone $$< -f markdown -t html --toc --output $$@
 else
        @echo "pandoc not installed; skipping $$@"
 endif
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.