History

homebrew: update release 2.5.11

Simon Legner committed 5 years ago

Commit ff29aa21 parent 35d7bcd3 files · +3 −2Browse files

Unified · Split

3 files
  1. lib/docs/filters/homebrew/clean_html.rb +1 −0
  2. lib/docs/scrapers/homebrew.rb +1 −1
  3. public/icons/docs/homebrew/SOURCE +1 −1
lib/docs/filters/homebrew/clean_html.rb+1−0
@@ -11,6 +11,7 @@ module Docs · 10 unmodified lines
1111
1212 css('div.highlighter-rouge').each do |node|
1313 lang = node['class'][/language-(\w+)/, 1]
14+ lang = 'bash' if lang == 'sh'
1415 node['data-language'] = lang if lang
1516 node.content = node.content.strip
1617 node.name = 'pre'
lib/docs/scrapers/homebrew.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
22 class Homebrew < UrlScraper
33 self.name = 'Homebrew'
44 self.type = 'simple'
5− self.release = '2.1.9'
5+ self.release = '2.5.11'
66 self.base_url = 'https://docs.brew.sh/'
77 self.links = {
88 home: 'https://brew.sh',
public/icons/docs/homebrew/SOURCE+1−1
@@ -1 +1 @@
1−https://github.com/Homebrew/brew/tree/master/docs/img
1+https://docs.brew.sh/assets/img/apple-touch-icon.png