diff --git a/lib/docs/filters/pony/entries.rb b/lib/docs/filters/pony/entries.rb index 09ffe595..0dbc81c8 100644 --- a/lib/docs/filters/pony/entries.rb +++ b/lib/docs/filters/pony/entries.rb @@ -2,12 +2,11 @@ module Docs class Pony class EntriesFilter < Docs::EntriesFilter def get_name - binding.pry context[:html_title].sub(/ - .*/, '') end def get_type - subpath.split('-')[0][1..-1] + subpath.split('-')[0][0..-1] end end end