Fix formatting, etc in Settings documentation

This commit is contained in:
Justin Mayer 2019-09-21 10:57:35 -06:00
commit 7f4e614bb8

View file

@ -983,7 +983,7 @@ By default, pages subsequent to ``.../foo.html`` are created as
``.../foo2.html``, etc. The ``PAGINATION_PATTERNS`` setting can be used to ``.../foo2.html``, etc. The ``PAGINATION_PATTERNS`` setting can be used to
change this. It takes a sequence of triples, where each triple consists of:: change this. It takes a sequence of triples, where each triple consists of::
(minimum_page, page_url, page_save_as,) (minimum_page, page_url, page_save_as,)
For ``page_url`` and ``page_save_as``, you may use a number of variables. For ``page_url`` and ``page_save_as``, you may use a number of variables.
``{url}`` and ``{save_as}`` correspond respectively to the ``*_URL`` and ``{url}`` and ``{save_as}`` correspond respectively to the ``*_URL`` and
@ -997,7 +997,7 @@ subsequent pages at ``.../page/2/`` etc, you could set ``PAGINATION_PATTERNS``
as follows:: as follows::
PAGINATION_PATTERNS = ( PAGINATION_PATTERNS = (
(1, '{url}', '{save_as}`, (1, '{url}', '{save_as}',
(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'), (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
) )
@ -1238,7 +1238,7 @@ ignored. Simply populate the list with the log messages you want to hide, and
they will be filtered out. they will be filtered out.
For example:: For example::
import logging import logging
LOG_FILTER = [(logging.WARN, 'TAG_SAVE_AS is set to False')] LOG_FILTER = [(logging.WARN, 'TAG_SAVE_AS is set to False')]