Ask Your Question
0

How to publish a worksheet in the sage doc format?

asked 2012-02-04 12:14:52 +0100

petropolis gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-02-04 20:39:59 +0100

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

Stats

Asked: 2012-02-04 12:14:52 +0100

Seen: 378 times

Last updated: Feb 04 '12