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
216216 'http://creativecommons.org/licenses/by/3.0/'
217217 ], [
218218 'Lo-Dash',
219− '2012-2015 The Dojo Foundation',
219+ '2012-2016 The Dojo Foundation',
220220 'MIT',
221221 'https://raw.github.com/lodash/lodash/master/LICENSE.txt'
222222 ], [
lib/docs/scrapers/lodash.rb+11−3
@@ -3,8 +3,6 @@ module Docs · 2 unmodified lines
33 self.name = 'lodash'
44 self.slug = 'lodash'
55 self.type = 'lodash'
6− self.release = '3.10.0'
7− self.base_url = 'https://lodash.com/docs'
86 self.links = {
97 home: 'https://lodash.com/',
108 code: 'https://github.com/lodash/lodash/'
@@ -16,8 +14,18 @@ module Docs · 5 unmodified lines
1614 options[:skip_links] = true
1715
1816 options[:attribution] = <<-HTML
19− &copy; 2012&ndash;2015 The Dojo Foundation<br>
17+ &copy; 2012&ndash;2016 The Dojo Foundation<br>
2018 Licensed under the MIT License.
2119 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
2230 end
2331 end