-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
References to multiply nested class is broken with INLINE_SIMPLE_STRUCTS=YES #8588
Comments
It is a bit unclear to me where the problem lies, would be good to mention the html files and what is present and what is expected or some images where you indicate the current, wrong, behavior. I've run the problem with the 1.9.1 version and with the current master (1.9.2 (ca24685))
Output 1.9.1 and master: output.tar.gz |
In all generated HTML files of the documentation apply the following replacement: - href="structs_8hpp.html#struct_outer_1_1_foo_1_1_foo_flags"
+ href="struct_outer.html#struct_outer_1_1_foo_1_1_foo_flags" These are the affected generated documentation files for version 1.9.1:
The result of the replacement is the correct output. I had a look at the output.tar.gz you provided. |
Regression: Regarding the problem as mentioned for the master version, I bisected it and this gave:
|
I had a bit a deeper look into the regression of
In this respect the comments
and
are quite illustrative of the requirements I only looked at the non-templated regular expression part, replacing the part:
by
results, in my opinion, in the correct result but it is a bit a brute force pattern and I didn't consider the templated part. |
@albert-github, is still more information on the reported bug needed? I am asking as the label is still attached to this issue. |
No more information needed, I think I nailed the part of the code reasonably well with your example though I'm not sure about the fix. |
Please verify that the referenced commit fixes the problem. |
As far as I can see this does solve the problem. |
I tested it with the automatic build for ecde208. That version includes 7536e3a. I used this workaround as I have no build environment at hand at the moment. That version identifies itself as I tested using the original example from above. The original problem is not fixed. The references to The second problem (related to the regular expression) although seem to be fixed. ✔️ |
@dhebbeker do you mean the fact that the links point not at the right place? as for this I submitted a new issue #8596 as in fact there were 2 problems:
so technically this issue is not 100% solved, but has been split in 2 parts. |
OK, thanks! I did not notice the separate issue before. It makes sense to track the problems in different Github issues. As the link part has been extracted, this (the remaining) issue, is resolved. I will leave the "closing" operation to one of you owner/collaborator as I do not know your workflow in detail. |
In case `INLINE_SIMPLE_STRUCTS` has been set the resulting opening / closing section tags don't match. This problem can be be seen with the doxygen tests 36, 67 and 68 and well as with the test case used for issue doxygen#8588 Instead of explicit using special flags now a general close is done (in the cases examined no problems were found with this strategy).
This issue was previously marked 'fixed but not released', |
Describe the bug
Generated references (in HTML) to a documented, simple class
FooFlags
which is nested in a simple struct, nested in a non-simple class is faulty in case Doxygen is configured withThe generated HTML link points to
The documentation for
FooFlags
is properly generated, but on a different page.The faulty references can be found at the
"Simple" refers to the definition in the configuration documentation:
Expected behavior
The generated link in the HTML documentation should point to the documentation of the class
FooFlags
which is in the file documentation. This would be the correct link:To Reproduce
A self contained example that allows to reproduce the problem: doxy-nested-test.zip
Version
Using Doxygen version 1.9.1 and Windows 10 64bit.
The text was updated successfully, but these errors were encountered: