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
2010-09-15 18:12:29
Can you do that for just one file?
monksy
2010-09-15 18:13:36
@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
2010-09-15 18:41:39
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
2010-09-15 18:43:58
@monksy: I highly doubt that you can do that for only one file...
Eugen Constantin Dinca
2010-09-16 01:44:12