History

Version Lua documentation (5.1, 5.2, 5.3)

Julien Desgats committed 10 years ago

Commit 2018cd11 parent 0efa4c31 file · +15 −2Browse files

Unified · Split

lib/docs/scrapers/lua.rb+15−2
@@ -1,8 +1,6 @@
11 module Docs
22 class Lua < UrlScraper
33 self.type = 'lua'
4− self.release = '5.3'
5− self.base_url = 'http://www.lua.org/manual/5.3/'
64 self.root_path = 'manual.html'
75
86 html_filters.push 'lua/clean_html', 'lua/entries'
@@ -13,5 +11,20 @@ module Docs · 4 unmodified lines
1311 &copy; 1994&ndash;2015 Lua.org, PUC-Rio.<br>
1412 Licensed under the MIT License.
1513 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
1629 end
1730 end