Unified · Split
| @@ -34,7 +34,9 @@ module Docs · 33 unmodified lines | ||
| 34 | 34 | node.name = 'h3' |
| 35 | 35 | node['id'] = id |
| 36 | 36 | |
| 37 | − source_href = node.at_css('a.icon-action[title="View Source"]').attr('href') | |
| 37 | + a = node.at_css('a.icon-action[title="View Source"]') | |
| 38 | + a ||= node.at_css('a.icon-action[aria-label="View Source"]') | |
| 39 | + source_href = a.attr('href') | |
| 38 | 40 | |
| 39 | 41 | node.content = node.at_css('.signature').inner_text |
| 40 | 42 | node << %(<a href="#{source_href}" class="source">Source</a>) |
| @@ -30,6 +30,18 @@ module Docs · 29 unmodified lines | ||
| 30 | 30 | "https://hexdocs.pm/mix/#{self.class.release}/Mix.html" ] |
| 31 | 31 | end |
| 32 | 32 | |
| 33 | + version '1.18' do | |
| 34 | + self.release = '1.18.1' | |
| 35 | + self.base_urls = [ | |
| 36 | + "https://hexdocs.pm/elixir/#{release}/", | |
| 37 | + "https://hexdocs.pm/eex/#{release}/", | |
| 38 | + "https://hexdocs.pm/ex_unit/#{release}/", | |
| 39 | + "https://hexdocs.pm/iex/#{release}/", | |
| 40 | + "https://hexdocs.pm/logger/#{release}/", | |
| 41 | + "https://hexdocs.pm/mix/#{release}/" | |
| 42 | + ] | |
| 43 | + end | |
| 44 | + | |
| 33 | 45 | version '1.17' do |
| 34 | 46 | self.release = '1.17.2' |
| 35 | 47 | self.base_urls = [ |