فهرست منبع

sanctuary: add news entry

Simon Legner 3 سال پیش
والد
کامیت
2b781b963e
3فایلهای تغییر یافته به همراه10 افزوده شده و 2 حذف شده
  1. 4 0
      assets/javascripts/news.json
  2. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  3. 5 1
      lib/docs/scrapers/sanctuary.rb

+ 4 - 0
assets/javascripts/news.json

@@ -1,4 +1,8 @@
 [
+  [
+    "2022-08-27",
+    "New documentations: <a href=\"/sanctuary/\">Sanctuary</a>"
+  ],
   [
     "2022-05-03",
     "New documentations: <a href=\"/kubernetes/\">Kubernetes</a>, <a href=\"/kubectl/\">Kubectl</a>"

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

@@ -805,7 +805,7 @@ credits = [
     'Sanctuary',
     '2020 Sanctuary; 2016 Plaid Technologies, Inc.',
     'MIT',
-    'https://raw.githubusercontent.com/sanctuary-js/sanctuary/v3.1.0/LICENSE'
+    'https://raw.githubusercontent.com/sanctuary-js/sanctuary/master/LICENSE'
   ], [
     'Sass',
     '2006-2020 Hampton Catlin, Nathan Weizenbaum, and Chris Eppstein',

+ 5 - 1
lib/docs/scrapers/sanctuary.rb

@@ -15,7 +15,11 @@ module Docs
 
     options[:container] = '#css-main'
     options[:title] = "Sanctuary"
-    options[:attribution] = "Licensed under the MIT License."
+    options[:attribution] = <<-HTML
+      &copy; 2020 Sanctuary<br>
+      &copy; 2016 Plaid Technologies, Inc.<br>
+      Licensed under the MIT License.
+    HTML
 
     def get_latest_version(opts)
       get_npm_version("sanctuary", opts)