1

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.

Bill Blair
  • 61
  • 1
  • 2
  • 10

1 Answers1

2

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:

  • Doxygen tool should be installed on the Build agent machine (download)
  • PdfLatex tool should be installed on the Build 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.

Hope this helps.

Leo Liu
  • 71,098
  • 10
  • 114
  • 135
  • 2
    How do we look at the generated docs? I see that Azure DevOps has a Documentation section under Repos but that page just tells me that my build doesn't have docs. That page also only links to some old builds for other projects. – Justin Harris Jan 12 '21 at 15:29