Mercurial > hg > nginx-site
comparison xsls/link.xsls @ 632:9ff0bc734b77
In alphabetical index of directives, if there are several directives
with the same name, output the module names in parentheses.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 15 Aug 2012 09:50:29 +0000 |
parents | b2db67ca29cc |
children | 8e8a6a7cff2b |
comparison
equal
deleted
inserted
replaced
631:9015b4a0df44 | 632:9ff0bc734b77 |
---|---|
46 } | 46 } |
47 | 47 |
48 X:template = "links" { | 48 X:template = "links" { |
49 X:for-each "link", X:sort "@id" { | 49 X:for-each "link", X:sort "@id" { |
50 <a href="{substring-before(@doc, '.xml')}.html#{@id}">!{@id}</a> | 50 <a href="{substring-before(@doc, '.xml')}.html#{@id}">!{@id}</a> |
51 X:if "count(../link[@id = current()/@id]) > 1" { | |
52 X:text{ (} | |
53 !{substring-before(substring-after(@doc, '/'), '.xml')} | |
54 X:text{)} | |
55 } | |
51 <br/> | 56 <br/> |
52 } | 57 } |
53 } | 58 } |
54 | 59 |
55 } | 60 } |