Showing the changes to lib/docs (1 of 1 file). Show all
Unified · Split
| @@ -1,8 +1,6 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Lua < UrlScraper | 2 | class Lua < UrlScraper |
| 3 | self.type = 'lua' | 3 | self.type = 'lua' |
| 4 | self.release = '5.3' | ||
| 5 | self.base_url = 'http://www.lua.org/manual/5.3/' | ||
| 6 | self.root_path = 'manual.html' | 4 | self.root_path = 'manual.html' |
| 7 | 5 | ||
| 8 | html_filters.push 'lua/clean_html', 'lua/entries' | 6 | html_filters.push 'lua/clean_html', 'lua/entries' |
| @@ -13,5 +11,20 @@ module Docs · 4 unmodified lines | |||
| 13 | © 1994–2015 Lua.org, PUC-Rio.<br> | 11 | © 1994–2015 Lua.org, PUC-Rio.<br> |
| 14 | Licensed under the MIT License. | 12 | Licensed under the MIT License. |
| 15 | HTML | 13 | HTML |
| 14 | |||
| 15 | version '5.1' do | ||
| 16 | self.release = '5.1' | ||
| 17 | self.base_url = 'http://www.lua.org/manual/5.1/' | ||
| 18 | end | ||
| 19 | |||
| 20 | version '5.2' do | ||
| 21 | self.release = '5.2' | ||
| 22 | self.base_url = 'http://www.lua.org/manual/5.2/' | ||
| 23 | end | ||
| 24 | |||
| 25 | version '5.3' do | ||
| 26 | self.release = '5.3' | ||
| 27 | self.base_url = 'http://www.lua.org/manual/5.3/' | ||
| 28 | end | ||
| 16 | end | 29 | end |
| 17 | end | 30 | end |