| @@ -3,10 +3,14 @@ module Docs · 2 unmodified lines |
| 3 | self.name = 'Moment.js' | 3 | self.name = 'Moment.js' |
| 4 | self.slug = 'moment' | 4 | self.slug = 'moment' |
| 5 | self.type = 'moment' | 5 | self.type = 'moment' |
| 6 | self.release = '2.17.0' | 6 | self.release = '2.18.1' |
| 7 | self.base_url = 'http://momentjs.com' | 7 | self.base_url = 'http://momentjs.com' |
| 8 | self.root_path = '/docs/' | 8 | self.root_path = '/docs/' |
| 9 | self.initial_paths = %w(/guides/) | 9 | self.initial_paths = %w(/guides/) |
| | 10 | self.links = { |
| | 11 | home: 'http://momentjs.com/', |
| | 12 | code: 'https://github.com/moment/moment/' |
| | 13 | } |
| 10 | | 14 | |
| 11 | html_filters.push 'moment/clean_html', 'moment/entries', 'title' | 15 | html_filters.push 'moment/clean_html', 'moment/entries', 'title' |
| 12 | | 16 | |
| @@ -15,7 +19,7 @@ module Docs · 2 unmodified lines |
| 15 | options[:skip_links] = true | 19 | options[:skip_links] = true |
| 16 | | 20 | |
| 17 | options[:attribution] = <<-HTML | 21 | options[:attribution] = <<-HTML |
| 18 | © 2011–2016 Tim Wood, Iskren Chernev, Moment.js contributors<br> | 22 | © JS Foundation and other contributors<br> |
| 19 | Licensed under the MIT License. | 23 | Licensed under the MIT License. |
| 20 | HTML | 24 | HTML |
| 21 | end | 25 | end |