1 | initial version |
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.