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
77 (result[@_groupFor(type)] ||= []).push(type)
88 result.filter (e) -> e.length > 0
99
10− GUIDES_RGX = /(^|[\s\(])(guides?|tutorials?|reference|book|getting\ started|manual)($|[\s\):])/i
10+ GUIDES_RGX = /(^|\()(guides?|tutorials?|reference|book|getting\ started|manual)($|[\):])/i
1111
1212 _groupFor: (type) ->
1313 if GUIDES_RGX.test(type.name)
assets/javascripts/news.json+3−0
@@ -1,5 +1,8 @@
11 [
22 [
3+ "2016-08-07",
4+ "New documentation: <a href=\"/docker/\">Docker</a>"
5+ ], [
36 "2016-07-31",
47 "New documentations: <a href=\"/bootstrap~3/\">Bootstrap 3</a> and <a href=\"/bootstrap~4/\">Bootstrap 4</a>"
58 ], [
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -179,6 +179,11 @@ credits = [ · 178 unmodified lines
179179 'Django Software Foundation and individual contributors',
180180 'BSD',
181181 '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'
182187 ], [
183188 'Dojo',
184189 '2005-2015 The Dojo Foundation',