History

Version Lua documentation (5.1, 5.2, 5.3)

Julien Desgats committed 10 years ago

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

Showing the changes to lib/docs (1 of 1 file). Show all

Unified · Split

lib/docs/scrapers/lua.rb+15−2
@@ -1,8 +1,6 @@
1module Docs1module Docs
2 class Lua < UrlScraper2 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 &copy; 1994&ndash;2015 Lua.org, PUC-Rio.<br>11 &copy; 1994&ndash;2015 Lua.org, PUC-Rio.<br>
14 Licensed under the MIT License.12 Licensed under the MIT License.
15 HTML13 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 end29 end
17end30end