Mercurial > hg > nginx-site
annotate xsls/varindex.xsls @ 2060:237b67ef69a6
Improved win32 build instructions.
Added "--with-openssl-opt=no-asm" argument which is required since
OpenSSL 1.0.2, as OpenSSL started to use assembler by default in 1.0.0 and
then broke builds with MASM in OpenSSL 1.0.2 (ticket #1396).
While here, added "--with-debug", added missing "--http-scgi-temp-path" and
"--http-uwsgi-temp-path", updated OpenSSL to 1.0.2l, switched to slightly
more readable one-argument-per-line style in configure example, added
indentation to continuation lines, removed useless "--builddir=objs" argument
("objs" is the default), and removed useless "-f objs/Makefile" argument
in nmake (nginx generates appropriate Makefile in the current directory).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 17 Oct 2017 17:57:36 +0300 |
parents | 1a7a1c79142e |
children |
rev | line source |
---|---|
1156 | 1 <!-- |
2 Copyright (C) Nginx, Inc. | |
3 --> | |
4 | |
5 X:stylesheet { | |
6 | |
1195
1a7a1c79142e
Added indentation to variables index.
Ruslan Ermilov <ru@nginx.com>
parents:
1156
diff
changeset
|
7 X:output method="xml" doctype-system="../../../dtd/article.dtd" encoding="utf-8" |
1a7a1c79142e
Added indentation to variables index.
Ruslan Ermilov <ru@nginx.com>
parents:
1156
diff
changeset
|
8 indent="yes"; |
1156 | 9 |
10 <!-- | |
11 -- a current directory of a XSLT script is where the script is stored, | |
12 -- but not where XSLT processor has been started to run the script | |
13 --> | |
14 X:param XML = "'../xml'"; | |
15 | |
16 X:param LANG; | |
17 | |
18 X:template = "modules" { | |
19 <article name="{document(concat($XML, '/i18n.xml')) | |
20 /i18n/text[@lang = $LANG]/item[@id='varindex']}" | |
21 link="/{$LANG}/docs/varindex.html" | |
22 lang="{$LANG}"> | |
23 <section> | |
24 <para> | |
25 <varlinks> | |
26 !! "module"; | |
27 </varlinks> | |
28 </para> | |
29 </section> | |
30 </article> | |
31 } | |
32 | |
33 X:template = "module" { | |
34 X:var module="@name" | |
35 X:for-each "document(@name)//tag-name/var" { | |
36 <link doc="{$module}" id="{../@id}">!!;</link> | |
37 } | |
38 } | |
39 | |
40 } |