From f18299f36e6968af4932e5fcb56e01ada0889b60 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Sun, 6 Apr 2008 20:29:06 +0000 Subject: [PATCH] Refresh our XSL templates to work with current docbook xslt for manpages (This used to be commit fa20959680ce87b549e4534023ecec399d158b84) --- docs/smbdotconf/printing/addportcommand.xml | 5 +- docs/smbdotconf/security/checkpasswordscript.xml | 2 +- docs/smbdotconf/vfs/setquotacommand.xml | 3 +- docs/xslt/expand-sambadoc.xsl | 102 +++---- docs/xslt/expand-smbconfdoc.xsl | 2 +- docs/xslt/man.xsl | 333 ++++++++--------------- 6 files changed, 180 insertions(+), 267 deletions(-) rewrite docs/xslt/man.xsl (77%) diff --git a/docs/smbdotconf/printing/addportcommand.xml b/docs/smbdotconf/printing/addportcommand.xml index 1ba9a6c063e..70957e2bce2 100644 --- a/docs/smbdotconf/printing/addportcommand.xml +++ b/docs/smbdotconf/printing/addportcommand.xml @@ -4,12 +4,11 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - Samba 3.0.23 introduces support for adding printer ports + Samba 3.0.23 introduced support for adding printer ports remotely using the Windows "Add Standard TCP/IP Port Wizard". This option defines an external program to be executed when smbd receives a request to add a new Port to the system. - he script is passed two parameters: - + he script is passed two parameters: port name diff --git a/docs/smbdotconf/security/checkpasswordscript.xml b/docs/smbdotconf/security/checkpasswordscript.xml index 7fe898dfbff..9169891c298 100644 --- a/docs/smbdotconf/security/checkpasswordscript.xml +++ b/docs/smbdotconf/security/checkpasswordscript.xml @@ -12,7 +12,7 @@ user will be notified and the password change will fail. Note: In the example directory there is a sample program called crackcheck - that uses cracklib to checkpassword quality. + that uses cracklib to checkpassword quality. diff --git a/docs/smbdotconf/vfs/setquotacommand.xml b/docs/smbdotconf/vfs/setquotacommand.xml index 7c8d15015f5..b00a6206286 100644 --- a/docs/smbdotconf/vfs/setquotacommand.xml +++ b/docs/smbdotconf/vfs/setquotacommand.xml @@ -24,8 +24,7 @@ 2 - user default quotas (uid = -1) 3 - group quotas 4 - group default quotas (gid = -1) - - + 2 - id (uid for user, gid for group, -1 if N/A) 3 - quota state (0 = disable, 1 = enable, 2 = enable and enforce) 4 - block softlimit diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index 0a6326ef0be..3e1028189ca 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -21,22 +21,63 @@ + + + + + + + none + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + Related command: + + + + + + - - + - - - - - + + + + = - - - + + + @@ -59,44 +100,13 @@ - - - - - - - - - - - none - - - - - - - = - - - - - - - - - - - - - - - - - - + + + + + diff --git a/docs/xslt/expand-smbconfdoc.xsl b/docs/xslt/expand-smbconfdoc.xsl index 8cad9b83284..712a7f4ae15 100644 --- a/docs/xslt/expand-smbconfdoc.xsl +++ b/docs/xslt/expand-smbconfdoc.xsl @@ -18,7 +18,7 @@ - + Related command diff --git a/docs/xslt/man.xsl b/docs/xslt/man.xsl dissimilarity index 77% index 5232d2ead22..e403122965d 100644 --- a/docs/xslt/man.xsl +++ b/docs/xslt/man.xsl @@ -1,214 +1,119 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .\"Generated by db2man.xsl. Don't modify this, modify the source. -.de Sh \" Subsection -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Ip \" List item -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH " - - " - - " - - " " - - " " - - " - - - - - - - - - - - - - - - - .nf - - .fi - - - - \fB - - \fR - - - - \fB - - \fR - - - - - - - - - - - - - - - \(bu - - - .TP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .SS " - - " - - - - - + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + .sp + + .RS + + + + + + + + + + + \h'- + + + 0 + + + + \n(INu + + + ' + + \h'+ + + + 0 + + + + \n(INu-1 + + + '\c + + + + + + + .sp -1 + .IP \(bu 2.3 + + + + + + + .RE + + + + + + .PP + + + + + + + + + + + + + .sp + .RE + + + + + .SS " + + " + + + + + -- 2.11.4.GIT