From dea577a1a3e36b4052cb4c82ec0cbbd7e7398f80 Mon Sep 17 00:00:00 2001 From: Harm Aarts Date: Thu, 13 Dec 2018 22:24:34 +0100 Subject: [PATCH] Fix type naming and remove debug statement --- lib/docs/filters/pony/entries.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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