Skip to content

Commit

Permalink
Traded pygmentize for rouge, since pygmentize was not working.
Browse files Browse the repository at this point in the history
This also removed the need for python in the build (I think…)
  • Loading branch information
cdchapman committed Oct 29, 2016
1 parent db67243 commit 27e0d77
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ gem 'rubypants-unicode'
gem 'linkeddata'
gem 'rdf-vocab', git: 'https://github.com/ruby-rdf/rdf-vocab.git', branch: 'develop' # for latest code (included in `linkeddata` gem)
gem 'rdf', git: 'https://github.com/ruby-rdf/rdf.git', branch: 'develop' # for latest code (included in `linkeddata` gem)
gem 'pygmentize' # for syntax coloring
gem 'nanoc-cachebuster', git: 'https://github.com/cdchapman/nanoc-cachebuster', branch: 'nanoc-4'
gem 'rouge'
gem 'haml'
gem 'pandoc-ruby' # for benefit reports in ConTeXt
gem 'git' # for version history and tagging info
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pygmentize (0.0.3)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
Expand Down Expand Up @@ -263,6 +262,7 @@ GEM
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rouge (2.0.6)
rqrcode (0.10.1)
chunky_png (~> 1.0)
rspec (3.5.0)
Expand Down Expand Up @@ -347,11 +347,11 @@ DEPENDENCIES
nokogiri
optipng
pandoc-ruby
pygmentize
rainpress
rdf!
rdf-vocab!
rest-client
rouge
rqrcode
rubypants-unicode
shortly
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ The following external dependencies or system packages need to be installed and
in scope before compiling:

* Ruby (with [bundler], i.e. `gem install bundler`)
* Python (for [pygments])
* [pandoc] and [ConTeXt] for PDF generation of reports
* [hunspell] for spell-checking (with the [optional fix][apostrophe fix] for
the en_US apostrophe handling)
Expand Down
3 changes: 2 additions & 1 deletion rules/blog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
compile '/blog/**/*.md' do
filter :erb, @config[:erb]
filter :kramdown, @config[:kramdown]
filter :colorize_syntax, default_colorizer: :pygmentize, pygmentize: { nowrap: 'True' }
filter :colorize_syntax,
default_colorizer: :rouge
filter :absolutify_paths, type: :html
filter :spellchecker unless @config[:production]
layout '/blog/article.*'
Expand Down

0 comments on commit 27e0d77

Please sign in to comment.