diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-28 14:39:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-28 14:39:17 -0700 |
commit | fe625e053d078e03d824a1df746196b8a2c697b1 (patch) | |
tree | 0129bded228d952594d06a8ed675154d05909abc /src/Text/Pandoc/Data.hsb | |
parent | 3e5b4faaf2a99950991ff7b16c0e0b06234b9792 (diff) | |
download | pandoc-fe625e053d078e03d824a1df746196b8a2c697b1.tar.gz |
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.
Diffstat (limited to 'src/Text/Pandoc/Data.hsb')
-rw-r--r-- | src/Text/Pandoc/Data.hsb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Data.hsb b/src/Text/Pandoc/Data.hsb index 28e7f5112..cd8836a0b 100644 --- a/src/Text/Pandoc/Data.hsb +++ b/src/Text/Pandoc/Data.hsb @@ -5,3 +5,6 @@ import qualified Data.ByteString as B dataFiles :: [(FilePath, B.ByteString)] dataFiles = %blobs "data" + +readmeFile :: B.ByteString +readmeFile = %blob "README" |