langroodi / doxygenize

Minimalist GitHub Action to automatically publish Doxygen-generated code documentation to GitHub Pages
MIT License
16 stars 3 forks source link

Doxygen configuration file cannot be found at: ./docs/doxyconfig.in #5

Closed tschmoderer closed 3 years ago

tschmoderer commented 3 years ago

Tried to setup this actions with the following parameters:

Run langroodi/doxygenize@v1.4 with: doxygenconf: ./docs/doxyconfig.in htmloutput: ./docs/html/ ghpagesbranch: main ghpagesdir: ./docs/

Error produced is : Doxygen configuration file cannot be found at: ./docs/doxyconfig.in

Edit : my bad I missunderstood that I had to have checkout in my actions ! Thank's for the code :)

langroodi commented 3 years ago

That setup you gave to the action will cause an issue. Your Doxygen config file is located at ghpagesdir directory. The action after reading your config file, starts generating the HTML documents. Afterward, it cleans the ghpagesdir directory which means it also deletes the config file. And finally, it moves all the HTML document to the cleaned ghpagesdir directory. So, the next time when the action is triggered, there won't be any config file, and the action fails. For now, you can locate your config file at a different place. But, I will assign to issue to myself to find a vivid solution for that.

langroodi commented 3 years ago

This time is my bad :D : I found out that your current branch (main) is the same as the ghpagesbranch. In this case the action avoid cleaning ghpagesdir. So, I guess there should not be any issue in your current setup. I will close the ticket for now, but if the problem was something different that I did not understand correctly, please reopen the issue with more information (such as a link to your public repository).