summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/draft.mode.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/draft.mode.xml')
-rw-r--r--kdoctools/docbook/xsl/params/draft.mode.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/draft.mode.xml b/kdoctools/docbook/xsl/params/draft.mode.xml
new file mode 100644
index 000000000..542efa0dd
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/draft.mode.xml
@@ -0,0 +1,28 @@
+<refentry id="draft.mode">
+<refmeta>
+<refentrytitle>draft.mode</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>draft.mode</refname>
+<refpurpose>Select draft mode</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='draft.mode.frag'>
+<xsl:param name="draft.mode" select="'maybe'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Selects draft mode. If <parameter>draft.mode</parameter> is
+<quote><literal>yes</literal></quote>, the entire document will be treated
+as a draft. If it is <quote><literal>no</literal></quote>, the entire document
+will be treated as a final copy. If it is <quote><literal>maybe</literal></quote>,
+individual sections will be treated as draft or final independently, depending
+on how their <sgmltag class="attribute">status</sgmltag> attribute is set.
+</para>
+
+</refsect1>
+</refentry>