Skip to content

Commit e3d02dc

Browse files
committed
Merge branch 'vendor-pygments'
2 parents e62bfad + b164bdb commit e3d02dc

File tree

393 files changed

+126404
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+126404
-18
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ To build continuously in a loop:
3030
$ tools/build-loop
3131
```
3232

33-
Builds require the [`pygmentize`](http://pygments.org/)
34-
binary for syntax highlighting. We suggesting using the
35-
most recent version from Bitbucket with e.g.:
36-
37-
```console
38-
$ export PATH="$HOME/repos/pygments:$PATH"
39-
```
40-
4133

4234
### Local Deploy
4335

@@ -84,8 +76,6 @@ $ heroku open -r $DEPLOY
8476
```
8577

8678

87-
88-
8979
### License
9080

9181
This work is licensed under a

tools/generate.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
var cacheDir = "/tmp/gobyexample-cache"
1717
var siteDir = "./public"
18-
var pygmentizeBin = ""
18+
var pygmentizeBin = "./vendor/pygments/pygmentize"
1919

2020
func check(err error) {
2121
if err != nil {
@@ -106,12 +106,6 @@ func whichLexer(path string) string {
106106
return ""
107107
}
108108

109-
func whichPygmentize() {
110-
bin, err := exec.LookPath("pygmentize")
111-
check(err)
112-
pygmentizeBin = bin
113-
}
114-
115109
func debug(msg string) {
116110
if os.Getenv("DEBUG") == "1" {
117111
fmt.Fprintln(os.Stderr, msg)
@@ -245,7 +239,6 @@ func renderExamples(examples []*Example) {
245239
}
246240

247241
func main() {
248-
whichPygmentize()
249242
copyFile("templates/site.css", siteDir+"/site.css")
250243
copyFile("templates/favicon.ico", siteDir+"/favicon.ico")
251244
copyFile("templates/404.html", siteDir+"/404.html")

vendor/pygments/AUTHORS

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
Pygments is written and maintained by Georg Brandl <[email protected]>.
2+
3+
Major developers are Tim Hatch <[email protected]> and Armin Ronacher
4+
5+
6+
Other contributors, listed alphabetically, are:
7+
8+
* Sam Aaron -- Ioke lexer
9+
* Kumar Appaiah -- Debian control lexer
10+
* Ali Afshar -- image formatter
11+
* Andreas Amann -- AppleScript lexer
12+
* Jeffrey Arnold -- R/S, Rd and BUGS lexers
13+
* Jeremy Ashkenas -- CoffeeScript lexer
14+
* Stefan Matthias Aust -- Smalltalk lexer
15+
* Ben Bangert -- Mako lexers
16+
* Max Battcher -- Darcs patch lexer
17+
* Paul Baumgart, 280 North, Inc. -- Objective-J lexer
18+
* Michael Bayer -- Myghty lexers
19+
* John Benediktsson -- Factor lexer
20+
* Christopher Bertels -- Fancy lexer
21+
* Jarrett Billingsley -- MiniD lexer
22+
* Adam Blinkinsop -- Haskell, Redcode lexers
23+
* Frits van Bommel -- assembler lexers
24+
* Pierre Bourdon -- bugfixes
25+
* Hiram Chirino -- Scaml and Jade lexers
26+
* Ian Cooper -- VGL lexer
27+
* Leaf Corcoran -- MoonScript lexer
28+
* Christopher Creutzig -- MuPAD lexer
29+
* Pete Curry -- bugfixes
30+
* Owen Durni -- haXe lexer
31+
* Nick Efford -- Python 3 lexer
32+
* Sven Efftinge -- Xtend lexer
33+
* Artem Egorkine -- terminal256 formatter
34+
* James H. Fisher -- PostScript lexer
35+
* Carlos Galdino -- Elixir and Elixir Console lexers
36+
* Naveen Garg -- Autohotkey lexer
37+
* Laurent Gautier -- R/S lexer
38+
* Alex Gaynor -- PyPy log lexer
39+
* Bertrand Goetzmann -- Groovy lexer
40+
* Krzysiek Goj -- Scala lexer
41+
* Matt Good -- Genshi, Cheetah lexers
42+
* Patrick Gotthardt -- PHP namespaces support
43+
* Olivier Guibe -- Asymptote lexer
44+
* Martin Harriman -- SNOBOL lexer
45+
* Matthew Harrison -- SVG formatter
46+
* Steven Hazel -- Tcl lexer
47+
* Aslak Hellesøy -- Gherkin lexer
48+
* Greg Hendershott -- Racket lexer
49+
* Jordi Gutiérrez Hermoso -- Octave lexer
50+
* David Hess, Fish Software, Inc. -- Objective-J lexer
51+
* Varun Hiremath -- Debian control lexer
52+
* Doug Hogan -- Mscgen lexer
53+
* Ben Hollis -- Mason lexer
54+
* Tim Howard -- BlitzMax lexer
55+
* Ivan Inozemtsev -- Fantom lexer
56+
* Brian R. Jackson -- Tea lexer
57+
* Dennis Kaarsemaker -- sources.list lexer
58+
* Igor Kalnitsky -- vhdl lexer
59+
* Eric Knibbe -- Lasso lexer
60+
* Adam Koprowski -- Opa lexer
61+
* Benjamin Kowarsch -- Modula-2 lexer
62+
* Alexander Kriegisch -- Kconfig and AspectJ lexers
63+
* Marek Kubica -- Scheme lexer
64+
* Jochen Kupperschmidt -- Markdown processor
65+
* Gerd Kurzbach -- Modelica lexer
66+
* Olov Lassus -- Dart lexer
67+
* Sylvestre Ledru -- Scilab lexer
68+
* Mark Lee -- Vala lexer
69+
* Ben Mabey -- Gherkin lexer
70+
* Simone Margaritelli -- Hybris lexer
71+
* Kirk McDonald -- D lexer
72+
* Gordon McGregor -- SystemVerilog lexer
73+
* Stephen McKamey -- Duel/JBST lexer
74+
* Brian McKenna -- F# lexer
75+
* Lukas Meuser -- BBCode formatter, Lua lexer
76+
* Paul Miller -- LiveScript lexer
77+
* Hong Minhee -- HTTP lexer
78+
* Michael Mior -- Awk lexer
79+
* Reuben Morais -- SourcePawn lexer
80+
* Jon Morton -- Rust lexer
81+
* Paulo Moura -- Logtalk lexer
82+
* Mher Movsisyan -- DTD lexer
83+
* Ana Nelson -- Ragel, ANTLR, R console lexers
84+
* Nam T. Nguyen -- Monokai style
85+
* Jesper Noehr -- HTML formatter "anchorlinenos"
86+
* Mike Nolta -- Julia lexer
87+
* Jonas Obrist -- BBCode lexer
88+
* David Oliva -- Rebol lexer
89+
* Jon Parise -- Protocol buffers lexer
90+
* Ronny Pfannschmidt -- BBCode lexer
91+
* Benjamin Peterson -- Test suite refactoring
92+
* Dominik Picheta -- Nimrod lexer
93+
* Clément Prévost -- UrbiScript lexer
94+
* Kashif Rasul -- CUDA lexer
95+
* Justin Reidy -- MXML lexer
96+
* Norman Richards -- JSON lexer
97+
* Lubomir Rintel -- GoodData MAQL and CL lexers
98+
* Andre Roberge -- Tango style
99+
* Konrad Rudolph -- LaTeX formatter enhancements
100+
* Mario Ruggier -- Evoque lexers
101+
* Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers
102+
* Matteo Sasso -- Common Lisp lexer
103+
* Joe Schafer -- Ada lexer
104+
* Ken Schutte -- Matlab lexers
105+
* Tassilo Schweyer -- Io, MOOCode lexers
106+
* Joerg Sieker -- ABAP lexer
107+
* Robert Simmons -- Standard ML lexer
108+
* Kirill Simonov -- YAML lexer
109+
* Steve Spigarelli -- XQuery lexer
110+
* Jerome St-Louis -- eC lexer
111+
* James Strachan -- Kotlin lexer
112+
* Tiberius Teng -- default style overhaul
113+
* Jeremy Thurgood -- Erlang, Squid config lexers
114+
* Erick Tryzelaar -- Felix lexer
115+
* Daniele Varrazzo -- PostgreSQL lexers
116+
* Abe Voelker -- OpenEdge ABL lexer
117+
* Whitney Young -- ObjectiveC lexer
118+
* Matthias Vallentin -- Bro lexer
119+
* Nathan Weizenbaum -- Haml and Sass lexers
120+
* Dietmar Winkler -- Modelica lexer
121+
* Nils Winter -- Smalltalk lexer
122+
* Davy Wybiral -- Clojure lexer
123+
* Diego Zamboni -- CFengine3 lexer
124+
* Enrique Zamudio -- Ceylon lexer
125+
* Alex Zimin -- Nemerle lexer
126+
127+
Many thanks for all contributions!

0 commit comments

Comments
 (0)