Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i remove the source path in doxygen

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

like image 594
Dan K Avatar asked Jul 02 '13 10:07

Dan K


People also ask

How to parse files with an unknown extension in Doxygen?

In the past doxygen parsed all files with an unknown extension as C files which could lead to undesired results. Since version 1.8.8, doxygen requires that you specify a mapping that tells for a certain file extension, which parser to use. This mapping is specified using the EXTENSION_MAPPING tag.

What is file mapping in Doxygen?

Since version 1.8.8, doxygen requires that you specify a mapping that tells for a certain file extension, which parser to use. This mapping is specified using the EXTENSION_MAPPING tag. If no mapping is specified the file's contents will be ignored.

How do I use the Doxygen structural command?

The Doxygen structural command to use is “@mainpage” as shown in the example above. This tag on one of our markdown files will tell the Doxygen parser that a given markdown file is the main page for the project. This is the page shown when you click index.html from the HTML folder generated by Doxygen. These are the normal pages.

Can Doxygen generate HTML webpages?

Apart from syntaxes and tags mentioned above, Doxygen can also use markdown files to generate HTML webpages as part of your documentation. If you need to provide code snippets, coding standards, architecture information, etc, on your documentation then the best way to do it is via pages or markdown files.


1 Answers

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.

like image 89
BW0 Avatar answered Oct 20 '22 00:10

BW0