Page MenuHomePhabricator

Investigate auto generating LUA docs with doxygen
Closed, ResolvedPublic

Description

According to http://www.doxygen.nl/helpers.html https://github.com/alecchen/doxygen-lua or https://www.ctan.org/pkg/lua2dox can be used for LUA.

Having such a helper included in our doxygen could help us stop manually maintaining a docs page for our LUA code.

Event Timeline

It seems those plugins might not be that well maintained.

There are some tools listed on the LUA users wiki at http://lua-users.org/wiki/DocumentingLuaCode , but at a quick glance none of those tools have been updated any recently.

I looked at how lua generates its reference manual, they use a custom script "our format" inspired by LaTeX to generate HTML/Latex/Docbook. http://lua-users.org/lists/lua-l/2017-12/msg00159.html


At the risk of hijacking this task which is about Doxygen, I am a huge phan of Sphinx which happens to have a plugin to support lua, maybe that can be used instead of Doxygen https://pypi.org/project/sphinx-lua/. Might be worth investigating. It supports two syntax:

Addshore claimed this task.

Thanks for the links
I think for now I'm just going to close this as resolved as some research has happened.
We probably won't be moving away from doxygen in the very short term.