New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doxygen can't document Global functions #10238
Comments
This has to be investigated to give a good reasoning / answer, at first glance it looks like that the . The question is well understandable (google translate only didn't convert the |
I did some bisecting and it looks like it is an unexpected side effect of (2606d4e ):
|
@albert-github Seems like the lines addOutput(yyscanner,tmp);
if (addToOutput) addOutput(yyscanner,yytext); that are added to |
I came to the same conclusion and couldn't yet find a way around. Most likely the example with the PR #9465 has an example. I already tried a few things, before other issues surfaced that I wanted to have a look at. The solution I found worked except for the situation:
where it gave
Current in doxygen:
solution sofar
I had the intention / intent to have a look in the coming week. |
@albert-github I think the problem comes from the So the solution directions could be
I prefer 1) over 2) if possible, but an example where it doesn't work without adding the |
When the doc part is empty (or only contains white space) handle the (detailed) block as a new block (and don't forget to remove the possible present white space).
The fix as shown in #10238 (comment) nearly OK just missed the fact that the I've just pushed a proposed patch, pull request #10249 |
issue #10238 Doxygen can't document Global functions
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Describes bugs.
There are test.c and test.h, and static functions in test.c are documented in test.c.
The Global function is documented in the prototype declaration in test.h.
Until 1.9.4, the description of Global functions in both test.c and test.h html docs was the same.
From 1.9.5 onwards the content of the html document is different.
To get the same documentation for 1.9.5 and later, you need to explicitly add the @fn declaration to the prototype declaration in test.h.
Is this a specification change?
It is not realistic to rewrite the existing code according to the specification
Is there any workaround?
I'm not good at English, so I'm translating it with Google Translate. Sorry if there was a funny expression.
test.zip
change.
The text was updated successfully, but these errors were encountered: