Skip to content

Commit

Permalink
add support for Doxygen 1.9.8 fragment code collapsing (fixes #128)
Browse files Browse the repository at this point in the history
  • Loading branch information
jothepro committed Nov 27, 2023
1 parent 8cea9a0 commit c064ec1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doxygen-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -1323,8 +1323,9 @@ div.fragment span.lineno a {
color: var(--fragment-link) !important;
}

div.fragment .line:first-child .lineno {
div.fragment > .line:first-child .lineno {
box-shadow: -999999px 0px 0 999999px var(--fragment-linenumber-background), -999998px 0px 0 999999px var(--fragment-linenumber-border);
background-color: var(--fragment-linenumber-background) !important;
}

div.line {
Expand Down
4 changes: 4 additions & 0 deletions include/MyLibrary/example.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,9 @@ class Example {

};

class SecondExample {
std::string foo();
}

}

0 comments on commit c064ec1

Please sign in to comment.