python - How to make Sphinx understand Sage doctests? -
i have package python, , meant used python. there few functions available when module used under sage. problem sage doctests must prefixed sage:
rather >>>
, , sphinx doesn't pick these when generating documentation.
is there way sphinx recognize sage:
prefix being equivalent >>>
when generating html (or other) docs?
well, can use sage's built-in version of sphinx , documentation builder. work in progress sage @ http://trac.sagemath.org/ticket/13679 allows building documentation single python file not in sage's source tree, try that.
Comments
Post a Comment