Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

LDoc

Free#30 of 38 in Documentation Generators

LDoc: A focused, open-source generator for Lua API docs, with Markdown and CI support. Ranked #30 of 38 in Documentation Generators by our editors (6.3/10); pricing: Free plan; best for lua teams generating API docs from source comments.

6.3/10Editor score
LDoc6.3 Visit LDoc

At a glance

  • Editor score
    6.3 / 10
  • Pricing
    Free plan
  • Best for
    Lua teams generating API docs from source comments
  • Free plan
    Yes
  • Paid from
    Free
  • Source inputs
    Lua source files, C/C++ extension source, Markdown documents and readme files, source examples
  • Facts checked
    23 Sep 2026
LDoc screenshot
  • Where it wins

    • Generates HTML API references from Lua comments and C extension source
    • Combines API docs with Markdown pages, readmes, and source examples
    • Runs in Docker or GitHub Actions for documentation builds
  • Where it doesn't

    • Language support centers on Lua and C/C++ extension source
    • HTML is the listed output format
    • Command-line workflow may not suit teams seeking a hosted documentation service

Our verdict on LDoc

LDoc turns Lua source comments into HTML API documentation, and it can also process C/C++ extension source. Its LuaDoc-style tags cover API elements such as modules, functions, parameters, and return values. That makes it a focused option for teams maintaining Lua libraries or applications that need reference material kept alongside code. It is open source and available for self-hosted use, with command-line operation rather than a hosted subscription product. Teams documenting a broader mix of programming languages should look at a generator with wider language coverage.

The documentation can combine API references with Markdown-formatted comments, documentation topics, readme files, and source examples. LDoc can prettify example code and link examples to API documentation, so projects can bring explanatory material and reference pages together in the generated site. The output format listed is HTML, which suits teams publishing browsable documentation but is limiting if a project needs other generated formats. Its center of gravity remains API documentation from Lua and extension sources rather than a general-purpose documentation platform.

For build workflows, LDoc can run in Docker or through a GitHub Actions workflow, and CI/CD integration is supported. That gives teams a route to generate docs as part of a code workflow without relying on a hosted service. The listed support channel is documentation, so organizations that need a broader support arrangement may want to evaluate alternatives. LDoc fits solo contributors through larger organizations when the core requirement is Lua-focused API reference generation; it is less suitable for teams seeking a multi-language generator, non-HTML output, or a managed documentation service.

Your product? Our editors can test LDoc in depth and publish a review, labelled as paid · from $149/mo →

LDoc pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

LDoc fact sheet

Free planYes
Paid fromFree
Source inputsLua source files, C/C++ extension source, Markdown documents and readme files, source examples
API reference generationYes
Versioned documentationNot verified
CI/CD integrationYes
Output formatsHTML
Programming languagesLua, C/C++ extension source
DeploymentSelf-hosted
PlatformsLinux, Windows, macOS
SupportDocs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: GitHub Actions, Docker
PricingFree plan
Websitegithub.com
Facts checked23 Sep 2026

LDoc integrations

LDoc lists 2 integrations on its own site.

  • GitHub Actions
  • Docker

Alternatives to LDoc

See all LDoc alternatives →

Used LDoc? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used LDoc for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — LDoc 6.3/10

LDoc is listed in our Documentation Generators directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/ldoc/"><img src="https://www.itechguides.com/best/badge/ldoc.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update