| 1 | initial version |
The notebook docs are different from the CLI docs because they're prepared differently. The command-line docs are prepared using code from the file devel/sage/sage/misc/sagedoc.py, which is then fed into ipython, and I think ipython adds the extra fields "Base Class", etc. The notebook docs are prepared using similar code, plus code from the notebook: see local/lib/python/site-packages/sagenb-.../sagenb/misc/support.py. This takes care of the nice formatting, the color, etc. It doesn't use ipython, though, so those fields are missing.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.