Mercurial > hg > nginx-site
view xsls/dirmap.xsls @ 2729:886c6507ee04
Fixed a broken link in the Unit 1.24.0 announcement.
author | Artem Konev <artem.konev@nginx.com> |
---|---|
date | Fri, 28 May 2021 11:11:20 +0100 |
parents | 333eccb8a7f6 |
children |
line wrap: on
line source
<!-- Copyright (C) Nginx, Inc. --> X:stylesheet { X:output method="text"; X:strip-space elements="*"; X:template = "link" { !{@id} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "link[@id = 'include']" { X:text{\\} !{@id} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "link[starts-with(@id, 'var_')]" { X:text{$} !{substring-after(@id, 'var_')} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "links | varlinks" { X:for-each "link", X:sort "@id" { X:if "count(preceding-sibling::link[@id = current()/@id]) = 0" { !! "."; } } } }