diff xml/ru/docs/http/ngx_http_core_module.xml @ 108:72524ae53106

Explicitly marked directives with the block syntax. Such directives will have curly braces around their syntax and defaults appear automatically. Other directives will have a semicolon after their syntax and defaults.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 Oct 2011 07:47:21 +0000
parents 56457a474903
children bfe3eff81d04
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Wed Oct 19 12:39:11 2011 +0000
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Thu Oct 20 07:47:21 2011 +0000
@@ -528,7 +528,7 @@
 
 
 <directive name="limit_except">
-<syntax><value>методы</value> { ... }</syntax>
+<syntax block="yes"><value>методы</value></syntax>
 <default/>
 <context>location</context>
 
@@ -733,8 +733,8 @@
 
 
 <directive name="location">
-<syntax>[<value>=|~|~*|^~|@</value>] <value>/uri/</value>
-{ ... }</syntax>
+<syntax block="yes">[<value>=|~|~*|^~|@</value>] <value>/uri/</value>
+</syntax>
 <default/>
 <context>server</context>
 
@@ -1235,7 +1235,7 @@
 
 
 <directive name="server">
-<syntax>{ ... }</syntax>
+<syntax block="yes"/>
 <default/>
 <context>http</context>
 
@@ -1602,13 +1602,11 @@
 
 
 <directive name="types">
-<syntax><value>{ ... }</value></syntax>
+<syntax block="yes"/>
 <default>
-{
     text/html  html;
     image/gif  gif;
     image/jpeg jpg;
-}
 </default>
 <context>http, server, location</context>