瀏覽代碼

Remove outdated clenaup

Kid 4 年之前
父節點
當前提交
c5dbdbd1cf
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      lib/docs/filters/yarn/entries_berry.rb

+ 0 - 2
lib/docs/filters/yarn/entries_berry.rb

@@ -11,8 +11,6 @@ module Docs
         name = at_css('h1').content
 
         if slug.start_with?('getting-started')
-          name.remove! /\d - /
-
           active_link = at_css('main .active')
           links = active_link.parent.children.to_a
           name.prepend "#{links.index(active_link) + 1}. "