Fix reST format in docs

This commit is contained in:
Takuya Noguchi 2017-09-17 11:51:02 +09:00 committed by Berker Peksag
parent 4c3ee6f4ec
commit 2bcec7fd0c
4 changed files with 15 additions and 16 deletions

View File

@ -51,6 +51,8 @@ def fmt_setting(s):
val = inspect.getsource(s.default)
val = "\n".join(" %s" % l for l in val.splitlines())
val = " ::\n\n" + val
elif s.default == '':
val = "``(empty string)``"
else:
val = "``%s``" % s.default

View File

@ -140,9 +140,6 @@ Misc
19.3.0 / 2015/03/06
===================
Changes
-------
Core
++++
@ -167,9 +164,6 @@ Documentation
19.2.1 / 2015/02/4
==================
Changes
-------
Logging
+++++++
@ -188,9 +182,6 @@ Documentation
19.2 / 2015/01/30
=================
Changes
-------
Core
++++

View File

@ -150,6 +150,11 @@ If it is not defined, the default is ``1``.
This setting only affects the Gthread worker type.
.. note::
If you try to use the ``sync`` worker type and set the ``threads``
setting to more than 1, the ``gthread`` worker type will be used
instead.
.. _worker-connections:
worker_connections
@ -618,8 +623,8 @@ The Access log file to write to.
.. _disable-redirect-access-to-syslog:
disable-redirect-access-to-syslog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
disable_redirect_access_to_syslog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* ``--disable-redirect-access-to-syslog``
* ``False``
@ -826,7 +831,7 @@ statsd_prefix
~~~~~~~~~~~~~
* ``--statsd-prefix STATSD_PREFIX``
* ````
* ``(empty string)``
Prefix to use when emitting statsd metrics (a trailing ``.`` is added,
if not provided).
@ -1271,3 +1276,4 @@ The variables are passed to the the PasteDeploy entrypoint. Example::
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
.. versionadded:: 19.7