Ask Your Question
4

Make ipython notebook world-viewable?

asked 2014-11-25 16:07:06 +0100

ashmanskas gravatar image

updated 2016-09-28 11:34:13 +0100

eric_g gravatar image

Is there a way to make a cloud.sagemath.org iPython notebook viewable (read-only) by anyone who has a link to it? I'd like an easy way to share notebook contents with people who have not yet signed up for SageMath Cloud accounts. Clearly I can download as HTML and put a static copy on my own web server, but perhaps there is a more direct way?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2016-09-28 11:32:55 +0100

eric_g gravatar image

When running the Jupyter notebook on SageMathCloud, simply click on the orange button Publish in the upper menu bar. This will generate a publicly viewable html page, which is an exact copy of your notebook. Moreover, this page has a button download for donwloading the ipynb file.

edit flag offensive delete link more
1

answered 2016-09-21 16:47:58 +0100

stan gravatar image

updated 2016-09-22 18:07:25 +0100

For .sagews worksheets, one can click on the blue "i" button at the top left of the work sheet and then on the "Share..." link, but there is no such button in .ipynb worksheets. However, at the Files level, if you select only one file or folder, a field called "Share..." appears. This enables sharing a whole folder as described in the post quoted in the other answer.

EDIT: Unfortunately, this does not work for .ipynb worksheets. If you are not logged into cloud.sagemath.org, and click on a published .ipynb worksheet, the following message is shown: Opening 'test_sage-ipython.ipynb' publicly not yet supported. It works with all other file types. Example: https://cloud.sagemath.com/projects/3...

Stan

edit flag offensive delete link more
1

answered 2014-11-29 00:16:35 +0100

ashmanskas gravatar image

Doh! The answer to my question is found in this blog post:

http://sagemath.blogspot.com/2014/10/...

-Bill

edit flag offensive delete link more

Comments

Solution: Mark the home directory of the project public, and share the link widely. I cannot find a way to "mark the home directory of the project public" in SMC. Has the feature been removed??

stan gravatar imagestan ( 2016-09-21 16:41:03 +0100 )edit

OK, found it: At the Files level, if you select only one file or folder, a field called "Share..." appears. This enables sharing a file or a whole folder. Just place all files you want to share in a subfolder of the project and share the whole folder in this way.

stan gravatar imagestan ( 2016-09-21 17:04:00 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-11-25 16:07:06 +0100

Seen: 1,427 times

Last updated: Sep 28 '16