summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-12-23 14:55:01 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-12-23 14:55:01 +0000
commit158e54d8fb4a3d301dd04d01086550d8f183af42 (patch)
tree9caa6b0c9fc97bd67ac86315880459dccb6a3626 /docs
parentff5e5ca7471d219ba32b42b698c1321f8ac763af (diff)
downloaddocutils-158e54d8fb4a3d301dd04d01086550d8f183af42.tar.gz
docutils-cli.py: allow drop-in components for reader and parser.
Now also reader and parser may be 3rd party modules: specify the import name of the module containing the parser. Fix help output. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8915 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs')
-rw-r--r--docs/user/config.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/user/config.txt b/docs/user/config.txt
index 2d3b67ab2..3384ce617 100644
--- a/docs/user/config.txt
+++ b/docs/user/config.txt
@@ -2144,11 +2144,14 @@ New in 0.17. Obsoletes the ``html_writer`` option.
[docutils-cli application]
--------------------------
-New in 0.18.
+New in 0.17. Config file support added in 0.18.
+Support for reader/parser import names added in 0.19.
reader
~~~~~~
-Reader component name. One of "standalone" or "pep".
+Reader component name.
+One of "standalone", "pep",
+or the import name of a drop-in reader module.
Default: "standalone".
Option: ``--reader``
@@ -2156,6 +2159,8 @@ Option: ``--reader``
parser
~~~~~~
Parser component name.
+One of "rst", "markdown", "recommonmark",
+or the import name of a drop-in parser module.
Default: "rst".
Option: ``--parser``
@@ -2164,7 +2169,10 @@ Option: ``--parser``
writer
~~~~~~
-Writer component name. One of the valid writer names or aliases.
+Writer component name.
+One of "html", "html4", "html5", "latex", "xelatex", "odt", "xml",
+"pseudoxml", "manpage", "pep_html", "s5", an alias,
+or the import name of a drop-in writer module.
Default: "html5".
Option: ``--writer``