Skip to content

Commit

Permalink
Making the website doc generation play nicely with the nokogiri.org g…
Browse files Browse the repository at this point in the history
…emset.
  • Loading branch information
flavorjones committed Nov 6, 2011
1 parent 875448f commit ddcd5e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -7,9 +7,11 @@
.classpath .classpath
.project .project
.rake_tasks .rake_tasks
.rvmrc
.settings .settings
Gemfile* Gemfile*
TAGS TAGS
build
ext/java/Canna ext/java/Canna
ext/java/nokogiri/*.class ext/java/nokogiri/*.class
ext/java/nokogiri/*/*.class ext/java/nokogiri/*/*.class
Expand All @@ -30,4 +32,3 @@ test/*_mini.rb
test/test_jruby_footer.rb test/test_jruby_footer.rb
test/test_jruby_header.rb test/test_jruby_header.rb
tmp tmp
build
2 changes: 1 addition & 1 deletion lib/nokogiri/css/tokenizer.rex
@@ -1,6 +1,6 @@
module Nokogiri module Nokogiri
module CSS module CSS
class Tokenizer class Tokenizer # :nodoc:


macro macro
nl \n|\r\n|\r|\f nl \n|\r\n|\r|\f
Expand Down
6 changes: 6 additions & 0 deletions tasks/nokogiri.org.rb
@@ -1,6 +1,12 @@
#
# note that this file will only work if you've got the `nokogiri.org`
# repo checked out, and you've got an rvm gemset "1.8.7@nokogiri"
# bundled with both nokogiri's and nokogiri.org's gems.
#
namespace :docs do namespace :docs do
desc "generate HTML docs for nokogiri.org" desc "generate HTML docs for nokogiri.org"
task :website do task :website do
system 'rvm use 1.8.7@nokogiri' # see above
title = "#{HOE.name}-#{HOE.version} Documentation" title = "#{HOE.name}-#{HOE.version} Documentation"


options = [] options = []
Expand Down

0 comments on commit ddcd5e5

Please sign in to comment.