From 1820fe328c89ff758fa49090d1ad654424ad7e27 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 19 Aug 2018 18:22:51 -0400 Subject: [PATCH] Update CMake documentation (3.12.1) --- .../javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/cmake.rb | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 96febbc2..629682fb 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -167,7 +167,7 @@ credits = [ 'https://github.com/clojure/clojure/blob/master/epl-v10.html' ], [ 'CMake', - '2000-2017 Kitware, Inc. and Contributors', + '2000-2018 Kitware, Inc. and Contributors', 'BSD', 'https://cmake.org/licensing/' ], [ diff --git a/lib/docs/scrapers/cmake.rb b/lib/docs/scrapers/cmake.rb index 1cb00dd1..c455e4fd 100644 --- a/lib/docs/scrapers/cmake.rb +++ b/lib/docs/scrapers/cmake.rb @@ -16,12 +16,22 @@ module Docs options[:skip_patterns] = [/\Agenerator/, /\Ainclude/, /\Arelease/] options[:attribution] = <<-HTML - © 2000–2017 Kitware, Inc. and Contributors
+ © 2000–2018 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License. HTML + version '3.12' do + self.release = '3.12.1' + self.base_url = 'https://cmake.org/cmake/help/v3.12/' + end + + version '3.11' do + self.release = '3.11.4' + self.base_url = 'https://cmake.org/cmake/help/v3.11/' + end + version '3.10' do - self.release = '3.10.1' + self.release = '3.10.3' self.base_url = 'https://cmake.org/cmake/help/v3.10/' end