The kernel doesn't know about the base_url of the notebook, so he cannot generate local urls. This is important if you want to serve documentation locally, for example see http://trac.sagemath.org/ticket/19885 Require.toUrl rewrites non-relative paths according to the path configuration. For example, a help_link defined like { 'text': 'Sage Documentation', 'url': 'kernelspecs/foo/bar.html', }, is then correctly transformed to /base_url/kernelspecs/foo/bar.html
parent
96c39cda8c
commit
08cbe7f770
Loading…
Reference in new issue