Opened 12 years ago

Closed 12 years ago

#10290 closed enhancement (fixed)

Upgrade Pygments to version 1.3.1

Reported by: Jeroen Demeyer Owned by: tbd
Priority: blocker Milestone: sage-4.6.1
Component: packages: standard Keywords: pygments spkg
Cc: Merged in: sage-4.6.1.alpha2
Authors: Jeroen Demeyer Reviewers: Minh Van Nguyen
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Jeroen Demeyer)

Pygments is the syntax highlighter used by Sphinx to highlight the documentation. Currently, we ship version 0.11.1 of Pygments which has no Cython support, the latest upstream version does support Python. I think this is a good reason to upgrade Pygments.

New spkg: http://sage.math.washington.edu/home/jdemeyer/spkg/pygments-1.3.1.p0.spkg

See also #10118 (Sphinx upgrade)

Follow-up: #10324

Attachments (1)

10290_cython_highlight.patch (2.3 KB) - added by Jeroen Demeyer 12 years ago.
doc patch for Cython syntax highlighting

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by Jeroen Demeyer

Description: modified (diff)

comment:2 Changed 12 years ago by Jeroen Demeyer

Authors: Jeroen Demeyer
Description: modified (diff)
Status: newneeds_work

Changed 12 years ago by Jeroen Demeyer

doc patch for Cython syntax highlighting

comment:3 Changed 12 years ago by Jeroen Demeyer

Merged in: sage-4.6.1.alpha2
Status: needs_workneeds_review

comment:4 Changed 12 years ago by Jeroen Demeyer

Priority: majorblocker

Making this a blocker because #10118 is also a blocker and these need to be merged together.

comment:5 Changed 12 years ago by Jeroen Demeyer

Description: modified (diff)

comment:6 Changed 12 years ago by Minh Van Nguyen

Reviewers: Minh Van Nguyen
Status: needs_reviewpositive_review

The Sage documentation looks much more beautiful now, especially Cython code blocks that have been specially designated to use Cython code highlighting. I love the demonstration of how to highlight a Cython code block. I'm OK with the patch to Pygments 1.3.1; the patch is small enough to be easily understood.

comment:7 Changed 12 years ago by Jeroen Demeyer

Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.