Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_index_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 | 197ac51e7f0e |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_index_module.xml Thu Dec 22 13:39:18 2011 +0000 +++ b/xml/en/docs/http/ngx_http_index_module.xml Fri Dec 23 17:29:59 2011 +0000 @@ -9,8 +9,8 @@ <section id="summary"> <para> -The module <code>ngx_http_index_module</code> processes requests -ending with the slash character (‘<code>/</code>’). +The module <literal>ngx_http_index_module</literal> processes requests +ending with the slash character (‘<literal>/</literal>’). </para> </section> @@ -32,7 +32,7 @@ <section name="Directives" id="directives"> <directive name="index"> -<syntax><argument>file</argument>...</syntax> +<syntax><value>file</value> ...</syntax> <default>index.html</default> <context>http</context> <context>server</context> @@ -40,7 +40,7 @@ <para> Defines files that will be used as an index. -The <argument>file</argument> name can contain variables. +The <value>file</value> name can contain variables. Files are checked in the specified order. The last element of the list can be a file with an absolute path. Example: @@ -62,8 +62,8 @@ ... } </example> -a request of “<code>/</code>” will actually be processed in the -second location as “<code>/index.html</code>”. +a request of “<literal>/</literal>” will actually be processed in the +second location as “<literal>/index.html</literal>”. </para> </directive>