changeset 2804:8831b3d9f332

Moved njs Examples to GitHub.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 24 Nov 2021 12:06:27 +0000
parents 27d8865dfb5b
children 6fa0e92f6607
files xml/en/GNUmakefile xml/en/docs/http/ngx_http_keyval_module.xml xml/en/docs/njs/index.xml xml/ru/GNUmakefile xml/ru/docs/njs/index.xml
diffstat 5 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/GNUmakefile
+++ b/xml/en/GNUmakefile
@@ -128,7 +128,6 @@ REFS =									\
 		njs/changes						\
 		njs/cli							\
 		njs/compatibility					\
-		njs/examples						\
 		njs/install						\
 		njs/reference						\
 		njs/node_modules					\
--- a/xml/en/docs/http/ngx_http_keyval_module.xml
+++ b/xml/en/docs/http/ngx_http_keyval_module.xml
@@ -18,7 +18,7 @@ The <literal>ngx_http_keyval_module</lit
 with values taken from key-value pairs managed by the
 <link doc="ngx_http_api_module.xml" id="http_keyvals_">API</link>
 or a variable (1.15.10) that can also be set with
-<link doc="../njs/examples.xml" id="requests">njs</link>.
+<link url="https://github.com/nginx/njs-examples/#logging-the-number-of-requests-per-client-http-logging-num-requests">njs</link>.
 </para>
 
 <para>
--- a/xml/en/docs/njs/index.xml
+++ b/xml/en/docs/njs/index.xml
@@ -9,7 +9,7 @@
 <article name="njs scripting language"
         link="/en/docs/njs/index.html"
         lang="en"
-        rev="31"
+        rev="32"
         toc="no">
 
 <section id="summary">
@@ -46,7 +46,7 @@ The compliance is still <link doc="compa
 </listitem>
 
 <listitem>
-<link doc="examples.xml"/>
+<link url="https://github.com/nginx/njs-examples/">Examples</link>
 </listitem>
 
 <listitem>
@@ -116,7 +116,7 @@ Writing flexible asynchronous content ha
 </listitem>
 
 </list>
-See <link doc="examples.xml">examples</link> and
+See <link url="https://github.com/nginx/njs-examples/">examples</link> and
 <link url="https://www.nginx.com/blog/tag/nginx-javascript-module/">blog posts</link>
 for more njs use cases.
 </para>
--- a/xml/ru/GNUmakefile
+++ b/xml/ru/GNUmakefile
@@ -111,7 +111,6 @@ REFS =									\
 		njs/index						\
 		njs/cli							\
 		njs/compatibility					\
-		njs/examples						\
 		njs/install						\
 		njs/node_modules					\
 		njs/typescript						\
--- a/xml/ru/docs/njs/index.xml
+++ b/xml/ru/docs/njs/index.xml
@@ -9,7 +9,7 @@
 <article name="Сценарный язык njs"
         link="/ru/docs/njs/index.html"
         lang="ru"
-        rev="31"
+        rev="32"
         toc="no">
 
 <section id="summary">
@@ -47,7 +47,7 @@ njs совместим с
 </listitem>
 
 <listitem>
-<link doc="examples.xml"/>
+<link url="https://github.com/nginx/njs-examples/">Примеры использования</link>
 </listitem>
 
 <listitem>
@@ -118,7 +118,7 @@ ngx_stream_js_module</link>
 
 </list>
 Подробнее о сценариях использования
-см. в <link doc="examples.xml">примерах</link>
+см. в <link url="https://github.com/nginx/njs-examples/">примерах</link>
 и <link url="https://www.nginx.com/blog/tag/nginx-javascript-module/">блогпостах</link>.
 </para>