History

Finish Docker scraper

Thibaut Courouble committed 10 years ago

Commit e92d0e11 parent 457439f11 files · +65 −21Browse files

Showing the changes to assets/javascripts (3 of 11 files). Show all

Unified · Split

3 files
  1. assets/javascripts/collections/types.coffee +1 −1
  2. assets/javascripts/news.json +3 −0
  3. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
assets/javascripts/collections/types.coffee+1−1
@@ -7,7 +7,7 @@ class app.collections.Types extends app.Collection · 6 unmodified lines
7 (result[@_groupFor(type)] ||= []).push(type)7 (result[@_groupFor(type)] ||= []).push(type)
8 result.filter (e) -> e.length > 08 result.filter (e) -> e.length > 0
9 9
10 GUIDES_RGX = /(^|[\s\(])(guides?|tutorials?|reference|book|getting\ started|manual)($|[\s\):])/i10 GUIDES_RGX = /(^|\()(guides?|tutorials?|reference|book|getting\ started|manual)($|[\):])/i
11 11
12 _groupFor: (type) ->12 _groupFor: (type) ->
13 if GUIDES_RGX.test(type.name)13 if GUIDES_RGX.test(type.name)
assets/javascripts/news.json+3−0
@@ -1,5 +1,8 @@
1[1[
2 [2 [
3 "2016-08-07",
4 "New documentation: <a href=\"/docker/\">Docker</a>"
5 ], [
3 "2016-07-31",6 "2016-07-31",
4 "New documentations: <a href=\"/bootstrap~3/\">Bootstrap 3</a> and <a href=\"/bootstrap~4/\">Bootstrap 4</a>"7 "New documentations: <a href=\"/bootstrap~3/\">Bootstrap 3</a> and <a href=\"/bootstrap~4/\">Bootstrap 4</a>"
5 ], [8 ], [
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -179,6 +179,11 @@ credits = [ · 178 unmodified lines
179 'Django Software Foundation and individual contributors',179 'Django Software Foundation and individual contributors',
180 'BSD',180 'BSD',
181 'https://raw.githubusercontent.com/django/django/master/LICENSE'181 'https://raw.githubusercontent.com/django/django/master/LICENSE'
182 ], [
183 'Docker',
184 '2013-2016 Docker, Inc.<br>Docker and the Docker logo are trademarks of Docker, Inc.',
185 'Apache',
186 'https://raw.githubusercontent.com/docker/docker/master/LICENSE'
182 ], [187 ], [
183 'Dojo',188 'Dojo',
184 '2005-2015 The Dojo Foundation',189 '2005-2015 The Dojo Foundation',