Mercurial > hg > nginx-site
annotate xslt/content.xslt @ 2769:16f6fa718be2
Updated TLSv1.3 support notes.
Previous notes described some early development snapshot of OpenSSL 1.1.1
with disabled TLSv1.3 by default. It was then enabled in the first alpha.
Further, the updated text covers later major releases such as OpenSSL 3.0.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 30 Sep 2021 16:29:20 +0300 |
parents | 086e307d8b28 |
children |
rev | line source |
---|---|
170 | 1 <?xml version="1.0" encoding="utf-8"?> |
1085 | 2 <!-- |
3 Copyright (C) Igor Sysoev | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
170 | 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
8 | |
1085 | 9 <xsl:template match="section[@id and @name]"> |
10 <a name="{@id}"/> <center><h4> <xsl:value-of select="@name"/> </h4></center> | |
11 <xsl:apply-templates/> | |
12 </xsl:template> | |
170 | 13 |
1085 | 14 <xsl:template match="section/section[@id and @name]"> |
1901 | 15 <a name="{@id}"/> <center><h4> <xsl:value-of select="@name"/> </h4></center> |
1085 | 16 <xsl:apply-templates/> |
17 </xsl:template> | |
170 | 18 |
1085 | 19 <xsl:template match="section[@id and not(@name)]"> |
20 <a name="{@id}"/> | |
21 <xsl:apply-templates/> | |
22 </xsl:template> | |
170 | 23 |
1085 | 24 <xsl:template match="section[not(@id) and @name]"> |
25 <center><h4> <xsl:value-of select="@name"/> </h4></center> | |
26 <xsl:apply-templates/> | |
27 </xsl:template> | |
608 | 28 |
1085 | 29 <xsl:template match="section/section[not(@id) and @name]"> |
1901 | 30 <center><h4> <xsl:value-of select="@name"/> </h4></center> |
1085 | 31 <xsl:apply-templates/> |
32 </xsl:template> | |
170 | 33 |
1685 | 34 <xsl:template match="para[@id]"> |
35 <a name="{@id}"/> | |
36 <p> <xsl:apply-templates/> </p> | |
37 </xsl:template> | |
38 | |
1085 | 39 <xsl:template match="para"> <p> <xsl:apply-templates/> </p> </xsl:template> |
170 | 40 |
1085 | 41 <xsl:template match="para[@align]"> <p align="{@align}"> <xsl:apply-templates/> </p> </xsl:template> |
170 | 42 |
1085 | 43 <xsl:template match="initial"> <span class="initial"><b> <xsl:apply-templates/> </b></span> </xsl:template> |
170 | 44 |
45 | |
1085 | 46 <xsl:template match="programlisting"> <blockquote class="example"><pre> <xsl:apply-templates/> </pre></blockquote> </xsl:template> |
170 | 47 |
1085 | 48 <xsl:template match="para/programlisting"> |
49 <xsl:text disable-output-escaping="yes"></p> </xsl:text> | |
50 <blockquote class="example"><pre> <xsl:apply-templates/> </pre></blockquote> | |
51 <xsl:text disable-output-escaping="yes"><p> </xsl:text> | |
52 </xsl:template> | |
170 | 53 |
54 | |
1085 | 55 <xsl:template match="note"> <blockquote class="note"> <xsl:apply-templates/> </blockquote> </xsl:template> |
170 | 56 |
1085 | 57 <xsl:template match="para/note"> |
58 <xsl:text disable-output-escaping="yes"></p> </xsl:text> | |
59 <blockquote class="note"> <xsl:apply-templates/> </blockquote> | |
60 <xsl:text disable-output-escaping="yes"><p> </xsl:text> | |
61 </xsl:template> | |
474 | 62 |
1085 | 63 <xsl:template match="list[@type='bullet']"> |
64 <xsl:choose><xsl:when test="@compact = 'yes'"> | |
65 <ul class="compact"> <xsl:apply-templates/> </ul> | |
66 </xsl:when><xsl:otherwise> | |
67 <ul> <xsl:apply-templates/> </ul> | |
68 </xsl:otherwise></xsl:choose> | |
69 </xsl:template> | |
70 <xsl:template match="para/list[@type='bullet']"> | |
71 <xsl:text disable-output-escaping="yes"></p> </xsl:text> | |
72 <xsl:choose><xsl:when test="@compact = 'yes'"> | |
73 <ul class="compact"> <xsl:apply-templates/> </ul> | |
74 </xsl:when><xsl:otherwise> | |
75 <ul> <xsl:apply-templates/> </ul> | |
76 </xsl:otherwise></xsl:choose> | |
77 <xsl:text disable-output-escaping="yes"><p> </xsl:text> | |
78 </xsl:template> | |
474 | 79 |
1085 | 80 <xsl:template match="list[@type='enum']"> |
81 <xsl:choose><xsl:when test="@compact = 'yes'"> | |
82 <ol class="compact"> <xsl:apply-templates/> </ol> | |
83 </xsl:when><xsl:otherwise> | |
84 <ol> <xsl:apply-templates/> </ol> | |
85 </xsl:otherwise></xsl:choose> | |
86 </xsl:template> | |
87 <xsl:template match="para/list[@type='enum']"> | |
88 <xsl:text disable-output-escaping="yes"></p> </xsl:text> | |
89 <xsl:choose><xsl:when test="@compact = 'yes'"> | |
90 <ol class="compact"> <xsl:apply-templates/> </ol> | |
91 </xsl:when><xsl:otherwise> | |
92 <ol> <xsl:apply-templates/> </ol> | |
93 </xsl:otherwise></xsl:choose> | |
94 <xsl:text disable-output-escaping="yes"><p> </xsl:text> | |
95 </xsl:template> | |
497 | 96 |
1085 | 97 <xsl:template match="listitem"> <li> <xsl:apply-templates/> </li> </xsl:template> |
98 <xsl:template match="listitem[@id]"> <li id="{@id}"> <xsl:apply-templates/> </li> </xsl:template> | |
1898 | 99 |
1085 | 100 <xsl:template match="list[@type='tag']"> |
101 <xsl:choose><xsl:when test="@compact = 'yes'"> | |
102 <dl class="compact"> <xsl:apply-templates/> </dl> | |
103 </xsl:when><xsl:otherwise> | |
104 <dl> <xsl:apply-templates/> </dl> | |
105 </xsl:otherwise></xsl:choose> | |
106 </xsl:template> | |
107 <xsl:template match="para/list[@type='tag']"> | |
108 <xsl:text disable-output-escaping="yes"></p> </xsl:text> | |
109 <xsl:choose><xsl:when test="@compact = 'yes'"> | |
110 <dl class="compact"> <xsl:apply-templates/> </dl> | |
111 </xsl:when><xsl:otherwise> | |
112 <dl> <xsl:apply-templates/> </dl> | |
113 </xsl:otherwise></xsl:choose> | |
114 <xsl:text disable-output-escaping="yes"><p> </xsl:text> | |
115 </xsl:template> | |
170 | 116 |
1085 | 117 <xsl:template match="tag-name"> <dt> <xsl:apply-templates/> </dt> </xsl:template> |
118 <xsl:template match="tag-name[@id]"> <dt id="{@id}"> <xsl:apply-templates/> </dt> </xsl:template> | |
170 | 119 |
1085 | 120 <xsl:template match="tag-desc"> <dd> <xsl:apply-templates/> </dd> </xsl:template> |
778
cd73f6e9aaf3
Donation page refactored: multi-column layout, donated sums ranges.
Maxim Konovalov <maxim@nginx.com>
parents:
759
diff
changeset
|
121 |
1085 | 122 <xsl:template match="table[@note and @width]"> |
123 <blockquote><table width="{@width}"> <xsl:apply-templates/> </table></blockquote> | |
124 </xsl:template> | |
125 <xsl:template match="table[@note and not(@width)]"> | |
126 <blockquote><table width="100%"> <xsl:apply-templates/> </table></blockquote> | |
127 </xsl:template> | |
128 <xsl:template match="table[not(@note) and @width]"> | |
129 <table width="{@width}"> <xsl:apply-templates/> </table> | |
130 </xsl:template> | |
131 <xsl:template match="table"> | |
132 <table width="100%"> | |
133 <xsl:if test="@class"> | |
134 <xsl:attribute name="class"> <xsl:value-of select="@class"/> </xsl:attribute> | |
135 </xsl:if> | |
136 <xsl:apply-templates/> | |
137 </table> | |
138 </xsl:template> | |
170 | 139 |
1085 | 140 <xsl:template match="tr"> <tr> <xsl:apply-templates/> </tr> </xsl:template> |
141 <xsl:template match="td[@width]"> <td width="{@width}"> <xsl:apply-templates/> </td> </xsl:template> | |
142 <xsl:template match="td"> <td> <xsl:apply-templates/> </td> </xsl:template> | |
170 | 143 |
1085 | 144 <xsl:template match="c-def"> <code> <xsl:apply-templates/> </code> </xsl:template> |
170 | 145 |
1085 | 146 <xsl:template match="c-func"> <code> <xsl:apply-templates/> <xsl:text>()</xsl:text> </code> </xsl:template> |
170 | 147 |
1085 | 148 <xsl:template match="command"> <code> <xsl:apply-templates/> </code> </xsl:template> |
170 | 149 |
1085 | 150 <xsl:template match="emphasis"> <strong> <xsl:apply-templates/> </strong> </xsl:template> |
170 | 151 |
1085 | 152 <xsl:template match="example"> <blockquote class="example"><pre> <xsl:apply-templates/> </pre></blockquote> </xsl:template> |
170 | 153 |
1085 | 154 <xsl:template match="para/example"> |
155 <xsl:text disable-output-escaping="yes"></p> </xsl:text> | |
156 <blockquote class="example"><pre> <xsl:apply-templates/> </pre></blockquote> | |
157 <xsl:text disable-output-escaping="yes"><p> </xsl:text> | |
158 </xsl:template> | |
170 | 159 |
1085 | 160 <xsl:template match="literal"> <code> <xsl:apply-templates/> </code> </xsl:template> |
170 | 161 |
1085 | 162 <xsl:template match="header"> |
163 <xsl:text>“</xsl:text> <xsl:apply-templates/> <xsl:text>”</xsl:text> | |
164 </xsl:template> | |
170 | 165 |
1085 | 166 <xsl:template match="http-status"> |
167 <xsl:value-of select="@code"/> <xsl:text> (</xsl:text> <xsl:value-of select="@text"/> <xsl:text>)</xsl:text> | |
168 </xsl:template> | |
170 | 169 |
1085 | 170 <xsl:template match="value"> <code><i> <xsl:apply-templates/> </i></code> </xsl:template> |
170 | 171 |
1085 | 172 <xsl:template match="registered"> <xsl:apply-templates/> <sup> <xsl:text>®</xsl:text> </sup> </xsl:template> |
173 | |
174 <xsl:template match="var"> <code> <xsl:apply-templates/> </code> </xsl:template> | |
170 | 175 |
1085 | 176 <xsl:template match="path"> <code> <xsl:apply-templates/> </code> </xsl:template> |
177 <xsl:template match="i"> <i> <xsl:apply-templates/> </i> </xsl:template> | |
178 <xsl:template match="b"> <b> <xsl:apply-templates/> </b> </xsl:template> | |
179 <xsl:template match="nobr"> <nobr> <xsl:apply-templates/> </nobr> </xsl:template> | |
180 <xsl:template match="br"> <br/> </xsl:template> | |
170 | 181 |
2262 | 182 <xsl:template match="video[@id]"> |
183 <div class="video"> | |
184 <iframe type="text/html" src="https://www.youtube.com/embed/{@id}?modestbranding=1&rel=0&showinfo=0&color=white" frameborder="0" allowfullscreen="1"> | |
185 </iframe> | |
186 </div> | |
187 </xsl:template> | |
170 | 188 </xsl:stylesheet> |