开发者

How to add an external resource (pdf file) in my doxygen documentation

开发者 https://www.devze.com 2023-04-05 20:22 出处:网络
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>

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>
0

精彩评论

暂无评论...
验证码 换一张
取 消