Simon Legner 3 лет назад
Родитель
Сommit
2b781b963e

+ 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)