summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDan Allen <dallen@redhat.com>2013-06-19 00:59:05 -0600
committerDan Allen <dallen@redhat.com>2013-06-20 00:35:53 -0600
commit8911f46bbd90fbac69633763e1c0fd093d650965 (patch)
treec0df570ca545c820d4a1a89eb4a1e114c7a1be14 /man
parent9d2eec9e445b00c6c5619b95e4d9ab3e19fddba0 (diff)
resolves #406 add option to cli to specify template engine
Diffstat (limited to 'man')
-rw-r--r--man/asciidoctor.19
-rw-r--r--man/asciidoctor.ad5
2 files changed, 12 insertions, 2 deletions
diff --git a/man/asciidoctor.1 b/man/asciidoctor.1
index f1b76b1b..2e0a0b64 100644
--- a/man/asciidoctor.1
+++ b/man/asciidoctor.1
@@ -2,12 +2,12 @@
.\" Title: asciidoctor
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\" Date: 05/30/2013
+.\" Date: 06/19/2013
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "ASCIIDOCTOR" "1" "05/30/2013" "\ \&" "\ \&"
+.TH "ASCIIDOCTOR" "1" "06/19/2013" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -136,6 +136,11 @@ Compact the output by removing blank lines\&. Not enabled by default\&.
Destination output directory\&. Defaults to the directory containing the source file, or the working directory if the source is read from a stream\&. If specified, the directory is resolved relative to the working directory\&.
.RE
.PP
+\fB\-E, \-\-template\-engine\fR=\fINAME\fR
+.RS 4
+Template engine to use for the custom render templates\&. The gem with the same name as the engine will be loaded automatically\&. This name is also used to build the full path to the custom templates\&.
+.RE
+.PP
\fB\-e, \-\-eruby\fR
.RS 4
Specifies the eRuby implementation to use for rendering the built\-in templates\&. Supported values are
diff --git a/man/asciidoctor.ad b/man/asciidoctor.ad
index 7cdb4281..e44e8beb 100644
--- a/man/asciidoctor.ad
+++ b/man/asciidoctor.ad
@@ -87,6 +87,11 @@ Rendering Control
source file, or the working directory if the source is read from a stream.
If specified, the directory is resolved relative to the working directory.
+*-E, --template-engine*='NAME'::
+ Template engine to use for the custom render templates. The gem with the
+ same name as the engine will be loaded automatically. This name is also
+ used to build the full path to the custom templates.
+
*-e, --eruby*::
Specifies the eRuby implementation to use for rendering the built-in
templates. Supported values are 'erb' and 'erubis'. Defaults to 'erb'.