Showing the changes to lib/docs (1 of 1 file). Show all
Unified · Split
| @@ -1,8 +1,6 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Lua < UrlScraper |
| 3 | 3 | self.type = 'lua' |
| 4 | − self.release = '5.3' | |
| 5 | − self.base_url = 'http://www.lua.org/manual/5.3/' | |
| 6 | 4 | self.root_path = 'manual.html' |
| 7 | 5 | |
| 8 | 6 | html_filters.push 'lua/clean_html', 'lua/entries' |
| @@ -13,5 +11,20 @@ module Docs · 4 unmodified lines | ||
| 13 | 11 | © 1994–2015 Lua.org, PUC-Rio.<br> |
| 14 | 12 | Licensed under the MIT License. |
| 15 | 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 | 29 | end |
| 17 | 30 | end |