Showing the changes to lib/docs (1 of 1 file). Show all
Unified · Split
| @@ -2,7 +2,8 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Elixir |
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | 4 | def get_name |
| 5 | − at_css('h1 .app-vsn').remove | |
| 5 | + css('h1 .app-vsn').remove | |
| 6 | + | |
| 6 | 7 | if current_url.path.start_with?('/getting-started') |
| 7 | 8 | at_css('h1').content.strip.remove(/\.\z/) |
| 8 | 9 | else |
| @@ -30,6 +31,8 @@ module Docs · 21 unmodified lines | ||
| 30 | 31 | else |
| 31 | 32 | if name.start_with?('Phoenix') |
| 32 | 33 | name.split('.')[0..2].join('.') |
| 34 | + elsif name.start_with?('mix ') | |
| 35 | + 'Mix Tasks' | |
| 33 | 36 | else |
| 34 | 37 | name.split('.').first |
| 35 | 38 | end |