included code snippets: don't just slap in a pre. syntax highlighting

Review Request #1182 - Created Oct. 18, 2014 and submitted

Information
Larry Hosken
pants
693
acdcc4e...
Reviewers
pants-reviews
jsirois, zundel

included code snippets: don't just slap in a pre. syntax highlighting

The pygments code-syntax-highlighting code has some built-in functionality to guess at a code snippet's language based on filename and content. We hadn't hooked it up. This hooks it up.

https://travis-ci.org/pantsbuild/pants/builds/39542386

patched this and https://rbcommons.com/s/twitter/r/1191/ into a branch and test-generated the doc site: http://pantsbuild.github.io/sitegen-test/JVMProjects.html

Larry Hosken
Larry Hosken
Larry Hosken
Larry Hosken
John Sirois
Larry Hosken
John Sirois
Larry Hosken
Review request changed

Status: Closed (submitted)

Loading...