@@ -2,22 +2,24 @@ module Docs
2
2
class NginxLuaModule < Github
3
3
self . name = 'nginx / Lua Module'
4
4
self . slug = 'nginx_lua_module'
5
- self . release = '0.10.13'
6
- self . base_url = "https://github.com/openresty/lua-nginx-module/tree/v#{ self . release } /"
5
+ self . release = '0.10.28'
6
+ self . base_url = "https://github.com/openresty/lua-nginx-module/blob/v#{ self . release } /"
7
+ self . root_path = 'README.markdown'
7
8
self . links = {
8
9
code : 'https://github.com/openresty/lua-nginx-module'
9
10
}
10
11
11
12
html_filters . push 'nginx_lua_module/clean_html' , 'nginx_lua_module/entries' , 'title'
12
13
13
14
options [ :root_title ] = 'ngx_http_lua_module'
14
- options [ :container ] = '#readme > article '
15
-
15
+ options [ :container ] = '.markdown-body '
16
+ options [ :max_image_size ] = 256_000
16
17
options [ :attribution ] = <<-HTML
17
18
© 2009–2017 Xiaozhe Wang (chaoslawful)< br >
18
- © 2009–2018 Yichun "agentzh" Zhang (章亦春), OpenResty Inc.< br >
19
+ © 2009–2019 Yichun "agentzh" Zhang (章亦春), OpenResty Inc.< br >
19
20
Licensed under the BSD License.
20
21
HTML
22
+ options [ :skip_patterns ] = [ /\. png/ ]
21
23
22
24
def get_latest_version ( opts )
23
25
tags = get_github_tags ( 'openresty' , 'lua-nginx-module' , opts )
0 commit comments