From 4d183ef3153efdebfe448359a218eb73e385fd3c Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 21 Aug 2019 14:44:34 +0200 Subject: [PATCH] elixir: fix entry names h1 contains a hidden span.app-vsn containing the elixir version. Drop this element before extracting the content. --- lib/docs/filters/elixir/entries.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/docs/filters/elixir/entries.rb b/lib/docs/filters/elixir/entries.rb index fd91c6bf..4b518de2 100644 --- a/lib/docs/filters/elixir/entries.rb +++ b/lib/docs/filters/elixir/entries.rb @@ -2,6 +2,7 @@ module Docs class Elixir class EntriesFilter < Docs::EntriesFilter def get_name + at_css('h1 .app-vsn').remove if current_url.path.start_with?('/getting-started') at_css('h1').content.strip.remove(/\.\z/) else