Mercurial > hg > nginx-site
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 Wed Nov 24 12:01:40 2021 +0000 +++ b/xml/en/GNUmakefile Wed Nov 24 12:06:27 2021 +0000 @@ -128,7 +128,6 @@ 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 Wed Nov 24 12:01:40 2021 +0000 +++ b/xml/en/docs/http/ngx_http_keyval_module.xml Wed Nov 24 12:06:27 2021 +0000 @@ -18,7 +18,7 @@ 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 Wed Nov 24 12:01:40 2021 +0000 +++ b/xml/en/docs/njs/index.xml Wed Nov 24 12:06:27 2021 +0000 @@ -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 @@ </listitem> <listitem> -<link doc="examples.xml"/> +<link url="https://github.com/nginx/njs-examples/">Examples</link> </listitem> <listitem> @@ -116,7 +116,7 @@ </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 Wed Nov 24 12:01:40 2021 +0000 +++ b/xml/ru/GNUmakefile Wed Nov 24 12:06:27 2021 +0000 @@ -111,7 +111,6 @@ njs/index \ njs/cli \ njs/compatibility \ - njs/examples \ njs/install \ njs/node_modules \ njs/typescript \
--- a/xml/ru/docs/njs/index.xml Wed Nov 24 12:01:40 2021 +0000 +++ b/xml/ru/docs/njs/index.xml Wed Nov 24 12:06:27 2021 +0000 @@ -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 @@ </listitem> <listitem> -<link doc="examples.xml"/> +<link url="https://github.com/nginx/njs-examples/">Примеры использования</link> </listitem> <listitem> @@ -118,7 +118,7 @@ </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>