Mercurial > hg > nginx-site
changeset 2026:af51ec6b5489
Fixed typos in njs configure string examples.
Reported by PGNet Dev.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 14 Aug 2017 13:43:08 +0300 |
parents | 1fe9f481d8ce |
children | dabca59da4ce |
files | xml/en/docs/http/ngx_http_js_module.xml xml/en/docs/njs_about.xml xml/en/docs/stream/ngx_stream_js_module.xml xml/ru/docs/http/ngx_http_js_module.xml xml/ru/docs/njs_about.xml xml/ru/docs/stream/ngx_stream_js_module.xml |
diffstat | 6 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_js_module.xml +++ b/xml/en/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_http_js_module" link="/en/docs/http/ngx_http_js_module.html" lang="en" - rev="6"> + rev="7"> <section id="summary"> @@ -23,7 +23,7 @@ a subset of the JavaScript language. <para> This module is not built by default, it should be compiled with the nginScript module using the -<literal>--add_module</literal> configuration parameter: +<literal>--add-module</literal> configuration parameter: <example> ./configure --add-module=<value>path-to-njs</value>/nginx </example> @@ -36,7 +36,7 @@ hg clone http://hg.nginx.org/njs This module can also be built as <link doc="../ngx_core_module.xml" id="load_module">dynamic</link>: <example> -./configure --add-dynamic_module=<value>path-to-njs</value>/nginx +./configure --add-dynamic-module=<value>path-to-njs</value>/nginx </example> </para>
--- a/xml/en/docs/njs_about.xml +++ b/xml/en/docs/njs_about.xml @@ -9,7 +9,7 @@ <article name="About nginScript" link="/en/docs/njs_about.html" lang="en" - rev="10"> + rev="11"> <section id="summary"> @@ -268,14 +268,14 @@ with nginScript sources can be cloned wi hg clone http://hg.nginx.org/njs </example> Then the modules should be compiled using the -<literal>--add_module</literal> configuration parameter: +<literal>--add-module</literal> configuration parameter: <example> ./configure --add-module=<value>path-to-njs</value>/nginx </example> The modules can also be built as <link doc="ngx_core_module.xml" id="load_module">dynamic</link>: <example> -./configure --add-dynamic_module=<value>path-to-njs</value>/nginx +./configure --add-dynamic-module=<value>path-to-njs</value>/nginx </example> </para>
--- a/xml/en/docs/stream/ngx_stream_js_module.xml +++ b/xml/en/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_js_module" link="/en/docs/stream/ngx_stream_js_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -22,7 +22,7 @@ a subset of the JavaScript language. <para> This module is not built by default, it should be compiled with the nginScript module using the -<literal>--add_module</literal> configuration parameter: +<literal>--add-module</literal> configuration parameter: <example> ./configure --add-module=<value>path-to-njs</value>/nginx </example> @@ -35,7 +35,7 @@ hg clone http://hg.nginx.org/njs This module can also be built as <link doc="../ngx_core_module.xml" id="load_module">dynamic</link>: <example> -./configure --add-dynamic_module=<value>path-to-njs</value>/nginx +./configure --add-dynamic-module=<value>path-to-njs</value>/nginx </example> </para>
--- a/xml/ru/docs/http/ngx_http_js_module.xml +++ b/xml/ru/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_js_module" link="/ru/docs/http/ngx_http_js_module.html" lang="ru" - rev="6"> + rev="7"> <section id="summary"> @@ -23,7 +23,7 @@ <para> По умолчанию этот модуль не собирается, его необходимо собрать с модулем nginScript с помощью конфигурационного параметра -<literal>--add_module</literal>: +<literal>--add-module</literal>: <example> ./configure --add-module=<value>path-to-njs</value>/nginx </example> @@ -36,7 +36,7 @@ hg clone http://hg.nginx.org/njs Модуль также можно собрать как <link doc="../ngx_core_module.xml" id="load_module">динамический</link>: <example> -./configure --add-dynamic_module=<value>path-to-njs</value>/nginx +./configure --add-dynamic-module=<value>path-to-njs</value>/nginx </example> </para>
--- a/xml/ru/docs/njs_about.xml +++ b/xml/ru/docs/njs_about.xml @@ -9,7 +9,7 @@ <article name="Информация о nginScript" link="/ru/docs/njs_about.html" lang="ru" - rev="10"> + rev="11"> <section id="summary"> @@ -268,14 +268,14 @@ nginScript hg clone http://hg.nginx.org/njs </example> Затем модули необходимо собрать с помощью -конфигурационного параметра <literal>--add_module</literal>: +конфигурационного параметра <literal>--add-module</literal>: <example> ./configure --add-module=<value>path-to-njs</value>/nginx </example> Модули также можно собрать как <link doc="ngx_core_module.xml" id="load_module">динамические</link>: <example> -./configure --add-dynamic_module=<value>path-to-njs</value>/nginx +./configure --add-dynamic-module=<value>path-to-njs</value>/nginx </example> </para>
--- a/xml/ru/docs/stream/ngx_stream_js_module.xml +++ b/xml/ru/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ <module name="Модуль ngx_stream_js_module" link="/ru/docs/stream/ngx_stream_js_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -22,7 +22,7 @@ <para> По умолчанию этот модуль не собирается, его необходимо собрать с модулем nginScript с помощью конфигурационного параметра -<literal>--add_module</literal>: +<literal>--add-module</literal>: <example> ./configure --add-module=<value>path-to-njs</value>/nginx </example> @@ -35,7 +35,7 @@ hg clone http://hg.nginx.org/njs Модуль также можно собрать как <link doc="../ngx_core_module.xml" id="load_module">динамический</link>: <example> -./configure --add-dynamic_module=<value>path-to-njs</value>/nginx +./configure --add-dynamic-module=<value>path-to-njs</value>/nginx </example> </para>