Update Pug to 3.0.0
Unified · Split
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | |||
| 3 | self.type = 'pug' | 3 | self.type = 'pug' |
| 4 | self.base_url = 'https://pugjs.org/' | 4 | self.base_url = 'https://pugjs.org/' |
| 5 | self.root_path = 'api/getting-started.html' | 5 | self.root_path = 'api/getting-started.html' |
| 6 | self.release = '2.0.3' | 6 | self.release = '3.0.0' |
| 7 | self.links = { | 7 | self.links = { |
| 8 | home: 'https://pugjs.org/', | 8 | home: 'https://pugjs.org/', |
| 9 | code: 'https://github.com/pugjs/pug' | 9 | code: 'https://github.com/pugjs/pug' |
| @@ -18,6 +18,10 @@ module Docs · 8 unmodified lines | |||
| 18 | Licensed under the MIT license. | 18 | Licensed under the MIT license. |
| 19 | HTML | 19 | HTML |
| 20 | 20 | ||
| 21 | options[:skip_patterns] = [ | ||
| 22 | /support/ | ||
| 23 | ] | ||
| 24 | |||
| 21 | def get_latest_version(opts) | 25 | def get_latest_version(opts) |
| 22 | get_npm_version('pug', opts) | 26 | get_npm_version('pug', opts) |
| 23 | end | 27 | end |