History

Update Moment.js documentation (2.18.1)

Thibaut Courouble committed 9 years ago

Commit 7312ab31 parent 78a3d0f2 files · +7 −3Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/moment.rb +6 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -371,7 +371,7 @@ credits = [ · 370 unmodified lines
371 'https://modernizr.com/license/'371 'https://modernizr.com/license/'
372 ], [372 ], [
373 'Moment.js',373 'Moment.js',
374 '2011-2016 Tim Wood, Iskren Chernev, Moment.js contributors',374 'JS Foundation and other contributors',
375 'MIT',375 'MIT',
376 'https://raw.githubusercontent.com/moment/moment/master/LICENSE'376 'https://raw.githubusercontent.com/moment/moment/master/LICENSE'
377 ], [377 ], [
lib/docs/scrapers/moment.rb+6−2
@@ -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] = true19 options[:skip_links] = true
16 20
17 options[:attribution] = <<-HTML21 options[:attribution] = <<-HTML
18 &copy; 2011&ndash;2016 Tim Wood, Iskren Chernev, Moment.js contributors<br>22 &copy; JS Foundation and other contributors<br>
19 Licensed under the MIT License.23 Licensed under the MIT License.
20 HTML24 HTML
21 end25 end