From abd89a1ab8a51a66097431e813884b87ecfa4a7e Mon Sep 17 00:00:00 2001 From: steve donovan Date: Mon, 19 Mar 2012 15:04:16 +0200 Subject: [PATCH] builtin references are now .lua files for better LuaRocks integration --- ldoc.lua | 4 ++-- ldoc/builtin/{coroutine.luadoc => coroutine.lua} | 0 ldoc/builtin/{debug.luadoc => debug.lua} | 0 ldoc/builtin/{global.luadoc => global.lua} | 0 ldoc/builtin/{io.luadoc => io.lua} | 0 ldoc/builtin/{lfs.luadoc => lfs.lua} | 0 ldoc/builtin/{lpeg.luadoc => lpeg.lua} | 0 ldoc/builtin/{math.luadoc => math.lua} | 0 ldoc/builtin/{os.luadoc => os.lua} | 0 ldoc/builtin/{package.luadoc => package.lua} | 0 ldoc/builtin/{string.luadoc => string.lua} | 0 ldoc/builtin/{table.luadoc => table.lua} | 0 12 files changed, 2 insertions(+), 2 deletions(-) rename ldoc/builtin/{coroutine.luadoc => coroutine.lua} (100%) rename ldoc/builtin/{debug.luadoc => debug.lua} (100%) rename ldoc/builtin/{global.luadoc => global.lua} (100%) rename ldoc/builtin/{io.luadoc => io.lua} (100%) rename ldoc/builtin/{lfs.luadoc => lfs.lua} (100%) rename ldoc/builtin/{lpeg.luadoc => lpeg.lua} (100%) rename ldoc/builtin/{math.luadoc => math.lua} (100%) rename ldoc/builtin/{os.luadoc => os.lua} (100%) rename ldoc/builtin/{package.luadoc => package.lua} (100%) rename ldoc/builtin/{string.luadoc => string.lua} (100%) rename ldoc/builtin/{table.luadoc => table.lua} (100%) diff --git a/ldoc.lua b/ldoc.lua index cd270a4..00bd923 100644 --- a/ldoc.lua +++ b/ldoc.lua @@ -7,7 +7,7 @@ -- -- C/C++ support for Lua extensions is provided. -- --- Available from LuaRocks as 'ldoc' and as a [Zip file](http://stevedonovan.github.com/files/ldoc-1.1.0.zip) +-- Available from LuaRocks as 'ldoc' and as a [Zip file](http://stevedonovan.github.com/files/ldoc-1.2.0.zip) -- -- [Github Page](https://github.com/stevedonovan/ldoc) -- @@ -206,7 +206,7 @@ local config_dir local ldoc_dir = arg[0]:gsub('[^/\\]+$','') -local doc_path = ldoc_dir..'/ldoc/builtin/?.luadoc' +local doc_path = ldoc_dir..'/ldoc/builtin/?.lua' -- ldoc -m is expecting a Lua package; this converts this to a file path diff --git a/ldoc/builtin/coroutine.luadoc b/ldoc/builtin/coroutine.lua similarity index 100% rename from ldoc/builtin/coroutine.luadoc rename to ldoc/builtin/coroutine.lua diff --git a/ldoc/builtin/debug.luadoc b/ldoc/builtin/debug.lua similarity index 100% rename from ldoc/builtin/debug.luadoc rename to ldoc/builtin/debug.lua diff --git a/ldoc/builtin/global.luadoc b/ldoc/builtin/global.lua similarity index 100% rename from ldoc/builtin/global.luadoc rename to ldoc/builtin/global.lua diff --git a/ldoc/builtin/io.luadoc b/ldoc/builtin/io.lua similarity index 100% rename from ldoc/builtin/io.luadoc rename to ldoc/builtin/io.lua diff --git a/ldoc/builtin/lfs.luadoc b/ldoc/builtin/lfs.lua similarity index 100% rename from ldoc/builtin/lfs.luadoc rename to ldoc/builtin/lfs.lua diff --git a/ldoc/builtin/lpeg.luadoc b/ldoc/builtin/lpeg.lua similarity index 100% rename from ldoc/builtin/lpeg.luadoc rename to ldoc/builtin/lpeg.lua diff --git a/ldoc/builtin/math.luadoc b/ldoc/builtin/math.lua similarity index 100% rename from ldoc/builtin/math.luadoc rename to ldoc/builtin/math.lua diff --git a/ldoc/builtin/os.luadoc b/ldoc/builtin/os.lua similarity index 100% rename from ldoc/builtin/os.luadoc rename to ldoc/builtin/os.lua diff --git a/ldoc/builtin/package.luadoc b/ldoc/builtin/package.lua similarity index 100% rename from ldoc/builtin/package.luadoc rename to ldoc/builtin/package.lua diff --git a/ldoc/builtin/string.luadoc b/ldoc/builtin/string.lua similarity index 100% rename from ldoc/builtin/string.luadoc rename to ldoc/builtin/string.lua diff --git a/ldoc/builtin/table.luadoc b/ldoc/builtin/table.lua similarity index 100% rename from ldoc/builtin/table.luadoc rename to ldoc/builtin/table.lua