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 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

3 Comments

Can you do that for just one file?
@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...
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.