Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_charset_module.xml @ 271:4c6d2c614d2c
Cleaned up XML tag mess:
- all of <parameter> and <code>, and some of <dirname>, <value>,
and <command> were replaced by <literal>;
- the rest of <dirname> were replaced by links;
- <argument> were replaced by <value>;
- <value> is now rendered in HTML in italic;
- <literal> and <path> can now contain <value>.
Cleaned up terminology mess:
- directives take "parameters".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 23 Dec 2011 17:29:59 +0000 |
parents | bfe3eff81d04 |
children | 2305be197a84 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_charset_module.xml Thu Dec 22 13:39:18 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_charset_module.xml Fri Dec 23 17:29:59 2011 +0000 @@ -50,7 +50,7 @@ <section name="Директивы" id="directives"> <directive name="charset"> -<syntax><value>кодировка|off</value></syntax> +<syntax><value>кодировка</value> | <literal>off</literal></syntax> <default>off</default> <context>http, server, location, if в location</context> @@ -90,7 +90,7 @@ <directive name="charset_map"> -<syntax block="yes"><value>кодировка1 кодировка2</value></syntax> +<syntax block="yes"><value>кодировка1</value> <value>кодировка2</value></syntax> <default/> <context>http</context> @@ -142,10 +142,9 @@ <directive name="charset_types"> -<syntax><value>mime-тип [mime-тип ...]</value></syntax> +<syntax><value>mime-тип</value> ...</syntax> <default>text/html text/xml text/plain text/vnd.wap.wml -application/x-javascript application/rss+xml -</default> +application/x-javascript application/rss+xml</default> <context>http, server, location</context> <para> @@ -165,7 +164,7 @@ <directive name="override_charset"> -<syntax><value>on|off</value></syntax> +<syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> <context>http, server, location, if в location</context>