ソースを参照

add attributions for trio

Mathieu PATUREL 6 年 前
コミット
409f2c2332
2 ファイル変更7 行追加4 行削除
  1. 5 2
      lib/docs/scrapers/trio.rb
  2. 2 2
      public/docs/docs.json

+ 5 - 2
lib/docs/scrapers/trio.rb

@@ -11,8 +11,6 @@ module Docs
 
     html_filters.push 'trio/entries', 'trio/clean_html'
 
-    options[:attribution] = <<-HTML
-    HTML
     options[:only_patterns] = [
       /reference-core/,
       /reference-io/,
@@ -20,5 +18,10 @@ module Docs
       /reference-hazmat/,
     ]
 
+    options[:attribution] = <<-HTML
+      &copy; 2017-2019 Nathaniel Smith<br>
+      Licensed under MIT and Apache2.
+    HTML
+
   end
 end

+ 2 - 2
public/docs/docs.json

@@ -63,7 +63,7 @@
       "code": "https://github.com/python-trio/trio"
     },
     "release": "0.11",
-    "mtime": 1556326478,
-    "db_size": 757201
+    "mtime": 1556402796,
+    "db_size": 757536
   }
 ]