# HG changeset patch # User Ruslan Ermilov # Date 1320356427 0 # Node ID 6eeaa9e1f3b52ad0f8d88bf277f54814a5034a18 # Parent cd2698ea00ab41996eceb8fb25d9b48489970368 Made "appeared-in" an element, and added support for multiple "appeared-in" specifications. diff -r cd2698ea00ab -r 6eeaa9e1f3b5 dtd/module.dtd --- a/dtd/module.dtd Wed Nov 02 19:31:11 2011 +0000 +++ b/dtd/module.dtd Thu Nov 03 21:40:27 2011 +0000 @@ -12,10 +12,9 @@ name CDATA #IMPLIED > - + @@ -27,6 +26,8 @@ + + diff -r cd2698ea00ab -r 6eeaa9e1f3b5 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Wed Nov 02 19:31:11 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Thu Nov 03 21:40:27 2011 +0000 @@ -8,7 +8,7 @@
- + on | off | @@ -18,6 +18,7 @@ http server location +0.8.11 Enables or disables the use of asynchronous file I/O (AIO) @@ -419,12 +420,13 @@ - + size | off off http server location +0.7.7 Enables the use of @@ -445,12 +447,13 @@ - + size 512 http server location +0.8.11 Sets an alignment for @@ -526,7 +529,7 @@ - + off | exact | @@ -536,6 +539,7 @@ http server location +0.7.24 Specifies how to compare modification time of a response @@ -634,12 +638,13 @@ - + number 100 http server location +0.8.0 Sets the maximum number of requests that can be @@ -789,13 +794,14 @@ - + size 0 http server location if in location +0.8.0 Sets the initial amount after which the further transmission diff -r cd2698ea00ab -r 6eeaa9e1f3b5 xsls/directive.xsls --- a/xsls/directive.xsls Wed Nov 02 19:31:11 2011 +0000 +++ b/xsls/directive.xsls Thu Nov 03 21:40:27 2011 +0000 @@ -9,9 +9,7 @@ !! "default"; !! "context"; - X:if "(@appeared-in)" { -

This directive appeared in version !{@appeared-in}.

- } + !! "appeared-in"; !! "para"; } @@ -119,4 +117,31 @@ } } + X:template = "appeared-in" { + X:if "last() = 1" { +

This directive appeared in version !!;.

+ } else { + X:choose { + X:when "position() = 1" { + X:text disable-output-escaping="yes" { + <p> + } + This directive appeared in versions !!; + X:if "last() > 2" { + X:text{, } + } + } + X:when "position() != last()" { + !!; + X:text{, } + } + X:otherwise { + and !!;. + X:text disable-output-escaping="yes" { + </p> + } + } + } + } + } } diff -r cd2698ea00ab -r 6eeaa9e1f3b5 xslt/directive.xslt --- a/xslt/directive.xslt Wed Nov 02 19:31:11 2011 +0000 +++ b/xslt/directive.xslt Thu Nov 03 21:40:27 2011 +0000 @@ -18,12 +18,7 @@ - - -

This directive appeared in version - . -

-
+ @@ -199,4 +194,43 @@ + + + + + +

This directive appeared in version + . +

+
+ + + + + + + <p> + + This directive appeared in versions + + + , + + + + + , + + + and + . + + </p> + + + + +
+
+