Fix example in API docs
This commit is contained in:
parent
4327e81a3a
commit
45723a3ddc
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module Nanoc::Extension
|
|||
# @example
|
||||
# compile "/sitemap.xml.erb" do
|
||||
# filter(:erb)
|
||||
# filter Proc.new { _1.each_line.reject { |s| s.strip.empty? } }
|
||||
# filter Proc.new { _1.each_line.reject { |s| s.strip.empty? }.join }
|
||||
# write("/sitemap.xml")
|
||||
# end
|
||||
# @param [Proc, Symbol] fn
|
||||
|
|
Loading…
Reference in a new issue