瀏覽代碼

Update Bower documentation (1.4.1)

Thibaut 10 年之前
父節點
當前提交
399e09e9fa
共有 2 個文件被更改,包括 7 次插入3 次删除
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 6 2
      lib/docs/scrapers/bower.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -87,7 +87,7 @@ credits = [
     'https://raw.github.com/jashkenas/backbone/master/LICENSE'
   ], [
     'Bower',
-    '2014 Bower contributors',
+    '2015 Bower contributors',
     'CC BY',
     'https://github.com/bower/bower.github.io/blob/b7b94ad38b72e8fb5dafb20c8ce42835a49cc98f/package.json#L20'
   ], [

+ 6 - 2
lib/docs/scrapers/bower.rb

@@ -2,9 +2,13 @@ module Docs
   class Bower < UrlScraper
     self.name = 'Bower'
     self.type = 'bower'
-    self.version = '1.3.12'
+    self.version = '1.4.1'
     self.base_url = 'http://bower.io/docs/'
     self.root_path = 'api'
+    self.links = {
+      home: 'http://bower.io/',
+      code: 'https://github.com/bower/bower'
+    }
 
     html_filters.push 'bower/clean_html', 'bower/entries'
 
@@ -12,7 +16,7 @@ module Docs
     options[:skip] = %w(tools about)
 
     options[:attribution] = <<-HTML
-      &copy; 2014 Bower contributors<br>
+      &copy; 2015 Bower contributors<br>
       Licensed under the Creative Commons Attribution License.
     HTML
   end