New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strip 'nodetex' from docstrings #6122
Comments
comment:1
Attachment: no-nodetex.patch.gz Applies cleanly to 4.0, works as advertised at command-line and in the notebook. Passes sage -t -rand sage/misc/sagedoc.py It would be nice if these directives were cleaned out prior to building the PDF and HTML versions of the documentation. This patch seems to only apply to the "interactive" documentation. I'm still seeing nodetex directives in the PDF anyway, and in a sense they are worse, as they lead off a line and then the real beginning follows with no line break (as it used to look in the ASCII versions). Positive review. |
comment:2
See #6166. |
comment:3
Merged in 4.0.1.alpha0. |
Merged: 4.0.1.alpha0 |
Reviewer: Rob Beezer |
Author: John Palmieri |
It bothers me that when you ask for a docstring with a 'nodetex' directive, that directive is printed as part of the docstring. This patch strips it out.
Before (note the line after "Docstring:"):
After:
Component: misc
Author: John Palmieri
Reviewer: Rob Beezer
Merged: 4.0.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6122
The text was updated successfully, but these errors were encountered: