X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/beb2ba4d7feceaa3669035ce24c23ed9e805a9a0..78fe979b7b4634ce2ef4d89363f1e1471a901230:/Rakefile diff --git a/Rakefile b/Rakefile index 9986b7568..f88237bd7 100644 --- a/Rakefile +++ b/Rakefile @@ -45,8 +45,12 @@ task :release => [:package, 'doc:archive'] do end desc "Generate document" -task :doc do - sh "#{$EMACS} -Q -L . --batch -l doc/yas-doc-helper.el" + +task :doc, [:htmlize] do |t, args| + load_path = '-L .' + if args[:htmlize] + load_path += " -L #{args[:htmlize]}" + end + sh "#{$EMACS} -Q #{load_path} --batch -l doc/yas-doc-helper.el" + " -f yas--generate-html-batch" end