How do i remove the source path in doxygen

Dan K picture Dan K · Jul 2, 2013 · Viewed 8k times · Source

I am using doxygen to generate a chm document for my header files. I have a problem in removing the path of the source (i.e header files) in my chm. For example if the path of my header files is c:\users\dx\Desktop\myprogram, my path seems to appear in the file reference, right below File List and File Members (i.e when i click on files -> and then on my header file name i am able to see the absolute path of my header files ) The link below is an image of a screen shot of the problem i am facing.

https://www.dropbox.com/sc/qzodmybui6nxub2/BeAqf7y2jM

How do i remove the directory reference, header file reference, how can i prevent those paths from displaying?

I tried removing source_browsers, verbatim_headers, strip_from_inc_path none of them worked

Thanks in advance.

Ps- Extremely sorry about the poor description, i hope the link would help to understand my problem

Answer

BW0 picture BW0 · Jul 2, 2013

Set FULL_PATH_NAMES = YES and STRIP_FROM_PATH = ../

The value passed to STRIP_FROM_PATH is dependent on where you are running doxygen from. I am assuming you are running doxygen in a subdirectory of the root of the source.