Mercurial > libervia-backend
comparison doc/jp/blog.rst @ 3177:f4914ce9d47d
jp (blog/edit): added `--no-publish` argument.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 18 Feb 2020 18:17:18 +0100 |
parents | 72583524cfd3 |
children |
comparison
equal
deleted
inserted
replaced
3176:4b5c77673015 | 3177:f4914ce9d47d |
---|---|
74 the *metadata*. You can also specify editor and arguments in ``sat.conf``, see | 74 the *metadata*. You can also specify editor and arguments in ``sat.conf``, see |
75 `configuration <edit_conf_>`_ below | 75 `configuration <edit_conf_>`_ below |
76 | 76 |
77 If you don't change anything or publish an empty blog post, the edition will be cancelled. | 77 If you don't change anything or publish an empty blog post, the edition will be cancelled. |
78 | 78 |
79 In the metadata (see `below <edit_metadata_>`_ for details), you can use | 79 In the metadata (see `below <edit_metadata_>`_ for details), you can use ``"publish": |
80 ``"publish": false`` to forbid the publication. In this case, when you'll save | 80 false`` to forbid the publication (or set it with ``--no-publish argument``). In this |
81 your modification and quit your editor, the blog post will not be published but | 81 case, when you'll save your modification and quit your editor, the blog post will not be |
82 saved locally in a draft. To continue your work later, just start your edition with the | 82 published but saved locally in a draft. To continue your work later, just start your |
83 ``-D, --current`` option like this:: | 83 edition with the ``-D, --current`` option like this:: |
84 | 84 |
85 $ jp blog edit -D | 85 $ jp blog edit -D |
86 | 86 |
87 Note that item location must be re-specified if it has been used to create the draft, so | 87 Note that item location must be re-specified if it has been used to create the draft, so |
88 you'll have to reproduce the arguments to specify service, node or item (or the URL), | 88 you'll have to reproduce the arguments to specify service, node or item (or the URL), |