Mercurial > hg > nginx-site
diff xsls/body.xsls @ 81:5a2dcd623666
In the modules documents, the list of directives is now additionally
output in the contents section.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 13 Oct 2011 07:45:20 +0000 |
parents | 425f0b4acecc |
children | 36f1994d7fa1 |
line wrap: on
line diff
--- a/xsls/body.xsls +++ b/xsls/body.xsls @@ -34,6 +34,12 @@ X:template body (lang) { X:if "section[@id]" { X:for-each "section[@id]" { <a href="#{@id}"> !{@name} </a><br/> + X:if "@id = 'directives'" { + X:for-each "directive[@name]" { + <a href="#{@name}"> !{@name} </a> + X:text{     }<br/> + } + } } } else { X:for-each "section[@name]" {