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.
devdocs/lib/docs/scrapers/nginx_lua_module.rb

20 lines
660 B

module Docs
class NginxLuaModule < Github
self.name = 'nginx / Lua Module'
self.slug = 'nginx_lua_module'
self.release = '0.10.11'
self.base_url = "https://github.com/openresty/lua-nginx-module/tree/v#{self.release}/"
html_filters.push 'nginx_lua_module/clean_html', 'nginx_lua_module/entries', 'title'
options[:root_title] = 'ngx_http_lua_module'
options[:container] = '#readme > article'
options[:attribution] = <<-HTML
&copy; 2009&ndash;2017 Xiaozhe Wang (chaoslawful)<br>
&copy; 2009&ndash;2018 Yichun "agentzh" Zhang (), OpenResty Inc.<br>
Licensed under the BSD License.
HTML
end
end