|
|
|
@ -3,10 +3,14 @@ module Docs
|
|
|
|
|
self.name = 'Moment.js'
|
|
|
|
|
self.slug = 'moment'
|
|
|
|
|
self.type = 'moment'
|
|
|
|
|
self.release = '2.17.0'
|
|
|
|
|
self.release = '2.18.1'
|
|
|
|
|
self.base_url = 'http://momentjs.com'
|
|
|
|
|
self.root_path = '/docs/'
|
|
|
|
|
self.initial_paths = %w(/guides/)
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'http://momentjs.com/',
|
|
|
|
|
code: 'https://github.com/moment/moment/'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'moment/clean_html', 'moment/entries', 'title'
|
|
|
|
|
|
|
|
|
@ -15,7 +19,7 @@ module Docs
|
|
|
|
|
options[:skip_links] = true
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2011–2016 Tim Wood, Iskren Chernev, Moment.js contributors<br>
|
|
|
|
|
© JS Foundation and other contributors<br>
|
|
|
|
|
Licensed under the MIT License.
|
|
|
|
|
HTML
|
|
|
|
|
end
|
|
|
|
|