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

@ -45,7 +45,7 @@ Testing
- fix tornado worker (:issue:`1154`)
19.4.0 / 2015/11/20
19.4.0 / 2015/11/20
===================
Core
@ -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

@ -14,9 +14,9 @@ Core & Logging
- improvement of the binary upgrade behaviour using USR2: remove file locking (:issue:`1270`)
- add the ``--capture-output`` setting to capture stdout/stderr tot the log
file (:issue:`1271`)
file (:issue:`1271`)
- Allow disabling ``sendfile()`` via the ``SENDFILE`` environment variable
(:issue:`1252`)
(:issue:`1252`)
- fix reload under pycharm (:issue:`1129`)
Workers
@ -24,7 +24,7 @@ Workers
- fix: make sure to remove the signal from the worker pipe (:issue:`1269`)
- fix: **gthread** worker, handle removed socket in the select loop
(:issue:`1258`)
(:issue:`1258`)
19.5.0 / 2016/05/10
===================

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