Ask Your Question

Revision history [back]

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.