diff options
-rw-r--r-- | docs/Makefile.in | 4 | ||||
-rw-r--r-- | docs/manpages/ntlm_auth.1.xml | 2 | ||||
-rw-r--r-- | docs/xslt/docbook2pearson.xsl (renamed from docs/xslt/pearson.xsl) | 0 | ||||
-rw-r--r-- | docs/xslt/sambadoc2pearson.xsl | 37 |
4 files changed, 40 insertions, 3 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in index ad46ad2f57..14fe7a87ea 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -228,9 +228,9 @@ $(MANDIR)/%: $(DOCBOOKDIR)/%.xml xslt/man.xsl # Pearson compatible XML -$(PEARSONDIR)/%.xml: $(DOCBOOKDIR)/%.xml xslt/pearson.xsl +$(PEARSONDIR)/%.xml: %/index.xml xslt/pearson.xsl mkdir -p $(@D) - $(XSLTPROC) --xinclude --output $@ xslt/pearson.xsl $< + $(XSLTPROC) --xinclude --output $@ xslt/sambadoc2pearson.xsl $< $(PEARSONDIR)/%.report.html: $(PEARSONDIR)/%.xml mkdir -p $(@D) diff --git a/docs/manpages/ntlm_auth.1.xml b/docs/manpages/ntlm_auth.1.xml index 3e7365ce2f..ef3e84d374 100644 --- a/docs/manpages/ntlm_auth.1.xml +++ b/docs/manpages/ntlm_auth.1.xml @@ -103,7 +103,7 @@ <varlistentry> <term>ntlmssp-client-1</term> <listitem><para> - Cleint-side helper for use with arbitary external + Client-side helper for use with arbitary external programs that may wish to use Samba's NTLMSSP authentication knowlege. </para> <para>This helper is a client, and as such may be run by any diff --git a/docs/xslt/pearson.xsl b/docs/xslt/docbook2pearson.xsl index 0324ef5ca8..0324ef5ca8 100644 --- a/docs/xslt/pearson.xsl +++ b/docs/xslt/docbook2pearson.xsl diff --git a/docs/xslt/sambadoc2pearson.xsl b/docs/xslt/sambadoc2pearson.xsl new file mode 100644 index 0000000000..7b03f82950 --- /dev/null +++ b/docs/xslt/sambadoc2pearson.xsl @@ -0,0 +1,37 @@ +<?xml version='1.0'?> +<!-- + Convert DocBook to XML validating against the Pearson DTD + + (C) Jelmer Vernooij <jelmer@samba.org> 2004 +--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + exclude-result-prefixes="doc" + version="1.1" > + + <xsl:import href="docbook2pearson.xsl"/> + + <xsl:template match="smbfile"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="smbconfexample/smbconfsection"> + <xsl:value-of select="."/><xsl:text> </xsl:text> + </xsl:template> + + <xsl:template match="smbconfexample/smbconfoption"> + <xsl:value-of select="name"/><xsl:text> = </xsl:text><xsl:value-of select="value"/><xsl:text> </xsl:text> + </xsl:template> + + <xsl:template match="smbconfexample"> + <listing> + <xsl:if test="title != ''"> + <description><xsl:value-of select="title"/></description> + </xsl:if> + <listingcode> + <xsl:apply-templates/> + </listingcode> + </listing> + </xsl:template> +</xsl:stylesheet> |