Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove line references in generate output in doxygen?

Tags:

doxygen

I want to remove lines look as follows but I still want to return source code browsing

Definition at line 377 of file xxx.h. 

I have tried the following two in the doxygen config file but these just remove cross references on types

# If the REFERENCES_RELATION tag is set to YES 
# then for each documented function all documented entities 
# called/used by that function will be listed.

REFERENCES_RELATION    = NO

# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) 
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from 
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will 
# link to the source code.  Otherwise they will link to the documentation.

REFERENCES_LINK_SOURCE = NO

update: I've just trying setting the following and seems to do the jobs but waiting to confirm if this is the correct way of achieving what I want

SOURCE_BROWSER         = NO
like image 296
dubnde Avatar asked May 26 '10 12:05

dubnde


People also ask

How exclude code from doxygen?

How can I make doxygen ignore some code fragment? The new and easiest way is to add one comment block with a \cond command at the start and one comment block with a \endcond command at the end of the piece of code that should be ignored.

How do I add a new line in doxygen?

Add \n followed by a space at the end of your line [1]. Especially recommended when editing with Emacs, which reacts in weird ways to the other suggested solution <br> . [1] As per @albert's comment. Works for me under Doxygen 1.8.

How do I show code in doxygen?

You can put example source code in a special path defined in the doxygen config under EXAMPLE_PATH , and then insert examples with the @example tag. Doxygen will then generate an extra page containing the source of the example. It will also set a link to it from the class documentation containing the example tag.


2 Answers

Got it

SOURCE_BROWSER = NO

like image 58
dubnde Avatar answered Oct 18 '22 19:10

dubnde


documentation also mention

To get rid of all source code in the generated output, make sure also VERBATIM_HEADERS is set to NO.

like image 34
PypeBros Avatar answered Oct 18 '22 21:10

PypeBros