Skip to content

Commit

Permalink
Merge pull request #839 from rlabbe/master
Browse files Browse the repository at this point in the history
Document --inplace command line flag.
  • Loading branch information
blink1073 committed Aug 29, 2018
2 parents 4d9fe03 + 8f58ed4 commit 6100503
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,12 @@ Notebook and preprocessors
jupyter nbconvert --to notebook --execute mynotebook.ipynb

This will open the notebook, execute it, capture new output, and save the
result in :file:`mynotebook.nbconvert.ipynb`. By default, ``nbconvert`` will
abort conversion if any exceptions occur during execution of a cell. If you
specify ``--allow-errors`` (in addition to the ``--execute`` flag) then
conversion will continue and the output from any exception will be included
in the cell output.
result in :file:`mynotebook.nbconvert.ipynb`. Specifying ``--inplace`` will
overwrite the input file instead of writing a new file. By default,
``nbconvert`` will abort conversion if any exceptions occur during
execution of a cell. If you specify ``--allow-errors`` (in addition to the
`--execute`` flag) then conversion will continue and the output from any
exception will be included in the cell output.

The following command::

Expand Down

0 comments on commit 6100503

Please sign in to comment.