-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Notebook 7.0.0 ignores kernel's help_links property #6963
Comments
Hi @culler thank you for submitting this issue! Do you see this in JupyterLab 4? |
Thanks for responding @RRosio. No, I do not see this problem with jupyterlab-4.0.2 installed from pypi. It takes a few seconds, but the Help menu gets populated with all of the links provided by the SageMath kernel. I am not at all sure this is relevant, but in the index.tsx file for the Jupyter Lab help-extension I see the following code. The part after the comment "// Generate a cache of the kernel help links", does not seem to have an analog in the notebook source tree:
|
Thanks @culler for reporting and trying Notebook 7. Maybe it would just be a matter to include the |
Maybe so. I don't know. But, if so, I would hope that the extension could be enabled by default, or by the kernel, or by somehow configuring the notebook package in advance before distributing it with the SageMath application. It seems less than optimal to expect a new user to know that getting help when using the SageMath kernel requires running a separate enable command for such an extension. |
For reference I opened #6968 which should help fix this issue. But we'll likely need jupyterlab/jupyterlab#14837 to be merged and released first in JupyterLab. |
Thank you!!!! |
I was wondering if this could be finished up now. It looks like the jupyterlab dependency has been released. |
Good point, thanks @culler for the ping 👍 |
Actually we still need to wait for this repo to update to the JupyterLab 4.1 packages first. |
Problem
With Classic Jupyter and Jupyter Lab, when a kernel is selected to be used by a notebook, the kernel's help_links property is read and the contents are used to add kernel-specific items to the Help Menu. This useful feature appears to have been removed from Notebook 7.0.0. Testing with the SageMath kernel, which provides help_links as a property, indicates that the help_links getter is never called when a SageMath notebook is launched.
Proposed Solution
Please consider restoring this feature (or documenting it, if it actually exists in some other form.)
Additional context
The text was updated successfully, but these errors were encountered: