History

Version lodash documentation (3 and 4)

Ref #25.

Thibaut Courouble committed 10 years ago

Commit d99a2c91 parent d6aa0d82 files · +12 −4Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/lodash.rb +11 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -216,7 +216,7 @@ credits = [ · 215 unmodified lines
216 'http://creativecommons.org/licenses/by/3.0/'216 'http://creativecommons.org/licenses/by/3.0/'
217 ], [217 ], [
218 'Lo-Dash',218 'Lo-Dash',
219 '2012-2015 The Dojo Foundation',219 '2012-2016 The Dojo Foundation',
220 'MIT',220 'MIT',
221 'https://raw.github.com/lodash/lodash/master/LICENSE.txt'221 'https://raw.github.com/lodash/lodash/master/LICENSE.txt'
222 ], [222 ], [
lib/docs/scrapers/lodash.rb+11−3
@@ -3,8 +3,6 @@ module Docs · 2 unmodified lines
3 self.name = 'lodash'3 self.name = 'lodash'
4 self.slug = 'lodash'4 self.slug = 'lodash'
5 self.type = 'lodash'5 self.type = 'lodash'
6 self.release = '3.10.0'
7 self.base_url = 'https://lodash.com/docs'
8 self.links = {6 self.links = {
9 home: 'https://lodash.com/',7 home: 'https://lodash.com/',
10 code: 'https://github.com/lodash/lodash/'8 code: 'https://github.com/lodash/lodash/'
@@ -16,8 +14,18 @@ module Docs · 5 unmodified lines
16 options[:skip_links] = true14 options[:skip_links] = true
17 15
18 options[:attribution] = <<-HTML16 options[:attribution] = <<-HTML
19 &copy; 2012&ndash;2015 The Dojo Foundation<br>17 &copy; 2012&ndash;2016 The Dojo Foundation<br>
20 Licensed under the MIT License.18 Licensed under the MIT License.
21 HTML19 HTML
20
21 version '4' do
22 self.release = '4.0.0'
23 self.base_url = 'https://lodash.com/docs'
24 end
25
26 version '3' do
27 self.release = '3.10.0'
28 self.base_url = 'https://lodash.com/docs' # OUT-OF-DATE
29 end
22 end30 end
23end31end