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
Jupyter documentation fails for notebooks in subdirectories #19885
Comments
comment:1
This should be trivial to fix for somebody who knows javascript (i.e. not me). That javascript should determine whether the help link is relative and prepend |
This comment has been minimized.
This comment has been minimized.
comment:2
But the An alternative might be to add a Jupyter notebook extension for Sage static files, as it is also useful elsewhere (e.g. mathjax). |
comment:3
On second thought that still doesn't give the kernel knowledge about the url prefix... |
comment:4
And there is currently no good way of installing them without mucking with user configuration: jupyter/notebook#878 |
comment:5
Please note, that, with Sage 7.0rc0 :
The obvious workaround is to start a notebook server in each work directory. Not inconsiderable loss of functionality, but tolerable. |
comment:6
You need to have write permissions in the original directory... which one is it? |
comment:7
Upstream PR at jupyter/notebook#958 |
comment:8
Replying to @vbraun:
I suppose that "the original directory" is the directory from where i launched "sage -n jupyter". It was my home directory. |
New commits:
|
Commit: |
Author: Volker Braun |
comment:11
On a small (notebook) machine, running 7.0rc1+Trac#19885 : Doesn't work for me : starting from my home directory and navigating to Note : I just typed "make" (i. e. didn't rebuild the docs, which need more than 30 minutes on this small machine). Does this influence the result ?
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Try again |
comment:14
Works now. I can't reasonably Thank you very much ! |
comment:15
ptestlong has one failure :
However, it's probably a booboo :
==> |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
fixed |
Upstream: Fixed upstream, but not in a stable release. |
Reviewer: Emmanuel Charpentier |
Changed upstream from Fixed upstream, but not in a stable release. to none |
comment:19
==> |
Upstream: Fixed upstream, but not in a stable release. |
Changed branch from u/vbraun/jupyter_documentation_fails_for_notebooks_in_subdirectories to |
Exactly the same as #19469, but for help links.
Steps to reproduce:
Opened URL is
http://localhost:8888/notebooks/Untitled%20Folder/kernelspecs/sagemath/doc/index.html
Correct URL would be
http://localhost:8888/kernelspecs/sagemath/doc/reference/index.html
Upstream: Fixed upstream, but not in a stable release.
CC: @EmmanuelCharpentier
Component: notebook
Author: Volker Braun
Branch/Commit:
65cd4d2
Reviewer: Emmanuel Charpentier
Issue created by migration from https://trac.sagemath.org/ticket/19885
The text was updated successfully, but these errors were encountered: