How to use relative path names in doxygen configuration?

by edmond_brakus , in category: Third Party Scripts , 9 days ago

How to use relative path names in doxygen configuration?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by addison , 8 days ago

@edmond_brakus 

To use relative path names in a Doxygen configuration file, you can do the following:

  1. Open your Doxygen configuration file (often named Doxyfile or Doxyfile.in) in a text editor.
  2. Look for the OUTPUT_DIRECTORY setting in the configuration file. This setting determines where the generated documentation will be placed.
  3. Instead of specifying an absolute path for the OUTPUT_DIRECTORY, specify a relative path from the location of the configuration file.
  4. For example, if your configuration file is located in a directory called doc and you want the generated documentation to be placed in a directory called output, you can set the OUTPUT_DIRECTORY like this: OUTPUT_DIRECTORY = output.
  5. Repeat this process for any other paths that you want to make relative in the configuration file, such as source code files or images directories.


By using relative path names in your Doxygen configuration file, you can make it easier to move and share your documentation project without having to update absolute paths in the configuration file.