mattnotmitt / doxygen-action

GitHub Action for generating Doxygen documentation for your projects.
MIT License
98 stars 38 forks source link

Feature additional packages #14

Closed FelipeGdM closed 3 years ago

FelipeGdM commented 3 years ago

Hello everyone

I want to use different fonts when exporting graphs with dot, but I have not managed to correctly use the DOT_FONTPATH configuration (I suspect it is broken due to fontconfig use in newer versions of graphviz). So, it is necessary to install custom fonts system-wide in order to generate graphs with them.

The solution I took is to create an additional argument in the configuration of the action, allowing users to specify alpine font packages to be installed and then used by dot. Letting users install arbitrary packages is not the smartest idea in terms of security concerns, but it may not be a major problem in our case.

With this modification I was able to install Fira Code package for Alpine and generate graphs with it

mattnotmitt commented 3 years ago

Thanks for your contribution! Released in v1.3.0 and v1 tag has been moved.