Opened 9 years ago
Closed 8 years ago
#13715 closed defect (fixed)
documentation for "attach" should mention load_attach_path()
Reported by: | ddrake | Owned by: | mvngu |
---|---|---|---|
Priority: | minor | Milestone: | sage-5.9 |
Component: | documentation | Keywords: | load attach path |
Cc: | Merged in: | sage-5.9.beta5 | |
Authors: | Dan Drake | Reviewers: | David Roe, Travis Scrimshaw |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
The documentation for attach
doesn't say anything about load_attach_path
, so if you try to attach a file and Sage complains, it's hard to figure out how to fix it. The docstring for attach
should mention load_attach_path()
.
Related: #378.
Apply
Attachments (4)
Change History (21)
comment:1 Changed 9 years ago by
- Status changed from new to needs_review
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
- Status changed from needs_review to positive_review
Looks good to me.
comment:4 follow-up: ↓ 6 Changed 9 years ago by
- Status changed from positive_review to needs_work
This needs a proper commit message. Please put your real name as a reviewer. Thanks.
comment:5 Changed 9 years ago by
- Reviewers set to David Roe
comment:6 in reply to: ↑ 4 Changed 9 years ago by
- Status changed from needs_work to positive_review
comment:7 Changed 9 years ago by
- Milestone changed from sage-5.5 to sage-5.6
Changed 9 years ago by
comment:8 Changed 9 years ago by
Rebased to sage-5.5.rc0.
comment:9 Changed 9 years ago by
- Status changed from positive_review to needs_work
There are some Sphinx errors:
docstring of sage.misc.session:12: WARNING: Block quote ends without a blank line; unexpected unindent. docstring of sage.misc.session:14: WARNING: Definition list ends without a blank line; unexpected unindent. docstring of sage.misc.session:11: ERROR: Unexpected indentation.
comment:10 Changed 9 years ago by
* ping *
Changed 8 years ago by
comment:11 Changed 8 years ago by
- Status changed from needs_work to needs_review
These errors were caused from session.pyx
being imported into the manual (and not by the patch itself). I've attached a reviewer patch which cleans up the rest of the documentation in the file.
comment:12 Changed 8 years ago by
The patches here bitrotted, so I rebased them for 5.9.beta0 and uploaded attachment:trac13715.2.patch and attachment:trac_13715-review-ts.2.patch (I can't overwrite the original patches).
comment:13 Changed 8 years ago by
For patchbot: apply trac13715.2.patch trac_13715-review-ts.2.patch
comment:14 Changed 8 years ago by
- Description modified (diff)
Changed 8 years ago by
comment:15 Changed 8 years ago by
Oops, my rebase had some bad Sphinx markup. Fixed now.
comment:16 Changed 8 years ago by
- Reviewers changed from David Roe to David Roe, Travis Scrimshaw
- Status changed from needs_review to positive_review
Looks good to me. Thanks.
comment:17 Changed 8 years ago by
- Merged in set to sage-5.9.beta5
- Resolution set to fixed
- Status changed from positive_review to closed
The patch adds
session.pyx
to the documentation so that the docstring for attach appears in the HTML version. I rearranged the docstring for attach, added links, improved formatting, and removed some trailing whitespace. I also added links and removed trailing whitespace inpreparser.py
.