First time here? Check out the FAQ!

Ask Your Question
4

Make ipython notebook world-viewable?

asked 10 years ago

ashmanskas gravatar image

updated 8 years ago

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?

Preview: (hide)

3 Answers

Sort by » oldest newest most voted
2

answered 8 years ago

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.

Preview: (hide)
link
1

answered 8 years ago

stan gravatar image

updated 8 years ago

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

Preview: (hide)
link
1

answered 10 years ago

ashmanskas gravatar image

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

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

-Bill

Preview: (hide)
link

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 ( 8 years ago )

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 ( 8 years ago )

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: 10 years ago

Seen: 1,458 times

Last updated: Sep 28 '16