Opened 12 years ago

Closed 12 years ago

#8160 closed enhancement (fixed)

add 'text' option to sphinxify

Reported by: jhpalmieri Owned by: was
Priority: minor Milestone: sage-4.3.2
Component: notebook Keywords:
Cc: mpatel Merged in: sagenb-0.7.4
Authors: John Palmieri Reviewers: Mitesh Patel
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jhpalmieri)

This patch adds a 'text' option to sphinxify: use sphinxify(s, format='text') or sphinxify(s, format='html'), where format is optional with default value 'html'. The intended use is in sage.misc.sagedoc for producing docstrings from the command line. I'll create another ticket (#8161) for that.

Depends on #8102.

Attachments (2)

trac_8160-sphinxify.patch (3.8 KB) - added by jhpalmieri 12 years ago.
apply to sagenb repo
trac_8160-sphinxify_text.patch (3.8 KB) - added by mpatel 12 years ago.
Rebased vs. #8102. Apply only this patch. sagenb repo.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by jhpalmieri

apply to sagenb repo

comment:1 Changed 12 years ago by jhpalmieri

  • Status changed from new to needs_review

comment:2 Changed 12 years ago by jhpalmieri

  • Description modified (diff)

Changed 12 years ago by mpatel

Rebased vs. #8102. Apply only this patch. sagenb repo.

comment:3 Changed 12 years ago by mpatel

  • Reviewers set to Mitesh Patel
  • Status changed from needs_review to positive_review

I've attached a version rebased against #8102 --- it seemed a bit easier than the opposite. Positive review for the first patch, at least.

comment:4 Changed 12 years ago by jhpalmieri

  • Description modified (diff)

comment:5 Changed 12 years ago by mpatel

  • Merged in set to sagenb-0.7.4
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.