Ask Your Question
0

How to publish a worksheet in the sage doc format?

asked 13 years ago

petropolis gravatar image

By the 'sage doc format' I mean a html page like this one: http://www.sagemath.org/doc/reference...

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 13 years ago

kcrisman gravatar image

These documents (and similar ones on the Python website, for instance) are written in something called "ReST" and generated by something called "Sphinx".

You might want to try the patches at this ticket if you have a worksheet you'd like to convert to ReST.

Another way would be to take the raw code you find in a worksheet under "Text" and try by hand to convert it to the format you would see in most Sage Python source files, complete with double colons for testing.

Sorry these are all going to require a little legwork; I don't know that there is any easy tutorial for this, other than the ticket mentioned above, which is not yet in Sage proper.

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 411 times

Last updated: Feb 04 '12