From fe625e053d078e03d824a1df746196b8a2c697b1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 28 Jun 2015 14:39:17 -0700 Subject: New method for producing man pages. This change adds `--man1` and `--man5` options to pandoc, so pandoc can generate its own man pages. It removes the old overly complex method of building a separate executable (but not installing it) just to create the man pages. The man pages are no longer automatically created in the build process. The man/ directory has been removed. The man page templates have been moved to data/. New unexported module: Text.Pandoc.ManPages. Text.Pandoc.Data now exports readmeFile, and `readDataFile` knows how to find README. Closes #2190. --- data/pandoc.1.template | 16 ++++++++++++++++ data/pandoc_markdown.5.template | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 data/pandoc.1.template create mode 100644 data/pandoc_markdown.5.template (limited to 'data') diff --git a/data/pandoc.1.template b/data/pandoc.1.template new file mode 100644 index 000000000..adef38bcc --- /dev/null +++ b/data/pandoc.1.template @@ -0,0 +1,16 @@ +$if(has-tables)$ +.\"t +$endif$ +.TH PANDOC 1 "$date$" "$version$" +.SH NAME +pandoc - general markup converter +$body$ +.SH PANDOC'S MARKDOWN +For a complete description of pandoc's extensions to standard markdown, +see \f[C]pandoc_markdown\f[] (5). +.SH SEE ALSO +.PP +\f[C]pandoc_markdown\f[] (5). +.PP +The Pandoc source code and all documentation may be downloaded +from . diff --git a/data/pandoc_markdown.5.template b/data/pandoc_markdown.5.template new file mode 100644 index 000000000..6006e90c4 --- /dev/null +++ b/data/pandoc_markdown.5.template @@ -0,0 +1,11 @@ +$if(has-tables)$ +.\"t +$endif$ +.TH PANDOC_MARKDOWN 5 "$date$" "$version$" +.SH NAME +pandoc_markdown - markdown syntax for pandoc(1) +.SH DESCRIPTION +$body$ +.SH SEE ALSO +.PP +\f[C]pandoc\f[] (1). -- cgit v1.2.3