Ticket #12864 (new defect)

Opened 13 months ago

Last modified 13 months ago

Inaccurate description of 'sage -preparse'

Reported by: itaibn Owned by: mvngu
Priority: minor Milestone: sage-5.10
Component: documentation Keywords: preparse
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by itaibn) (diff)

sage -advanced gives the following description for the option -preparse:

  -preparse <file.sage> -- preparse file.sage and produce corresponding file.sage.py

Testing this, preparsing a file $file.sage creates a file $file.py, not $file.sage.py. The documentation should be fixed to take this into account.

To fix, apply doc-fix.patch in sage_root, and doc-fix-2.patch in sage.

Attachments

doc-fix.patch Download (659 bytes) - added by itaibn 13 months ago.
Proposed patch
doc-fix-2.patch Download (578 bytes) - added by itaibn 13 months ago.
Fix in sage spkg

Change History

Changed 13 months ago by itaibn

Proposed patch

comment:1 Changed 13 months ago by jhpalmieri

If you're going to fix the documentation, then you should also fix the file SAGE_ROOT/devel/sage/doc/en/reference/options.rst.

Ticket #11821 is also related.

Changed 13 months ago by itaibn

Fix in sage spkg

comment:2 Changed 13 months ago by itaibn

  • Description modified (diff)
Note: See TracTickets for help on using tickets.