Issue613

Title Support lua for Doxygen
Priority feature Status resolved
Assigned To Keywords
Linked issues Watchers

Submitted on 2012-09-25 10h52 by Xenux, last changed by fluzz.

Messages
Author: Xenux Date: 2012-09-25   10h52
A small project exist to add a lua pre-processor in doxygen.

https://github.com/alecchen/doxygen-lua

I think we must add this to buildbot and start lua documentation.
Author: salimiles Date: 2012-09-25   23h48
Looks like that uses perl as a backend. I like perl, but do we want to add
another programming language?
Author: ahuillet Date: 2012-09-26   07h11
We don't. :)
Author: fluzz Date: 2012-09-27   06h50
Mhhh...

I don't understand why we would have to 'add' an other language.

If someone wants to generate the doxydoc, he has to install doxygen,
graphviz and so on.
If he also wants to generate the doc of lua scripts (such as
script_helpers.lua), then he will also have to install lua2dox.

What we just have to do is to change our doxyfile to instruct doxygen
to filter lua files through that lua2dox. And if the user did not
install it, doxygen will just complain about a not found file, and do its work
anyhow.
Author: Xenux Date: 2012-09-27   09h09
I agree with fluzz. Lua2dox is just a tool, not a library we add to freedroid.
Author: fluzz Date: 2013-08-08   10h46
I'm currently checking it and also an other filter written in lua (lua2dox.lua).

doxygen-lua generates smart documentation (with function members, data members,
...), but line numbers are wrong.

lua2dox.lua gives right line numbers, but the generated documentation does not
separate functions from data.

So, I will add doxygen-lua and use it to document the next to come new dialog
engine written in Lua, and I'll try to patch that filter later (I'm not a Perl
programmer) to have it generating the right line numbers.
Author: fluzz Date: 2013-10-08   14h37
On 09/25/2012 12:52 PM, Xenux - Roundup wrote:
>
> New submission from Xenux <netwak@hotmail.fr>:
>
> A small project exist to add a lua pre-processor in doxygen.
>
> https://github.com/alecchen/doxygen-lua
>
> I think we must add this to buildbot and start lua documentation.
>

Interesting.

I'll give it a look.

Thanks.

> ----------
> messages: 2352
> priority: feature
> status: open
> title: Support lua for Doxygen
>
> ________________________________________
> FreedroidRPG issues <bugs@freedroid.org>
> <http://bugs.freedroid.org/b/issue613>
> ________________________________________
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Freedroid-bugs mailing list
> Freedroid-bugs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedroid-bugs
>
Author: fluzz Date: 2013-10-08   14h37
On 09/26/2012 09:11 AM, Arthur Huillet - Roundup wrote:
>
> Arthur Huillet<ahuillet@freedroid.org>  added the comment:
>
> We don't. :)
>

Mhhh...

I don't understand why we should have to 'add' an other language.

If someone wants to generate the doxydoc, he has to install doxygen,
graphviz and so on.
If he also wants to generate the doc of lua scripts (such as
script_helpers.lua), then he will also have to install lua2dox.

What we just have to do is to change our doxyfile to instruct doxygen
to filter lua files through that lua2dox. And if the user did not
installed it, doxygen will just complain about a not found file, and do
its work anyhow.
History
Date User Action Args
2013-10-08 14:37:06fluzzsetmessages: + msg2605
2013-10-08 14:37:05fluzzsetmessages: + msg2604
2013-08-08 10:46:13fluzzsetstatus: open -> resolved
messages: + msg2490
2012-09-27 09:09:57Xenuxsetmessages: + msg2356
2012-09-27 06:50:32fluzzsetmessages: + msg2355
2012-09-26 07:11:03ahuilletsetmessages: + msg2354
2012-09-25 23:48:54salimilessetmessages: + msg2353
2012-09-25 10:52:21Xenuxcreate