module Docs
  class NginxLuaModule < Github
    self.name = 'nginx / Lua Module'
    self.slug = 'nginx_lua_module'
    self.release = '0.10.8'
    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;2016 Xiaozhe Wang (chaoslawful)<br>
      &copy; 2009&ndash;2017 Yichun "agentzh" Zhang (章亦春), OpenResty Inc.<br>
      Licensed under the BSD License.
    HTML
  end
end
