and moving a notebook stored under ./notebook/my_notebook.ipynb to a newly created ./notebook/subdir directory (so that the destination would be ./notebook/subdir/my_notebook.ipynb) fails when subdir is not already present under ./scripts/.
The proposed change makes the process transparent to the user, by lazily creating the necessary "folder tree" in the mirrored destination.
Using a global configuration like this one:
and moving a notebook stored under
./notebook/my_notebook.ipynb
to a newly created./notebook/subdir
directory (so that the destination would be./notebook/subdir/my_notebook.ipynb
) fails whensubdir
is not already present under./scripts/
.The proposed change makes the process transparent to the user, by lazily creating the necessary "folder tree" in the mirrored destination.
Issue: https://github.com/mwouts/jupytext/issues/1059