The "activate" button DOES appear in local installations, if they are
served by the local HTTP server (through the jupyter notebook). Try
it, it's cool.

It does not appear if you browse the files through the file:/// scheme
in your browser. Because of this line:

https://github.com/sagemath/sage/blob/master/src/doc/common/themes/sage/static/thebe-sage.js#L130

The authors of 20690 didn't think on the consequences this would have
on the hosted documentation. It would be enough add a test that only
activates the livedocs when the docs are being served locally. It
would be much cooler to host a temporary notebook server to make the
active cells also work for the hosted documentation, but that's
another story.

Anyway, no malice here, Dima, and it wouldn't make much sense to put
the generated docs under version control. It is the responsibity of
the ticket reviewers to check that modifications to the docs do not
add p0rn links.

Luca




On Fri, Feb 24, 2017 at 2:19 PM, Dima Pasechnik <dimp...@gmail.com> wrote:
> I find it astonishing that some links appear out of nowhere, and our
> webmaster has no idea...
> Who does have access? Isn't it high time to change some passwords or
> whatever?
>
> Harald, would it be a good idea to make a (private) github repo with all the
> static data deployed
> on the site (save important passwords, and big binary images)?
> Or we have to wait until  pr0n links begin to pop up? :-)
>
> Cheers,
> Dima
>
> On Friday, February 24, 2017 at 12:17:33 PM UTC, Dima Pasechnik wrote:
>>
>>
>> On Friday, February 24, 2017 at 10:54:40 AM UTC, Harald Schilly wrote:
>>>
>>> Hello, I just got an issue for the doc.sagemath.org page that there is an
>>> "Activate" button at the top right and well, I assume it should make the
>>> cells alive -- which is really cool -- but it's broken. I haven't seen this
>>> before and I have no idea what this is about, though.
>>
>>
>> Who could have added this---presumably call to a (broken) SageCell server?
>> Do we now have more webmasters? Note that this "activate" does not appear
>> in a local install of Sage docs....
>>
>>>
>>>
>>> Issue: https://github.com/sagemath/documentation/issues/12
>>>
>>> -- Harald
>>>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "sagemath-admins" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sagemath-admins+unsubscr...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to