templates/api/fulldoc/html/setup.rb in yard-api-1.1.0 vs templates/api/fulldoc/html/setup.rb in yard-api-1.1.1
- old
+ new
@@ -5,10 +5,10 @@
include YARD::Templates::Helpers::FilterHelper
def init
logger.info "YARD-API: starting."
- options.serializer ||= YARD::APIPlugin::Serializer.new
+ options.serializer = YARD::APIPlugin::Serializer.new
options.serializer.basepath = api_options.output
options[:resources] = options.objects.
group_by { |o| o[:api_id] }.
sort_by { |o| o.first }