Mercurial > hg > nginx-site
changeset 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 | 0f1b206eb401 |
children | 89c31b453d40 |
files | xsls/body.xsls |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
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]" {