Ask Your Question

How to publish a worksheet in the sage doc format?

asked 2012-02-04 05:14:52 -0500

petropolis gravatar image

By the 'sage doc format' I mean a html page like this one:

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-02-04 13:39:59 -0500

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.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2012-02-04 05:14:52 -0500

Seen: 188 times

Last updated: Feb 04 '12