Mercurial > hg > nginx-quic
annotate docs/xsls/content.xsls @ 4183:c352c483263c
Improved ngx_parse_time() code readability.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 07 Oct 2011 08:03:16 +0000 |
parents | 5e2103cffd80 |
children |
rev | line source |
---|---|
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
1 X:stylesheet { |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
2 |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
3 X:template = "section[@id and @name]" { |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
4 <a name="{@id}" /> <center><h4> !{@name} </h4></center> |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
5 !!; |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
6 } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
7 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
8 X:template = "section[not(@id) and @name]" { |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
9 <center><h4> !{@name} </h4></center> |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
10 !!; |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
11 } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
12 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
13 X:template = "section[not(@id) and not(@name)]" { !!; } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
14 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
15 X:template = "para" { <p> !!; </p> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
16 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
17 X:template = "c-def" { <code> !!; </code> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
18 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
19 X:template = "c-func" { <code> !!; X:text{()} </code> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
20 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
21 X:template = "code" { <code> !!; </code> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
22 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
23 X:template = "command" { <code> !!; </code> } |
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
24 |
4077
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
25 X:template = "dq" { |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
26 X:text disable-output-escaping="yes" {&ldquo;} |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
27 !!; |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
28 X:text disable-output-escaping="yes" {&rdquo;} |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
29 } |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
30 |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
31 X:template = "example" { <blockquote><pre> !!; </pre></blockquote> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
32 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
33 X:template = "emphasis" { <strong> !!; </strong> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
34 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
35 X:template = "header" { <code> !!; </code> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
36 |
4108
5e2103cffd80
- The module name is now also output as an HTML header.
Ruslan Ermilov <ru@nginx.com>
parents:
4090
diff
changeset
|
37 X:template = "http-status" { |
4090
20331a241fe1
HTTP errors are now output as "code (text)".
Ruslan Ermilov <ru@nginx.com>
parents:
4081
diff
changeset
|
38 !{@code} X:text{ (} !{@text} X:text{)} |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
39 } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
40 |
4081
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
41 X:template = "link[@url]" { <a href="{@url}"> !!; </a> } |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
42 X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> } |
4081
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
43 X:template = "link[@doc and not(@id)]" { |
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
44 <a href="{substring-before(@doc, '.xml')}.html"> !!; </a> |
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
45 } |
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
46 X:template = "link[@id and @doc]" { |
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
47 <a href="{substring-before(@doc, '.xml')}.html#{@id}"> !!; </a> |
deab88e4c35a
Basic inter-document and external linking support.
Ruslan Ermilov <ru@nginx.com>
parents:
4077
diff
changeset
|
48 } |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
49 X:template = "link" { <u> !!; </u> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
50 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
51 X:template = "list[@type='bullet']" { <ul> !!; </ul> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
52 X:template = "list[@type='enum']" { <ol> !!; </ol> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
53 X:template = "listitem" { <li> !!; </li> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
54 |
4077
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
55 X:template = "list[@type='tag']" { <dl compact=""> !!; </dl> } |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
56 X:template = "tag-name" { <dt> !!; </dt> } |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
57 X:template = "tag-desc" { <dd> !!; </dd> } |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
58 |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
59 X:template = "pathname" { <code> !!; </code> } |
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
60 |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
61 X:template = "argument" { <code><i> !!; </i></code> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
62 X:template = "parameter" { <code> !!; </code> } |
4077
24f511e94057
New elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov <ru@nginx.com>
parents:
4066
diff
changeset
|
63 |
4066
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
64 X:template = "value" { <code> !!; </code> } |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
65 |
ac19e755a132
DTD and XSLS changes for modules.
Ruslan Ermilov <ru@nginx.com>
parents:
3996
diff
changeset
|
66 X:template = "var" { <code> !!; </code> } |
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
67 } |