From: Luca Toscano Date: Wed, 16 Aug 2017 13:40:12 +0000 (+0000) Subject: common|synopsis.xsl: rename directive type=sections id generation X-Git-Tag: 2.5.0-alpha~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d0602830db0b9d1cb0b90a30c1a6f72c7740e02;p=thirdparty%2Fapache%2Fhttpd.git common|synopsis.xsl: rename directive type=sections id generation This commits is a follow up of r1805189 and it is meant to allow directives with the same name but different type to coexist in the same document without triggering errors while executing validate-xhtml. For example: mod_md.xml recently introduced the following: * ManagedDomain * (this one is type=section) In my opinion this is a perfectly valid use case and it should be allowed/handled correctly by the doc generation process/validation. In order to avoid clashing the directive ids will get a suffix called "section" if type=section will be present as param. Quicklinks, links have been updated to the new scheme to avoid dandling pointers in the doc. Comments/reviews are welcome, if I left something behind please let me know. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805193 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 505d113a595..e0e21bf77f1 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -887,12 +887,12 @@ if (typeof(prettyPrint) !== 'undefined') { - + - + diff --git a/docs/manual/style/xsl/synopsis.xsl b/docs/manual/style/xsl/synopsis.xsl index fcaa0198a3a..00fb6fb7926 100644 --- a/docs/manual/style/xsl/synopsis.xsl +++ b/docs/manual/style/xsl/synopsis.xsl @@ -194,8 +194,8 @@ /modulesynopsis/directivesynopsis"> + select="concat(translate(name, $uppercase, + $lowercase),@type)" /> @@ -353,9 +353,12 @@ &lf;
+ - + select="concat(translate(name, $uppercase, $lowercase),@type)" /> +

@@ -377,7 +380,7 @@ - + < > @@ -385,7 +388,7 @@ - + < >