Browse Source

Update CMake documentation (3.12.1)

Thibaut Courouble 7 years ago
parent
commit
1820fe328c
2 changed files with 13 additions and 3 deletions
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 12 2
      lib/docs/scrapers/cmake.rb

+ 1 - 1
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/'
   ], [

+ 12 - 2
lib/docs/scrapers/cmake.rb

@@ -16,12 +16,22 @@ module Docs
     options[:skip_patterns] = [/\Agenerator/, /\Ainclude/, /\Arelease/]
 
     options[:attribution] = <<-HTML
-      &copy; 2000&ndash;2017 Kitware, Inc. and Contributors<br>
+      &copy; 2000&ndash;2018 Kitware, Inc. and Contributors<br>
       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