mirror of https://github.com/freeCodeCamp/devdocs
parent
96d45d5ed3
commit
ab41f0c0ca
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
@ -1,32 +1,29 @@
|
|||||||
module Docs
|
module Docs
|
||||||
class Cmake < UrlScraper
|
class Cmake < UrlScraper
|
||||||
self.name = 'CMake'
|
self.name = 'CMake'
|
||||||
self.slug = 'cmake'
|
self.type = 'sphinx_simple'
|
||||||
self.type = 'cmake'
|
self.links = {
|
||||||
self.release = '3.5'
|
home: 'https://cmake.org/',
|
||||||
self.base_url = 'https://cmake.org/cmake/help/v3.5/'
|
code: 'https://cmake.org/gitweb?p=cmake.git;a=summary'
|
||||||
|
}
|
||||||
|
|
||||||
options[:skip] = %w(
|
html_filters.push 'cmake/clean_html', 'cmake/entries', 'title'
|
||||||
release/index.html
|
|
||||||
genindex.html
|
|
||||||
search.html
|
|
||||||
)
|
|
||||||
|
|
||||||
options[:only_patterns] = [
|
|
||||||
/manual/,
|
|
||||||
/command/,
|
|
||||||
/policy/,
|
|
||||||
/prop_/,
|
|
||||||
/variable/
|
|
||||||
]
|
|
||||||
|
|
||||||
options[:container] = '.body'
|
options[:container] = '.body'
|
||||||
|
options[:title] = false
|
||||||
html_filters.push 'cmake/clean_html', 'cmake/entries'
|
options[:root_title] = 'CMake Reference Documentation'
|
||||||
|
options[:skip] = %w(release/index.html genindex.html search.html)
|
||||||
|
options[:skip_patterns] = [/\Agenerator/, /\Ainclude/, /\Arelease/]
|
||||||
|
|
||||||
options[:attribution] = <<-HTML
|
options[:attribution] = <<-HTML
|
||||||
© 2000–2016 Kitware, Inc.<br>
|
© 2000–2016 Kitware, Inc.<br>
|
||||||
|
© 2000–2011 Insight Software Consortium<br>
|
||||||
Licensed under the BSD 3-clause License.
|
Licensed under the BSD 3-clause License.
|
||||||
HTML
|
HTML
|
||||||
|
|
||||||
|
version '3.5' do
|
||||||
|
self.release = '3.5.2'
|
||||||
|
self.base_url = 'https://cmake.org/cmake/help/v3.5/'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 392 B |
@ -0,0 +1 @@
|
|||||||
|
https://cmake.org/gitweb?p=cmake.git;a=blob_plain;f=Source/QtDialog/CMakeSetup.ico;hb=refs/heads/master
|
Loading…
Reference in new issue