From c3bce85947b2c624f08fbb658cd7e0e0f121f6f4 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 16 May 2022 20:28:50 +0200 Subject: [PATCH] elixir: fix get_name --- lib/docs/filters/elixir/entries.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/filters/elixir/entries.rb b/lib/docs/filters/elixir/entries.rb index 91caa237..182191fd 100644 --- a/lib/docs/filters/elixir/entries.rb +++ b/lib/docs/filters/elixir/entries.rb @@ -5,7 +5,7 @@ module Docs css('h1 .app-vsn').remove 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 name = at_css('h1').content.strip name = name.split(' ').first unless name.start_with?('mix ') # ecto