]> git.stg.codes - stg.git/blob - doc/xslt/params/funcsynopsis.style.xml
[NY] Code deduplication.
[stg.git] / doc / xslt / params / funcsynopsis.style.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="funcsynopsis.style">
7 <refmeta>
8 <refentrytitle>funcsynopsis.style</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10 <refmiscinfo class="other" otherclass="value">ansi</refmiscinfo>
11 <refmiscinfo class="other" otherclass="value">kr</refmiscinfo>
12 </refmeta>
13 <refnamediv>
14 <refname>funcsynopsis.style</refname>
15 <refpurpose>What style of <tag>funcsynopsis</tag> should be generated?</refpurpose>
16 </refnamediv>
17
18 <refsynopsisdiv>
19 <src:fragment xml:id="funcsynopsis.style.frag"><xsl:param name="funcsynopsis.style">kr</xsl:param></src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
24 <para>If <parameter>funcsynopsis.style</parameter> is <literal>ansi</literal>,
25 ANSI-style function synopses are generated for a
26 <tag>funcsynopsis</tag>, otherwise K&amp;R-style
27 function synopses are generated.
28 </para>
29
30 </refsection>
31 </refentry>