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
44 self.type = 'sphinx_simple'
55 self.links = {
66 home: 'https://cmake.org/',
7− code: 'https://cmake.org/gitweb?p=cmake.git;a=summary'
7+ code: 'https://gitlab.kitware.com/cmake/cmake/'
88 }
99
1010 html_filters.push 'cmake/clean_html', 'sphinx/clean_html', 'cmake/entries', 'title'
@@ -16,10 +16,15 @@ module Docs · 5 unmodified lines
1616 options[:skip_patterns] = [/\Agenerator/, /\Acpack_gen/, /\Ainclude/, /\Arelease/, /tutorial\/(\w*%20)+/]
1717
1818 options[:attribution] = <<-HTML
19− &copy; 2000&ndash;2022 Kitware, Inc. and Contributors<br>
19+ &copy; 2000&ndash;2023 Kitware, Inc. and Contributors<br>
2020 Licensed under the BSD 3-clause License.
2121 HTML
2222
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+
2328 version '3.25' do
2429 self.release = '3.25'
2530 self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"