Skip to content

Commit

Permalink
Add documentation for JSON format support in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Fievet committed Aug 20, 2016
1 parent dff0dc5 commit 2876795
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
v.next (unreleased)
-------------------

* Added support for JSON format in command-line based catalog generation.
Thanks @rarguelloF.
* Added support for Django 1.9 and 1.10. This change also drops support for
Django 1.4, 1.5, 1.6 and 1.7 as they are not officially supported by the DSF
anymore (#18).
Expand Down
6 changes: 6 additions & 0 deletions docs/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ Some commonly used options are:
of :attr:`~django.conf.settings.STATICI18N_ROOT` and
:attr:`~django.conf.settings.STATICI18N_OUTPUT_DIR`.

``-f OUTPUT_FORMAT`` or ``--format=OUTPUT_FORMAT``
Format of the output catalog. Options are:
* ``js``,
* ``json``.
Defaults to ``js``.

For a full list of options, refer to the ``compilejsi18n`` management command
help by running::

Expand Down

0 comments on commit 2876795

Please sign in to comment.