File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ def api
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>)
Original file line number Diff line number Diff line change @@ -30,6 +30,18 @@ def initial_urls
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 = [
You can’t perform that action at this time.
0 commit comments