-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Fix symbolic link to thebe.js #21527
Comments
comment:2
The link didn't cause any trouble so far because it is not tested in any way. But I complained that the link was going to cause trouble in #20690 comment:47 I didn't expect it to happen so soon. Its use is not currently tested in any way so doctest didn't spot that it was dangling. |
comment:3
Cc'ing people who worked on the Thebe ticket #20690. |
This comment has been minimized.
This comment has been minimized.
comment:4
Splitting this ticket in two: see also #21534. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:7
I don't have a good suggestion for what to do with thebe.js. It's a |
comment:8
Replying to @nthiery:
What are we doing for mathjax? I cannot really find how we make mathjax work, but it's certainly not the same way as we do with |
comment:9
Replying to @nthiery:
This is not true, mathjax is installed separately for a while now (it used to be bundled with sagenb, and was made a spkg to avoid duplication since jupyter also depends on mathjax). For sagenb, it also uses symlink, the only difference is that the symlink is installed during sagenb's The use of symlink at install time used to be the case for jupyter as well, but it seems not to be the case anymore, so perhaps we could try to mimic the jupyter way (i have no idea how mathjax and jupyter are currently linked). |
comment:10
Replying to @sagetrac-tmonteil:
Sounds good - could you prepare a patch for that? |
comment:12
I don't really think this is a blocker... it still works with the default |
comment:14
Replying to @mkoeppe:
I will do that, but i have to say that i will be very buzy during ther next 3 weeks, so it might take some time. |
comment:15
OK, I've changed the milestone. |
comment:16
ping |
comment:17
Apparently fixed in #22061. |
comment:18
Ah, didn't see this ticket before. Yes, should be addressed by #22061, hopefully. |
Reviewer: François Bissey |
Followup on #20690:
The symbolic link
src/doc/common/themes/sage/static/thebe.js
points to../../../../../../local/share/thebe/thebe.js
which is in the Sage installation directory$SAGE_LOCAL
. Having such a symlink from the source to the installation directory really makes no sense and goes against the goal of making Sage more modular.See also fbissey (#21501, comment 18):
See #21534 for a different issue with allowing a custom
$SAGE_LOCAL
.CC: @jdemeyer @kiwifb @videlec @vbraun @rbeezer @slel @sagetrac-tmonteil @nthiery @embray
Component: build
Reviewer: François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/21527
The text was updated successfully, but these errors were encountered: