How to disable the toolbar buttons of nbdime with the config file?

Hello,
I am currently trying to find out how to deactivate the two buttons in the toolbar for nbdime.
buttons_toolbar

The official documentation does not say anything about this, but the source code states that the two values add_checkpoints_toolbar_button and add_git_toolbar_button can be set to false.

My problem is that I can’t find the exact structure of the config file.
I have currently tried the following:

{
  "nbdime": {
    "add_checkpoints_toolbar_button": false,
    "add_git_toolbar_button": false
  }
}

I stored these in the folder /opt/conda/share/jupyter/nbextensions/nbdime as the file nbdime_config.json.
Unfortunately this did not work.
Do any of you have an idea what the config should look like?

I hope that you can help me further.

~Sincerely

you could run jupyter labextension disable nbdime-jupyterlab to disable the labextension while still having the cli functionality of nbdime.

1 Like