# HG changeset patch # User Ruslan Ermilov # Date 1319102381 0 # Node ID 40eec261c2a68f5a1fc67828695489fdbdd7c66c # Parent 6d801bb6e5edbc975d3e82ad6cc1411fdce516fd Added proper support for anonymous sections, notably for the summary. Changed DTD to always require section IDs. diff -r 6d801bb6e5ed -r 40eec261c2a6 dtd/module.dtd --- a/dtd/module.dtd Thu Oct 20 09:15:04 2011 +0000 +++ b/dtd/module.dtd Thu Oct 20 09:19:41 2011 +0000 @@ -8,8 +8,8 @@ diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/en/docs/http/ngx_http_mp4_module.xml --- a/xml/en/docs/http/ngx_http_mp4_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/en/docs/http/ngx_http_mp4_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/en/docs/http/ngx_http_mp4_module.html" lang="en"> -
+
The module ngx_http_mp4_module provides pseudo-streaming diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_access_module.xml --- a/xml/ru/docs/http/ngx_http_access_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_access_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -7,7 +7,7 @@ lang="ru"> -
+
Модуль ngx_http_access_module позволяет закрыть доступ для определённых diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_addition_module.xml --- a/xml/ru/docs/http/ngx_http_addition_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_addition_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_addition_module.html" lang="ru"> -
+
Модуль ngx_http_addition_module — это фильтр, diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_auth_basic_module.xml --- a/xml/ru/docs/http/ngx_http_auth_basic_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_auth_basic_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_auth_basic_module.html" lang="ru"> -
+
Модуль ngx_http_auth_basic_module позволяет закрыть доступ с проверкой diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_autoindex_module.xml --- a/xml/ru/docs/http/ngx_http_autoindex_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_autoindex_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_autoindex_module.html" lang="ru"> -
+
Модуль ngx_http_autoindex_module выдаёт листинг каталога. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_browser_module.xml --- a/xml/ru/docs/http/ngx_http_browser_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_browser_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_browser_module.html" lang="ru"> -
+
Модуль ngx_http_browser_module создаёт переменные, значение которых diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_charset_module.xml --- a/xml/ru/docs/http/ngx_http_charset_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_charset_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_charset_module.html" lang="ru"> -
+
Модуль ngx_http_charset_module добавляет указанную кодировку diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_dav_module.xml --- a/xml/ru/docs/http/ngx_http_dav_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_dav_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_dav_module.html" lang="ru"> -
+
Модуль ngx_http_dav_module обрабатывает HTTP- и WebDAV-методы diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_empty_gif_module.xml --- a/xml/ru/docs/http/ngx_http_empty_gif_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_empty_gif_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_empty_gif_module.html" lang="ru"> -
+
Модуль ngx_http_empty_gif_module выдаёт одно-пиксельный прозрачный GIF. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru"> -
+
Модуль ngx_http_fastcgi_module позволяет передавать запросы diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_flv_module.xml --- a/xml/ru/docs/http/ngx_http_flv_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_flv_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_flv_module.html" lang="ru"> -
+
Модуль ngx_http_flv_module делает специальную обработку передаваемых файлов: diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_geo_module.xml --- a/xml/ru/docs/http/ngx_http_geo_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_geo_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_geo_module.html" lang="ru"> -
+
Модуль ngx_http_geo_module создаёт переменные, значения которых diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_geoip_module.xml --- a/xml/ru/docs/http/ngx_http_geoip_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_geoip_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_geoip_module.html" lang="ru"> -
+
Модуль ngx_http_geoip_module создаёт переменные, значения которых diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_gzip_module.xml --- a/xml/ru/docs/http/ngx_http_gzip_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_gzip_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_gzip_module.html" lang="ru"> -
+
Модуль ngx_http_gzip_module - это фильтр, сжимающий ответ методом gzip, diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_gzip_static_module.xml --- a/xml/ru/docs/http/ngx_http_gzip_static_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_gzip_static_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_gzip_static_module.html" lang="ru"> -
+
Модуль ngx_http_gzip_static_module позволяет отдавать diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_headers_module.xml --- a/xml/ru/docs/http/ngx_http_headers_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_headers_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_headers_module.html" lang="ru"> -
+
Модуль ngx_http_headers_module позволяет выдавать строки "Expires" diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_image_filter_module.xml --- a/xml/ru/docs/http/ngx_http_image_filter_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_image_filter_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_image_filter_module.html" lang="ru"> -
+
Модуль ngx_http_image_filter_module — это фильтр для преобразования diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_index_module.xml --- a/xml/ru/docs/http/ngx_http_index_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_index_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_index_module.html" lang="ru"> -
+
Модуль ngx_http_index_module обслуживает запросы, оканчивающиеся слэшом. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_limit_req_module.xml --- a/xml/ru/docs/http/ngx_http_limit_req_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_limit_req_module.html" lang="ru"> -
+
Модуль ngx_http_limit_req_module (0.7.21) позволяет ограничить число запросов diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_limit_zone_module.xml --- a/xml/ru/docs/http/ngx_http_limit_zone_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_zone_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_limit_zone_module.html" lang="ru"> -
+
Модуль ngx_http_limit_zone_module позволяет ограничить число одновременных diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_log_module.xml --- a/xml/ru/docs/http/ngx_http_log_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_log_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_log_module.html" lang="ru"> -
+
Модуль ngx_http_log_module записывает логи запросов в указанном формате. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_map_module.xml --- a/xml/ru/docs/http/ngx_http_map_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_map_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_map_module.html" lang="ru"> -
+
Модуль ngx_http_map_module создаёт переменные, значение которых diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_memcached_module.xml --- a/xml/ru/docs/http/ngx_http_memcached_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_memcached_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_memcached_module.html" lang="ru"> -
+
Модуль ngx_http_memcached_module позволяет получать ответ из сервера memcached. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_mp4_module.xml --- a/xml/ru/docs/http/ngx_http_mp4_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_mp4_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_mp4_module.html" lang="ru"> -
+
Модуль ngx_http_mp4_module обеспечивает серверную поддержку diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_perl_module.xml --- a/xml/ru/docs/http/ngx_http_perl_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_perl_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_perl_module.html" lang="ru"> -
+
Модуль ngx_http_perl_module позволяет работать со встроенным в nginx perl'ом: diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru"> -
+
Модуль ngx_http_proxy_module позволяет передавать запросы другому серверу. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_random_index_module.xml --- a/xml/ru/docs/http/ngx_http_random_index_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_random_index_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_random_index_module.html" lang="ru"> -
+
Модуль ngx_http_random_index_module выдаёт случайный файл в качестве diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_realip_module.xml --- a/xml/ru/docs/http/ngx_http_realip_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_realip_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_realip_module.html" lang="ru"> -
+
Модуль ngx_http_realip_module позволяет менять адрес клиента diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_referer_module.xml --- a/xml/ru/docs/http/ngx_http_referer_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_referer_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_referer_module.html" lang="ru"> -
+
Модуль ngx_http_referer_module позволяет блокировать доступ diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_rewrite_module.xml --- a/xml/ru/docs/http/ngx_http_rewrite_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_rewrite_module.html" lang="ru"> -
+
Модуль ngx_http_rewrite_module позволяет изменять URI с помощью diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_secure_link_module.xml --- a/xml/ru/docs/http/ngx_http_secure_link_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_secure_link_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_secure_link_module.html" lang="ru"> -
+
Модуль ngx_http_secure_link_module — это модуль проверяющий diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_split_clients_module.xml --- a/xml/ru/docs/http/ngx_http_split_clients_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_split_clients_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_split_clients_module.html" lang="ru"> -
+
Модуль ngx_http_split_clients_module создаёт переменные для diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_ssi_module.xml --- a/xml/ru/docs/http/ngx_http_ssi_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_ssi_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_ssi_module.html" lang="ru"> -
+
Модуль ngx_http_ssi_module — фильтр, обрабатывающий команды SSI (Server diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_ssl_module.xml --- a/xml/ru/docs/http/ngx_http_ssl_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_ssl_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_ssl_module.html" lang="ru"> -
+
Модуль ngx_http_ssl_module обеспечивает работу по протоколу HTTPS. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_sub_module.xml --- a/xml/ru/docs/http/ngx_http_sub_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_sub_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_sub_module.html" lang="ru"> -
+
Модуль ngx_http_sub_module — это фильтр, diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_upstream.xml --- a/xml/ru/docs/http/ngx_http_upstream.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_upstream.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_upstream.html" lang="ru"> -
+
Модуль позволяет описывать группы серверов, diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_userid_module.xml --- a/xml/ru/docs/http/ngx_http_userid_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_userid_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_userid_module.html" lang="ru"> -
+
Модуль ngx_http_userid_module выдаёт сookies для идентификации клиентов. diff -r 6d801bb6e5ed -r 40eec261c2a6 xml/ru/docs/http/ngx_http_xslt_module.xml --- a/xml/ru/docs/http/ngx_http_xslt_module.xml Thu Oct 20 09:15:04 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_xslt_module.xml Thu Oct 20 09:19:41 2011 +0000 @@ -6,7 +6,7 @@ link="/ru/docs/http/ngx_http_xslt_module.html" lang="ru"> -
+
Модуль ngx_http_xslt_module — это фильтр, преобразующий XML-ответ diff -r 6d801bb6e5ed -r 40eec261c2a6 xsls/body.xsls --- a/xsls/body.xsls Thu Oct 20 09:15:04 2011 +0000 +++ b/xsls/body.xsls Thu Oct 20 09:19:41 2011 +0000 @@ -36,7 +36,7 @@
X:if "section[@id]" { - X:for-each "section[@id]" { + X:for-each "section[@id and @name]" { !{@name}
X:if "@id = 'directives'" { X:for-each "directive[@name]" { diff -r 6d801bb6e5ed -r 40eec261c2a6 xsls/content.xsls --- a/xsls/content.xsls Thu Oct 20 09:15:04 2011 +0000 +++ b/xsls/content.xsls Thu Oct 20 09:19:41 2011 +0000 @@ -5,26 +5,24 @@ !!; } - X:template = "section[not(@id) and @name]" { -

!{@name}

+ X:template = "section[@id and not(@name)]" { + !!; } - X:template = "section[not(@id) and not(@name)]" { !!; } - - X:template = "section[@name and @title]" { + X:template = "section[not(@id) and @name and @title]" {

!{@title}

!!; } - X:template = "section[not(@name) and @title]" { + X:template = "section[not(@id) and not(@name) and @title]" {

!{@title}

!!; } - X:template = "section[not(@name) and not(@title)]" { !!; } + X:template = "section[not(@id) and not(@name) and not(@title)]" { !!; }