Skip to content
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

When two or more classes are in one header file, only the last class's code source with line number. #128

Closed
traversebitree opened this issue Nov 19, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@traversebitree
Copy link

Describe the bug
When two or more classes are in one header file, only the last class's code source with line number.
If use the original doxygen, no problem (Every line with a line number).

Expected behavior
Every class in the header file should have a line number each line.

Screenshots
image

To Reproduce
Just a simple header file, with two or more classes declaration in it.

Version
Windows 11, 64 bit
Doxygen 1.9.8
doxygen-awesome-css 2.2.1

@ilg-ul
Copy link
Contributor

ilg-ul commented Nov 19, 2023

I face the same issue, line number are shown only for the last class in the file.

Screenshot 2023-11-19 at 12 12 17

If I remove the doxygen-awesome-css/doxygen-awesome.css file from HTML_EXTRA_STYLESHEET, the whole file is ok:

Screenshot 2023-11-19 at 12 13 01 1

The file used in these images is detail.h, but the same happens to all files in my projects.

Any idea how to fix this?

macOS x64 Sonoma 14.1
Doxygen 1.9.8
doxygen-awesome-css 2.2.1

@jothepro jothepro added the bug Something isn't working label Nov 19, 2023
@ilg-ul
Copy link
Contributor

ilg-ul commented Nov 27, 2023

@jothepro, any chance to investigate this bug?

My sites went public and people generally liked them, but I already got questions about the missing line numbers... :-(

@jothepro
Copy link
Owner

I think I found the problem. Can you verify that c064ec1 fixes the problem?

@ilg-ul
Copy link
Contributor

ilg-ul commented Nov 27, 2023

I confirm that the line numbers now show on my site.

Could you make a new release so I can pick the commits? (2.2.2 in package.json if since 2.2.1 there were only bug fixes, or 2.3.0 if there were any additions to the api)

@jothepro
Copy link
Owner

Thx for the feedback!
I will need to do some more checks to make sure that the change is backwards compatible with older versions of Doxygen, then I will make a release! 👍

@ilg-ul
Copy link
Contributor

ilg-ul commented Nov 27, 2023

BTW, your cool theme was highly appreciated by those who reviewed my sites:

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants