changeset 2188:523dc4cc8745

Updated installation procedure in njs modules.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 Jun 2018 20:43:33 +0300
parents ed905ab118c7
children 23cfb62121d1
files xml/en/docs/http/ngx_http_js_module.xml xml/en/docs/stream/ngx_stream_js_module.xml xml/ru/docs/http/ngx_http_js_module.xml xml/ru/docs/stream/ngx_stream_js_module.xml
diffstat 4 files changed, 16 insertions(+), 72 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="12">
+        rev="13">
 
 <section id="summary">
 
@@ -21,23 +21,9 @@ a subset of the JavaScript language.
 </para>
 
 <para>
-This module is not built by default, it should be compiled with
-the njs module using the
-<literal>--add-module</literal> configuration parameter:
-<example>
-./configure --add-module=<value>path-to-njs</value>/nginx
-</example>
-The <link url="http://hg.nginx.org/njs">repository</link>
-with the njs module can be cloned with the following command
-(requires <link url="https://www.mercurial-scm.org">Mercurial</link> client):
-<example>
-hg clone http://hg.nginx.org/njs
-</example>
-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
-</example>
+This module is not built by default.
+Download and install instructions are available
+<link doc="../njs_about.xml" id="install">here</link>.
 </para>
 
 </section>
--- 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="11">
+        rev="12">
 
 <section id="summary">
 
@@ -20,23 +20,9 @@ a subset of the JavaScript language.
 </para>
 
 <para>
-This module is not built by default, it should be compiled with
-the njs module using the
-<literal>--add-module</literal> configuration parameter:
-<example>
-./configure --add-module=<value>path-to-njs</value>/nginx
-</example>
-The <link url="http://hg.nginx.org/njs">repository</link>
-with the njs module can be cloned with the following command
-(requires <link url="https://www.mercurial-scm.org">Mercurial</link> client):
-<example>
-hg clone http://hg.nginx.org/njs
-</example>
-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
-</example>
+This module is not built by default.
+Download and install instructions are available
+<link doc="../njs_about.xml" id="install">here</link>.
 </para>
 
 </section>
--- 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="12">
+        rev="13">
 
 <section id="summary">
 
@@ -21,23 +21,9 @@
 </para>
 
 <para>
-По умолчанию этот модуль не собирается, его необходимо собрать с
-модулем njs с помощью конфигурационного параметра
-<literal>--add-module</literal>:
-<example>
-./configure --add-module=<value>path-to-njs</value>/nginx
-</example>
-<link url="http://hg.nginx.org/njs">Репозиторий</link>
-модуля njs можно клонировать следующей командой
-(необходим клиент <link url="https://www.mercurial-scm.org">Mercurial</link>):
-<example>
-hg clone http://hg.nginx.org/njs
-</example>
-Модуль также можно собрать как
-<link doc="../ngx_core_module.xml" id="load_module">динамический</link>:
-<example>
-./configure --add-dynamic-module=<value>path-to-njs</value>/nginx
-</example>
+По умолчанию этот модуль не собирается.
+Инструкция по сборке и установке доступны
+<link doc="../njs_about.xml" id="install">здесь</link>.
 </para>
 
 </section>
--- 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="11">
+        rev="12">
 
 <section id="summary">
 
@@ -20,23 +20,9 @@
 </para>
 
 <para>
-По умолчанию этот модуль не собирается, его необходимо собрать с
-модулем njs с помощью конфигурационного параметра
-<literal>--add-module</literal>:
-<example>
-./configure --add-module=<value>path-to-njs</value>/nginx
-</example>
-<link url="http://hg.nginx.org/njs">Репозиторий</link>
-модуля njs можно клонировать следующей командой
-(необходим клиент <link url="https://www.mercurial-scm.org">Mercurial</link>):
-<example>
-hg clone http://hg.nginx.org/njs
-</example>
-Модуль также можно собрать как
-<link doc="../ngx_core_module.xml" id="load_module">динамический</link>:
-<example>
-./configure --add-dynamic-module=<value>path-to-njs</value>/nginx
-</example>
+По умолчанию этот модуль не собирается.
+Инструкция по сборке и установке доступны
+<link doc="../njs_about.xml" id="install">здесь</link>.
 </para>
 
 </section>