I'm going to write documentation for some script API bindings (Lua actually), so there's no source code at all. How can I do that?
I've tried to write bare doxygen like this:
\page My API document
\class BindedClassA
\brief descriptions on it
\var member1
\brief ssssssss
\fn bindedMethod1(arg1, arg2)
\brief xxxxxxx
\param arg1 yyyyyyy
\param arg2 zzzzzzz
\return wwwwww
It won't work at all. Actually it seems you must specify a language for every doxygen input file via EXTENSION_MAPPING
.
Then I tried to put things in a fake C++ file that have no source code but only comments:
/**
*\page My API document
**/
/**
*\class BindedClassA
*\brief descriptions on it
**/
/**
*\var member1
*\brief ssssssss
**/
/**
*\fn bindedMethod1(arg1, arg2)
*\brief xxxxxxx
*\param arg1 yyyyyyy
*\param arg2 zzzzzzz
*\return wwwwww
**/
It generates document for BindedClassA, but only have brief description, no members o method documents were generated.
It seems the structure in source code plays critical role for Doxygen working properly, but I have no source at all.