فهرست منبع

Update Yii documentation (2.0.11, 1.1.17)

Thibaut Courouble 8 سال پیش
والد
کامیت
a91bcbe3e9
2فایلهای تغییر یافته به همراه11 افزوده شده و 3 حذف شده
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 10 2
      lib/docs/scrapers/yii.rb

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

@@ -601,7 +601,7 @@ credits = [
     'https://raw.githubusercontent.com/yarnpkg/yarn/master/LICENSE'
   ], [
     'Yii',
-    '2008-2016 by Yii Software LLC',
+    '2008-2017 by Yii Software LLC',
     'BSD',
     'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE'
   ]

+ 10 - 2
lib/docs/scrapers/yii.rb

@@ -3,14 +3,18 @@ module Docs
     self.type = 'yii'
 
     options[:attribution] = <<-HTML
-      &copy; 2008&ndash;2016 by Yii Software LLC<br>
+      &copy; 2008&ndash;2017 by Yii Software LLC<br>
       Licensed under the three clause BSD license.
     HTML
 
     version '2.0' do
-      self.release = '2.0.10'
+      self.release = '2.0.11'
       self.base_url = 'http://www.yiiframework.com/doc-2.0/'
       self.root_path = 'index.html'
+      self.links = {
+        home: 'http://www.yiiframework.com/',
+        code: 'https://github.com/yiisoft/yii2'
+      }
 
       html_filters.push 'yii/clean_html_v2', 'yii/entries_v2'
 
@@ -21,6 +25,10 @@ module Docs
     version '1.1' do
       self.release = '1.1.17'
       self.base_url = 'http://www.yiiframework.com/doc/api/1.1/'
+      self.links = {
+        home: 'http://www.yiiframework.com/',
+        code: 'https://github.com/yiisoft/yii'
+      }
 
       html_filters.push 'yii/clean_html_v1', 'yii/entries_v1'