Remove outdated luadoc from contrib
[project/luci.git] / contrib / luadoc / lua / luadoc / init.lua
diff --git a/contrib/luadoc/lua/luadoc/init.lua b/contrib/luadoc/lua/luadoc/init.lua
deleted file mode 100644 (file)
index 649515d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--------------------------------------------------------------------------------
--- LuaDoc main function.
--- @release $Id: init.lua,v 1.4 2008/02/17 06:42:51 jasonsantos Exp $
--------------------------------------------------------------------------------
-
-local require = require
-
-local util = require "luadoc.util"
-
-logger = {}
-
-module ("luadoc")
-
--------------------------------------------------------------------------------
--- LuaDoc version number.
-
-_COPYRIGHT = "Copyright (c) 2003-2007 The Kepler Project"
-_DESCRIPTION = "Documentation Generator Tool for the Lua language"
-_VERSION = "LuaDoc 3.0.1"
-
--------------------------------------------------------------------------------
--- Main function
--- @see luadoc.doclet.html, luadoc.doclet.formatter, luadoc.doclet.raw
--- @see luadoc.taglet.standard
-
-function main (files, options)
-       logger = util.loadlogengine(options)
-
-       -- load config file
-       if options.config ~= nil then
-               -- load specified config file
-               dofile(options.config)
-       else
-               -- load default config file
-               require("luadoc.config")
-       end
-       
-       local taglet = require(options.taglet)
-       local doclet = require(options.doclet)
-
-       -- analyze input
-       taglet.options = options
-       taglet.logger = logger
-       local doc = taglet.start(files)
-
-       -- generate output
-       doclet.options = options
-       doclet.logger = logger
-       doclet.start(doc)
-end