Doxygen Force Function Documentation for JavaScript API Documentation

I am using Doxygen to document the JavaScript API of my C ++ project (Qt). The idea is to write one specific documentation for JavaScript interfaces and another for regular C ++ classes. One example (datasource.dox) is as follows:

\addtogroup JavaScriptAPI
@{
...
\class DataSource
\brief DataSource is the .... some doc goes here ....

\section formats Supported formats
....

\fn isOpen()
\brief returns true if the data source is currently open...
...
@}

The generated help looks like a wrt description of the class (or "object-description"), but there is no documentation of the functions (isOpen (), ...). Doxygen generates warning messages, for example: Warning: the `bool isOpen 'document function has not been declared or defined.

, : - doxygen \fn-d? , doxygen ...

+3
1

doxygen Javascript http://www.doxygen.org/helpers.html ( JavaScript)

0

Source: https://habr.com/ru/post/1786370/


All Articles