Ver Fonte

Update CMake documentation (3.26)

ClasherKasten há 2 anos atrás
pai
commit
b9ba7d4d31
1 ficheiros alterados com 7 adições e 2 exclusões
  1. 7 2
      lib/docs/scrapers/cmake.rb

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

@@ -4,7 +4,7 @@ module Docs
     self.type = 'sphinx_simple'
     self.links = {
       home: 'https://cmake.org/',
-      code: 'https://cmake.org/gitweb?p=cmake.git;a=summary'
+      code: 'https://gitlab.kitware.com/cmake/cmake/'
     }
 
     html_filters.push 'cmake/clean_html', 'sphinx/clean_html', 'cmake/entries', 'title'
@@ -16,10 +16,15 @@ module Docs
     options[:skip_patterns] = [/\Agenerator/, /\Acpack_gen/, /\Ainclude/, /\Arelease/, /tutorial\/(\w*%20)+/]
 
     options[:attribution] = <<-HTML
-      &copy; 2000&ndash;2022 Kitware, Inc. and Contributors<br>
+      &copy; 2000&ndash;2023 Kitware, Inc. and Contributors<br>
       Licensed under the BSD 3-clause License.
     HTML
 
+    version '3.26' do
+      self.release = '3.26'
+      self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
+    end
+
     version '3.25' do
       self.release = '3.25'
       self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"