mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
729 B
26 lines
729 B
8 years ago
|
module Docs
|
||
|
class Godot < UrlScraper
|
||
|
self.type = 'sphinx_simple'
|
||
|
self.links = {
|
||
|
home: 'https://godotengine.org/',
|
||
|
code: 'https://github.com/godotengine/godot'
|
||
|
}
|
||
|
|
||
|
html_filters.push 'godot/entries', 'godot/clean_html', 'sphinx/clean_html'
|
||
|
|
||
|
# `learning/` contains the guided learning materials, and `classes/`
|
||
|
# contains the API reference.
|
||
|
options[:only_patterns] = [/\Alearning\//, /\Aclasses\//]
|
||
|
|
||
|
options[:attribution] = <<-HTML
|
||
|
© Copyright 2014–2017, Juan Linietsky, Ariel Manzur and the Godot community (CC-BY 3.0).
|
||
|
HTML
|
||
|
|
||
|
version '2.1' do
|
||
|
self.release = '2.1'
|
||
|
self.base_url = "http://docs.godotengine.org/en/#{self.version}/"
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|