From 2b781b963e91d85b2322d1274369ccc467f9aa2f Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 27 Aug 2022 19:20:05 +0200 Subject: [PATCH] sanctuary: add news entry --- assets/javascripts/news.json | 4 ++++ assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/sanctuary.rb | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/news.json b/assets/javascripts/news.json index 2a9934a9..43958e1a 100644 --- a/assets/javascripts/news.json +++ b/assets/javascripts/news.json @@ -1,4 +1,8 @@ [ + [ + "2022-08-27", + "New documentations: Sanctuary" + ], [ "2022-05-03", "New documentations: Kubernetes, Kubectl" diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index ad87b37b..b6c68229 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/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', diff --git a/lib/docs/scrapers/sanctuary.rb b/lib/docs/scrapers/sanctuary.rb index 533107f3..70ac4c92 100644 --- a/lib/docs/scrapers/sanctuary.rb +++ b/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 + © 2020 Sanctuary
+ © 2016 Plaid Technologies, Inc.
+ Licensed under the MIT License. + HTML def get_latest_version(opts) get_npm_version("sanctuary", opts)