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
3434 node . name = 'h3'
3535 node [ 'id' ] = id
3636
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' )
3840
3941 node . content = node . at_css ( '.signature' ) . inner_text
4042 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
3030 "https://hexdocs.pm/mix/#{ self . class . release } /Mix.html" ]
3131 end
3232
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+
3345 version '1.17' do
3446 self . release = '1.17.2'
3547 self . base_urls = [
You can’t perform that action at this time.
0 commit comments