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
|
||||
class Cmake < UrlScraper
|
||||
self.name = 'CMake'
|
||||
self.slug = 'cmake'
|
||||
self.type = 'cmake'
|
||||
self.release = '3.5'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.5/'
|
||||
self.type = 'sphinx_simple'
|
||||
self.links = {
|
||||
home: 'https://cmake.org/',
|
||||
code: 'https://cmake.org/gitweb?p=cmake.git;a=summary'
|
||||
}
|
||||
|
||||
options[:skip] = %w(
|
||||
release/index.html
|
||||
genindex.html
|
||||
search.html
|
||||
)
|
||||
|
||||
options[:only_patterns] = [
|
||||
/manual/,
|
||||
/command/,
|
||||
/policy/,
|
||||
/prop_/,
|
||||
/variable/
|
||||
]
|
||||
html_filters.push 'cmake/clean_html', 'cmake/entries', 'title'
|
||||
|
||||
options[:container] = '.body'
|
||||
|
||||
html_filters.push 'cmake/clean_html', 'cmake/entries'
|
||||
options[:title] = false
|
||||
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
|
||||
© 2000–2016 Kitware, Inc.<br>
|
||||
© 2000–2011 Insight Software Consortium<br>
|
||||
Licensed under the BSD 3-clause License.
|
||||
HTML
|
||||
|
||||
version '3.5' do
|
||||
self.release = '3.5.2'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.5/'
|
||||
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