Git Product home page Git Product logo

luadoc's Introduction

LuaDoc is obsolete, use LDoc instead.

LuaDoc, version 3.0
Tomas Guisasola ([email protected])
http://luadoc.luaforge.net
13/aug/2007

What is it?

LuaDoc is a documentation generator tool for Lua source code. It parses the declarations and documentation comments in a set of Lua source files and produces a set of XHTML pages describing the commented declarations and functions.

The output is not limited to XHTML. Other formats can be generated by implementing new doclets. The format of the documentation comments is also flexible and can be customized by implementing new taglets. Please refer to customizing section for further information.

LuaDoc is free software and uses the same license as Lua.

Distribution:

This distribution includes a set of Lua files and this README. It requires Lua 5.1.

Installation:

LuaDoc tool is composed by two parts, a library, and a launcher script.

The library follows the package model for Lua 5.1, therefore it should be "installed".

The launcher script, namely luadoc.lua for Unix and luadoc.bat for Windows, should be installed in your system PATH, so that it can be executed.

LuaDoc also depends on two external packages: LuaFileSystem and LuaLogging, and you'll need to install them accordingly.

On Unix boxes, the file luadoc.lua could be used as a script; it's the same as:

lua5.1 luadoc.lua [options|files]

This is the main script: it will load LuaDoc library and process the specified files. Try luadoc.lua --help, it will show you all available options.

How does it work?

LuaDoc works in two phases: analysis and synthesis. On the first one, all input files are analyzed and an intermediate structure is made with this information. The second phase is responsible for cross-reference and the composition of the output. Each phase has an engine file and one or more description files, that describe the source format and the output format. This distribution only have a description of Lua source files and another for HTML output files.

Some technical documentation can be built running LuaDoc over its files.

Please send any comments and bug reports to [email protected]

luadoc's People

Contributors

mascarenhas avatar tieske avatar hishamhm avatar norman avatar mpeterv avatar rrthomas avatar italomaia avatar hjpotter92 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.