X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/7f03a2319eba95a5117f0424df6990e4d02741a8..146b161112b68c99ecd607ec5360accc1f4db3cd:/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