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
371371 'https://modernizr.com/license/'
372372 ], [
373373 'Moment.js',
374− '2011-2016 Tim Wood, Iskren Chernev, Moment.js contributors',
374+ 'JS Foundation and other contributors',
375375 'MIT',
376376 'https://raw.githubusercontent.com/moment/moment/master/LICENSE'
377377 ], [
lib/docs/scrapers/moment.rb+6−2
@@ -3,10 +3,14 @@ module Docs · 2 unmodified lines
33 self.name = 'Moment.js'
44 self.slug = 'moment'
55 self.type = 'moment'
6− self.release = '2.17.0'
6+ self.release = '2.18.1'
77 self.base_url = 'http://momentjs.com'
88 self.root_path = '/docs/'
99 self.initial_paths = %w(/guides/)
10+ self.links = {
11+ home: 'http://momentjs.com/',
12+ code: 'https://github.com/moment/moment/'
13+ }
1014
1115 html_filters.push 'moment/clean_html', 'moment/entries', 'title'
1216
@@ -15,7 +19,7 @@ module Docs · 2 unmodified lines
1519 options[:skip_links] = true
1620
1721 options[:attribution] = <<-HTML
18− &copy; 2011&ndash;2016 Tim Wood, Iskren Chernev, Moment.js contributors<br>
22+ &copy; JS Foundation and other contributors<br>
1923 Licensed under the MIT License.
2024 HTML
2125 end