Open dstndstn opened 1 year ago
I did eventually figure out that I can create the directory & file
~/.config/nbdev/settings.ini
with contents
[DEFAULT]
nbs_path =
to change this setting. But if the goal is to be broadly useful, I would argue this should already be the default. And if that's not desired in your broader nbdev context, then I feel the git-friendly-Jupyter page ought to be updated to mention this. Thanks.
Worth noting that the current versions of nb_test
shows a similar issue. I was able to solve another way by just placing an empty nbs
folder in the top directory of my project. Regardless, as it stands right now, at least some of the functions listed in modular_nbdev don't seem to work on a non-nbdev project without additional steps that aren't listed in the documentation.
Hi,
I'm new to nbdev, and trying to use just the hooks to have notebooks play nice with Git.
I wanted to check out the merge-conflict handling so I generated a conflict and did a pull, but
nbdev_trust
fails as shown here:where my repository contains just:
This seems to be coming from the default config; running
nbdev_trust
in pdb, I see:I don't even have a
~/.config/nbdev/
directory, so it's not immediately obvious where to change this. (Yeah,This web page suggests that the
nbdev
hooks are supposed to be usable for "any git repo, including those that don’t use the broader nbdev system.".... but this config default seems to break that promise, and isn't mentioned in the "Configuring nbdev hooks" section. https://nbdev.fast.ai/tutorials/git_friendly_jupyter.html