History

Merge pull request #1928 from ClasherKasten/minor/cmake

Update CMake documentation (3.26)

Simon Legner committed 3 years ago

Commit bfc0e592 parents 01ae1e5 b9ba7d41 file · +7 −2Browse files

Unified · Split

lib/docs/scrapers/cmake.rb+7−2
@@ -4,7 +4,7 @@ module Docs · 3 unmodified lines
4 self.type = 'sphinx_simple'4 self.type = 'sphinx_simple'
5 self.links = {5 self.links = {
6 home: 'https://cmake.org/',6 home: 'https://cmake.org/',
7 code: 'https://cmake.org/gitweb?p=cmake.git;a=summary'7 code: 'https://gitlab.kitware.com/cmake/cmake/'
8 }8 }
9 9
10 html_filters.push 'cmake/clean_html', 'sphinx/clean_html', 'cmake/entries', 'title'10 html_filters.push 'cmake/clean_html', 'sphinx/clean_html', 'cmake/entries', 'title'
@@ -16,10 +16,15 @@ module Docs · 5 unmodified lines
16 options[:skip_patterns] = [/\Agenerator/, /\Acpack_gen/, /\Ainclude/, /\Arelease/, /tutorial\/(\w*%20)+/]16 options[:skip_patterns] = [/\Agenerator/, /\Acpack_gen/, /\Ainclude/, /\Arelease/, /tutorial\/(\w*%20)+/]
17 17
18 options[:attribution] = <<-HTML18 options[:attribution] = <<-HTML
19 &copy; 2000&ndash;2022 Kitware, Inc. and Contributors<br>19 &copy; 2000&ndash;2023 Kitware, Inc. and Contributors<br>
20 Licensed under the BSD 3-clause License.20 Licensed under the BSD 3-clause License.
21 HTML21 HTML
22 22
23 version '3.26' do
24 self.release = '3.26'
25 self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
26 end
27
23 version '3.25' do28 version '3.25' do
24 self.release = '3.25'29 self.release = '3.25'
25 self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"30 self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"