azure-devopsdoxygen

Does anyone know how to use the Doxygen Tool in Azure DevOps?


Specifically I need the yaml for the build definition. I already have Doxygen and Latex installed on the agent machine. Also, I can create Doxygen documentation for the C# Restful API manually using the tool.


Solution

  • Does anyone know how to use the Doxygen Tool in Azure DevOps?

    To use the Doxygen Tool in Azure DevOps, we need to install required softwares on agent machine:

    Then add the task Documentation (Doxygen) in the build pipeline to generate the documentation from source code in your repository. On successful generation, the task uploads the file as Build artifact so that it can be downloaded at later time:

    enter image description here

    Note: This extension doesn't works with Hosted build agent as of now. So, please use a locally configured build agent.

    Besides, if you want to generate YAML documentation, you could try to use the extension YAML Documentation Generator.