-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate Entries in Download as Menu #938
Comments
I experienced the same behavior when I upgraded from nbconvert 5.3.1 to 5.4 (and that is the only thing I changed in my environment). |
Dev note: Jupyter notebook added support for custom exporters in the menu here. This added a |
Hmm @t-makaro is right about the cause, I'm not sure what the intended pattern for UIs is supposed to be here. @mpacer @SylvainCorlay do either of you know those expectations better / can suggest the best change to make here? |
So this seems to be an issue on the notebook side rather than on nbconvert's side. Notebook has hardcoded values back in the days when nbconvert didn't make these as easily visible. The template that has the hardcoding is here: The logic for getting exporters lives in The jinja rendering that populates that template with the exporter names and display names is in the same file as the |
Note this doesn't really solve the problem for 3rd party registered exporters; if they inherit from the existing nbconvert exporters, they will have the same See jfbercher/jupyter_latex_envs#44 as an example of how that can be fixed |
This is a bit of a hack (define |
Or, on the notebook side the |
After updating to the latest version of nbconvert I'm seeing duplicate entries for the exporters in the Download as menu. Any way I can remove or manage these? I'm running JupyterHub via Anaconda 3.
The text was updated successfully, but these errors were encountered: