Question

When a method is clicked from the index, it goes to the detailed documentation of the method. However if the method happens to be near the bottom of the page, it is not visually easy to spot the documentation of the interested function. Python docs makes it easier by highlighting the clicked link's header in yellow: https://docs.python.org/2.7/library/string.html#string.upper. Is it possible to achieve similar highlighting in doxygen created docs?

Was it helpful?

Solution

In your Doxyfile, set:

HTML_EXTRA_STYLESHEET  = extra.css

Inside extra.css add:

a:target+div div:first-child {
    background-image: none;
    background-color: #fbe54e;
}

Here is what it looks like when you click on a method:

Selected method with highlighted header

OTHER TIPS

It seems unsupported - you should file a request to the wish list

It seems that you could try to modify the .css file.

How to customize Doxygen HTML Output

Css Highlight

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top