DenverCoder1 / doxygen-github-pages-action

GitHub Action for deploying Doxygen documentation to a GitHub pages branch
MIT License
75 stars 16 forks source link

idea: graphviz support #14

Closed PF94 closed 1 year ago

PF94 commented 2 years ago

the yml file does not appear to install graphviz, meaning that attempting to use graphviz will most likely error out.

DenverCoder1 commented 2 years ago

Have you tried adding a step to install it before starting the doxygen workflow?

I have not tested this, but that could be a simple solution if it works.

Otherwise, maybe it could be interesting to have an optional parameter for additional dependencies it should install.

PF94 commented 2 years ago

Have you tried adding a step to install it before starting the doxygen workflow?

I have not tested this, but that could be a simple solution if it works.

are there any ways on how to do that?

DenverCoder1 commented 2 years ago

If it is a ubuntu package, in the steps you can try to add

    - name: Install graphviz
      run: sudo apt-get install graphviz -y
      shell: bash

You can see the yml file for an example

antonioiuliano2 commented 2 years ago

Hello,

First, thank you very much for this very useful GitHub Action!

I also confirm that the current version does not support graphs. In particular, it complains about "dot" command missing.

Your suggested solution to install graphviz worked for me. Thank you very much.