views:

68

answers:

1

I'm using doxygen to generate HTML documentation. I have a C++ source file that contains only global functions. All of the global functions are document, and the documentation is properly generated. For all of the headers in the project there is a link to “see the code that this documentation was generated by.” (as a link to the HTMLized code). The CPP file that the documentation has generated does not create a similar link. How can I force it to link to the code, and generate an HTMLized version?

+1  A: 

You need to set INLINE_SOURCES = YES in the config file, see here for more details.

Eugen Constantin Dinca
Can you do that for just one file?
monksy
@monksy: It might if you play with the `FILE_PATTERNS` tag, setting it to something like `FILE_PATTERNS=<your cpp>.cpp *.h *.hpp`. Not 100% sure about the syntax or side effects...
Eugen Constantin Dinca
Can you just enable that option for only one file. I have many files that are being document but I only need that side effect for one file.
monksy
@monksy: I highly doubt that you can do that for only one file...
Eugen Constantin Dinca