Pergunta

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?

Foi útil?

Solução

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

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top