Mercurial > hg > nginx-site
comparison xsls/body.xsls @ 590:05761a8e38f6
Added an option to disable generation of TOC.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 19 Jul 2012 04:56:13 +0000 |
parents | be54c443235a |
children | 1902d38f0b05 |
comparison
equal
deleted
inserted
replaced
589:764fbac1b8b4 | 590:05761a8e38f6 |
---|---|
37 | 37 |
38 </tr> | 38 </tr> |
39 | 39 |
40 <tr><td valign="top"> | 40 <tr><td valign="top"> |
41 | 41 |
42 X:if "section[@name]" { | 42 X:if "@toc = 'yes' and section[@id and @name]" { |
43 <table width="100%"><tr><td align="{$INDEX_ALIGN}"> | 43 <table width="100%"><tr><td align="{$INDEX_ALIGN}"> |
44 X:for-each "section[@id and @name]" { | 44 X:for-each "section[@id and @name]" { |
45 <a href="#{@id}"> !{@name} </a><br/> | 45 <a href="#{@id}"> !{@name} </a><br/> |
46 X:if "@id = 'directives'" { | 46 X:if "@id = 'directives'" { |
47 X:for-each "directive[@name]" { | 47 X:for-each "directive[@name]" { |