#19885: Jupyter documentation fails for notebooks in subdirectories
----------------------------+------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.0
Component: notebook | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
Old description:
> Not unlike #19469. Steps to reproduce:
> * Start sage --notebook=jupyter
> * In the Jupyter file browser, select New -> Folder
> * Click on the newly-created "Untitled Folder" (name does not matter)
> * Create a new Sage kernel notebook in this subfolder
> * Click on Help -> Sage Documentation
>
> 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`
New description:
Exactly the same as #19469, but for help links.
Steps to reproduce:
* Start sage --notebook=jupyter
* In the Jupyter file browser, select New -> Folder
* Click on the newly-created "Untitled Folder" (name does not matter)
* Create a new Sage kernel notebook in this subfolder
* Click on Help -> Sage Documentation
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`
--
Comment (by jdemeyer):
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 `base_url` if it is.
--
Ticket URL: <http://trac.sagemath.org/ticket/19885#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.