How to add an external resource (pdf file) in my doxygen documentation
I generate a doxygen documentation. In one of my "page" I have a link to a pdf file:
<a href="../documents/xxx.pdf" target="_blank"><b>Overview</b>&开发者_开发技巧lt;/a>
This file is in my project in another directory. The documentation ends up in folder called "html".
How do I tell doxygen to copy the pdf file into html ?
There is a doxygen configuration option HTML_EXTRA_FILES
that allows extra files to be copied to the root of the html documentation. You should be able to specify the following to copy the file:
HTML_EXTRA_FILES = ../documents/xxx.pdf
This will place xxx.pdf in the root of your HTML documentation, so you will likely need to change your link to:
<a href="xxx.pdf" target="_blank"><b>Overview</b></a>
精彩评论