- Fixed description errors in README.rst

- Now the directives are sorted alphabetically
pull/4/head
Óscar García Amor 2011-07-20 08:37:07 +02:00
parent 42d2f1b1f7
commit a86e293f4f
1 changed files with 26 additions and 27 deletions

View File

@ -81,15 +81,16 @@ fancyindex
:Description: :Description:
Enables or disables fancy directory indexes. Enables or disables fancy directory indexes.
fancyindex_localtime fancyindex_css_href
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
:Syntax: *fancyindex_localtime* [*on* | *off*] :Syntax: *fancyindex_css_href uri*
:Default: fancyindex_localtime off :Default: fancyindex_css_href ""
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Defines how to represent file sizes in the directory listing; either Allows inserting a link to a CSS style sheet in generated listings. The
accurately, or rounding off to the kilobyte, the megabyte and the provided *uri* parameter will be inserted as-is in a ``<link>`` HTML tag.
gigabyte. The link is inserted after the built-in CSS rules, so you can override the
default styles.
fancyindex_exact_size fancyindex_exact_size
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
@ -97,17 +98,9 @@ fancyindex_exact_size
:Default: fancyindex_exact_size on :Default: fancyindex_exact_size on
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Enables showing file times as local time. Default is “off” (GMT time). Defines how to represent file sizes in the directory listing; either
accurately, or rounding off to the kilobyte, the megabyte and the
fancyindex_header gigabyte.
~~~~~~~~~~~~~~~~~
:Syntax: *fancyindex_header path*
:Default: fancyindex_header ""
:Context: http, server, location
:Description:
Specifies which file should be inserted at the head of directory listings.
If set to an empty string, the default header supplied by the module will
be sent.
fancyindex_footer fancyindex_footer
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
@ -127,16 +120,15 @@ fancyindex_footer
header/footer is a must-have for you, please header/footer is a must-have for you, please
`let me know <mailto:aperez@igalia.com>`__. `let me know <mailto:aperez@igalia.com>`__.
fancyindex_css_href fancyindex_header
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
:Syntax: *fancyindex_css_href uri* :Syntax: *fancyindex_header path*
:Default: fancyindex_css_href "" :Default: fancyindex_header ""
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Allows inserting a link to a CSS style sheet in generated listings. The Specifies which file should be inserted at the head of directory listings.
provided *uri* parameter will be inserted as-is in a ``<link>`` HTML tag. If set to an empty string, the default header supplied by the module will
The link is inserted after the built-in CSS rules, so you can override the be sent.
default styles.
fancyindex_ignore fancyindex_ignore
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
@ -148,7 +140,14 @@ fancyindex_ignore
listings. If Nginx was built with PCRE support strings are interpreted as listings. If Nginx was built with PCRE support strings are interpreted as
regular expressions. regular expressions.
fancyindex_localtime
~~~~~~~~~~~~~~~~~~~~
:Syntax: *fancyindex_localtime* [*on* | *off*]
:Default: fancyindex_localtime off
:Context: http, server, location
:Description:
Enables showing file times as local time. Default is “off” (GMT time).
.. _nginx: http://nginx.net .. _nginx: http://nginx.net
.. vim:ft=rst:spell:spelllang=en: .. vim:ft=rst:spell:spelllang=en: