Skip to content

Commit b54745e

Browse files
authored
Merge pull request #170 from nginx/issue-169
fix: fix nav subsections
2 parents c05c130 + f283a05 commit b54745e

File tree

6 files changed

+60
-61
lines changed

6 files changed

+60
-61
lines changed

source/configuration.rst renamed to source/configuration/index.rst

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:og:description: Create and maintain a working configuration using
33
listeners, routes, apps, and upstreams.
44

5-
.. include:: include/replace.rst
5+
.. include:: ../include/replace.rst
66

77
#############
88
Configuration
@@ -2228,7 +2228,7 @@ affects the resulting response headers.
22282228
The values support
22292229
:ref:`variables <configuration-variables>`
22302230
and
2231-
:doc:`template literals <scripting>`,
2231+
:doc:`template literals <../scripting>`,
22322232
which enables arbitrary runtime logic:
22332233
22342234
.. code-block:: json
@@ -2441,7 +2441,7 @@ A **share**-based action provides the following options:
24412441
<installation-precomp-pkgs>`,
24422442
the process runs as **unit:unit**;
24432443
for details of other installation methods,
2444-
see :doc:`installation`.
2444+
see :doc:`../installation`.
24452445
24462446
Consider the following configuration:
24472447
@@ -3988,7 +3988,7 @@ and rebuild the app.
39883988
# yum install unit-devel
39893989
39903990
- If you installed Unit from
3991-
:doc:`source <howto/source>`,
3991+
:doc:`source <../howto/source>`,
39923992
install the include files and libraries:
39933993
39943994
.. code-block:: console
@@ -4101,7 +4101,7 @@ Example:
41014101
41024102
For Go-based examples,
41034103
see our
4104-
:doc:`howto/grafana`
4104+
:doc:`../howto/grafana`
41054105
howto or a basic
41064106
:ref:`sample <sample-go>`.
41074107
@@ -4191,10 +4191,10 @@ Example:
41914191
41924192
For Java-based examples,
41934193
see our
4194-
:doc:`howto/jira`,
4195-
:doc:`howto/opengrok`,
4194+
:doc:`../howto/jira`,
4195+
:doc:`../howto/opengrok`,
41964196
and
4197-
:doc:`howto/springboot`
4197+
:doc:`../howto/springboot`
41984198
howtos or a basic
41994199
:ref:`sample <sample-java>`.
42004200
@@ -4343,9 +4343,9 @@ your app only needs to replace the default **websocket**:
43434343
43444344
For Node.js-based examples,
43454345
see our
4346-
:doc:`howto/apollo`,
4347-
:doc:`howto/express`,
4348-
:doc:`howto/koa`,
4346+
:doc:`../howto/apollo`,
4347+
:doc:`../howto/express`,
4348+
:doc:`../howto/koa`,
43494349
and
43504350
:ref:`Docker <docker-apps>`
43514351
howtos or a basic
@@ -4412,9 +4412,9 @@ Example:
44124412
44134413
For Perl-based examples of Perl,
44144414
see our
4415-
:doc:`howto/bugzilla`
4415+
:doc:`../howto/bugzilla`
44164416
and
4417-
:doc:`howto/catalyst`
4417+
:doc:`../howto/catalyst`
44184418
howtos or a basic
44194419
:ref:`sample <sample-perl>`.
44204420
@@ -4665,23 +4665,23 @@ are shared by all targets within the app.
46654665
46664666
For PHP-based examples,
46674667
see our
4668-
:doc:`howto/cakephp`,
4669-
:doc:`howto/codeigniter`,
4670-
:doc:`howto/dokuwiki`,
4671-
:doc:`howto/drupal`,
4672-
:doc:`howto/laravel`,
4673-
:doc:`howto/lumen`,
4674-
:doc:`howto/matomo`,
4675-
:doc:`howto/mediawiki`,
4676-
:doc:`howto/modx`,
4677-
:doc:`howto/nextcloud`,
4678-
:doc:`howto/phpbb`,
4679-
:doc:`howto/phpmyadmin`,
4680-
:doc:`howto/roundcube`,
4681-
:doc:`howto/symfony`,
4682-
:doc:`howto/wordpress`,
4668+
:doc:`../howto/cakephp`,
4669+
:doc:`../howto/codeigniter`,
4670+
:doc:`../howto/dokuwiki`,
4671+
:doc:`../howto/drupal`,
4672+
:doc:`../howto/laravel`,
4673+
:doc:`../howto/lumen`,
4674+
:doc:`../howto/matomo`,
4675+
:doc:`../howto/mediawiki`,
4676+
:doc:`../howto/modx`,
4677+
:doc:`../howto/nextcloud`,
4678+
:doc:`../howto/phpbb`,
4679+
:doc:`../howto/phpmyadmin`,
4680+
:doc:`../howto/roundcube`,
4681+
:doc:`../howto/symfony`,
4682+
:doc:`../howto/wordpress`,
46834683
and
4684-
:doc:`howto/yii`
4684+
:doc:`../howto/yii`
46854685
howtos or a basic
46864686
:ref:`sample <sample-php>`.
46874687
@@ -4972,27 +4972,27 @@ are shared by all targets in the app.
49724972
49734973
For Python-based examples,
49744974
see our
4975-
:doc:`howto/bottle`,
4976-
:doc:`howto/datasette`,
4977-
:doc:`howto/django`,
4978-
:doc:`howto/djangochannels`,
4979-
:doc:`howto/falcon`,
4980-
:doc:`howto/fastapi`,
4981-
:doc:`howto/flask`,
4982-
:doc:`howto/guillotina`,
4983-
:doc:`howto/mailman`,
4984-
:doc:`howto/mercurial`,
4985-
:doc:`howto/moin`,
4986-
:doc:`howto/plone`,
4987-
:doc:`howto/pyramid`,
4988-
:doc:`howto/quart`,
4989-
:doc:`howto/responder`,
4990-
:doc:`howto/reviewboard`,
4991-
:doc:`howto/sanic`,
4992-
:doc:`howto/starlette`,
4993-
:doc:`howto/trac`,
4975+
:doc:`../howto/bottle`,
4976+
:doc:`../howto/datasette`,
4977+
:doc:`../howto/django`,
4978+
:doc:`../howto/djangochannels`,
4979+
:doc:`../howto/falcon`,
4980+
:doc:`../howto/fastapi`,
4981+
:doc:`../howto/flask`,
4982+
:doc:`../howto/guillotina`,
4983+
:doc:`../howto/mailman`,
4984+
:doc:`../howto/mercurial`,
4985+
:doc:`../howto/moin`,
4986+
:doc:`../howto/plone`,
4987+
:doc:`../howto/pyramid`,
4988+
:doc:`../howto/quart`,
4989+
:doc:`../howto/responder`,
4990+
:doc:`../howto/reviewboard`,
4991+
:doc:`../howto/sanic`,
4992+
:doc:`../howto/starlette`,
4993+
:doc:`../howto/trac`,
49944994
and
4995-
:doc:`howto/zope`
4995+
:doc:`../howto/zope`
49964996
howtos or a basic
49974997
:ref:`sample <sample-python>`.
49984998
@@ -5110,9 +5110,9 @@ to your app.
51105110
51115111
For Ruby-based examples,
51125112
see our
5113-
:doc:`howto/rails`
5113+
:doc:`../howto/rails`
51145114
and
5115-
:doc:`howto/redmine`
5115+
:doc:`../howto/redmine`
51165116
howtos or a basic
51175117
:ref:`sample <sample-ruby>`.
51185118
@@ -5366,9 +5366,9 @@ that stores instance-wide preferences.
53665366
- String or an array of strings;
53675367
lists enabled
53685368
:program:`njs`
5369-
:doc:`modules <scripting>`,
5369+
:doc:`modules <../scripting>`,
53705370
uploaded
5371-
via the :doc:`control API <controlapi>`.
5371+
via the :doc:`control API <../controlapi>`.
53725372
53735373
In turn, the **http** option exposes the following settings:
53745374
@@ -5591,7 +5591,7 @@ is formed *after* the request has been handled.
55915591
Besides
55925592
:ref:`built-in variables <configuration-variables-native>`,
55935593
you can use :program:`njs`
5594-
:doc:`templates <scripting>`
5594+
:doc:`templates <../scripting>`
55955595
to define the log format:
55965596
55975597
.. code-block:: json

source/contents.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
news
77
installation
88
controlapi
9-
configuration
9+
configuration/index
1010
scripting
1111
certificates
1212
statusapi
13-
unitctl
1413
howto/index
1514
troubleshooting
1615
community

source/controlapi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ that comprises four primary options:
2828

2929
* - **/config**
3030
- Used for general
31-
:doc:`configuration management <configuration>`.
31+
:doc:`configuration management <configuration/index>`.
3232

3333
* - **/control**
3434
- Queried for

source/howto/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ notorious **777**, instead assigning them on a need-to-know basis.
366366
# find :nxt_ph:`/path/to/app/ <Path to the application directory; use a real path in your command>` -type f -exec :nxt_hint:`chmod <Add read and execute rights to app code for user and group>` u=rx,g=rx,o= {} \;
367367
# find :nxt_ph:`/path/to/static/app/files/ <Can be outside the app directory tree; use a real path in your command>` -type f -exec :nxt_hint:`chmod <Add read rights to static files for user and group>` u=r,g=r,o= {} \;
368368
369-
#. To run a single app, :doc:`configure <../configuration>` Unit as follows:
369+
#. To run a single app, :doc:`configure <../configuration/index>` Unit as follows:
370370

371371
.. code-block:: json
372372
@@ -397,7 +397,7 @@ notorious **777**, instead assigning them on a need-to-know basis.
397397
}
398398
}
399399
400-
#. To run several apps side by side, :doc:`configure <../configuration>`
400+
#. To run several apps side by side, :doc:`configure <../configuration/index>`
401401
them with appropriate user and group names. The following
402402
configuration distinguishes apps based on the request URI, but you can
403403
implement another scheme such as different listeners:

source/news/2019/unit-1.8.0-released.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ applications, and leave us feedback. If you're a Jira user, please use this
4242
HowTo: https://unit.nginx.org/howto/jira/
4343

4444
More documentation is available in :doc:`../../installation` and
45-
:doc:`../../configuration` sections.
45+
:doc:`../../configuration/index` sections.
4646

4747
We intend to use our open-development process to refine and improve the
4848
software and to eventually test and certify the software's compatibility

source/scripting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ JavaScript expressions, including function calls, in the form of
88
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals>`__
99
written in
1010
`NGINX JavaScript <https://nginx.org/en/docs/njs/>`__ ( :program:`njs` ).
11-
They can be used with these :doc:`configuration <configuration>` options:
11+
They can be used with these :doc:`configuration <configuration/index>` options:
1212

1313
- **pass** in
1414
:ref:`listeners <configuration-listeners>`

0 commit comments

Comments
 (0)