Merge pull request #1928 from ClasherKasten/minor/cmake

Update CMake documentation (3.26)
pull/1931/head
Simon Legner 2 years ago committed by GitHub
commit bfc0e59e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}/"

Loading…
Cancel
Save