17

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></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 ?

Barth
  • 15,135
  • 20
  • 70
  • 105

1 Answers1

22

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>
DRH
  • 7,868
  • 35
  • 42