|
@@ -5,7 +5,7 @@ module Docs
|
|
|
css('h1 .app-vsn').remove
|
|
css('h1 .app-vsn').remove
|
|
|
|
|
|
|
|
if current_url.path.start_with?('/getting-started')
|
|
if current_url.path.start_with?('/getting-started')
|
|
|
- at_css('h1').content.strip.remove(/\.\z/)
|
|
|
|
|
|
|
+ (at_css('h1 > span') or at_css('h1')).content.strip.remove(/\.\z/)
|
|
|
else
|
|
else
|
|
|
name = at_css('h1').content.strip
|
|
name = at_css('h1').content.strip
|
|
|
name = name.split(' ').first unless name.start_with?('mix ') # ecto
|
|
name = name.split(' ').first unless name.start_with?('mix ') # ecto
|