common|synopsis.xsl: rename directive type=sections id generation
authorLuca Toscano <elukey@apache.org>
Wed, 16 Aug 2017 13:40:12 +0000 (13:40 +0000)
committerLuca Toscano <elukey@apache.org>
Wed, 16 Aug 2017 13:40:12 +0000 (13:40 +0000)
commit7d0602830db0b9d1cb0b90a30c1a6f72c7740e02
tree1db4a6144b040e6dba036c1b610e335e34e4cc53
parent1a138bb5c5b47467c7b233227f8a16357873f65a
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
* <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, <directive> 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
docs/manual/style/xsl/common.xsl
docs/manual/style/xsl/synopsis.xsl