Clarify FEED_EXPORT_INDENT section

This commit is contained in:
Paul Tremberth 2017-05-12 17:26:17 +02:00
parent 25535dba9c
commit 3a0a86ed31
1 changed files with 4 additions and 3 deletions

View File

@ -276,11 +276,12 @@ Default: ``0``
Amount of spaces used to indent the output on each level. If ``FEED_EXPORT_INDENT``
is a non-negative integer, then array elements and object members will be pretty-printed
with that indent level. An indent level of ``0``, or negative, will put each item on a new line.
``None`` selects the most compact representation
with that indent level. An indent level of ``0`` (the default), or negative,
will put each item on a new line. ``None`` selects the most compact representation.
Currently implemented only by :class:`~scrapy.exporters.JsonItemExporter`
and :class:`~scrapy.exporters.XmlItemExporter`
and :class:`~scrapy.exporters.XmlItemExporter`, i.e. when you are exporting
to ``.json`` or ``.xml``.
.. setting:: FEED_STORE_EMPTY