Unified · Split
| @@ -11,8 +11,6 @@ module Docs · 10 unmodified lines | ||
| 11 | 11 | name = at_css('h1').content |
| 12 | 12 | |
| 13 | 13 | if slug.start_with?('getting-started') |
| 14 | − name.remove! /\d - / | |
| 15 | − | |
| 16 | 14 | active_link = at_css('main .active') |
| 17 | 15 | links = active_link.parent.children.to_a |
| 18 | 16 | name.prepend "#{links.index(active_link) + 1}. " |