[{"data":1,"prerenderedAt":158},["ShallowReactive",2],{"post-\u002Fblog\u002F2020\u002Fdoxygen-tips-and-tricks":3},{"id":4,"title":5,"body":6,"categories":144,"date":147,"description":68,"extension":148,"image":149,"meta":150,"navigation":153,"path":154,"seo":155,"stem":156,"__hash__":157},"blog\u002Fblog\u002F2020\u002Fdoxygen-tips-and-tricks.md","Doxygen - Tips and Tricks",{"type":7,"value":8,"toc":137},"minimark",[9,14,23,26,29,44,48,59,69,72,78,81,87,90,94,97,106,109,112,115,118,122],[10,11,13],"h2",{"id":12},"latex-non-interactive","LaTeX non-interactive",[15,16,17,18,22],"p",{},"To make LaTeX skip some errors without user interaction, you can add the option ",[19,20,21],"code",{},"--interaction=nonstopmode"," to the pdflatex call. Easiest way to do so, is changing the LATEX_COMMAND_NAME in your Doxyfile.",[15,24,25],{},"LATEX_CMD_NAME = \"latex --interaction=nonstopmode\"",[15,27,28],{},"Do not forget the double quotation marks. Otherwise doxygen will remove the space and the command in your make.bat will fail.",[15,30,31,32,35,36,39,40,43],{},"If you now want to generate the code, step into your doxygen-generated latex folder (designated by ",[19,33,34],{},"LATEX_OUTPUT"," option in Doxyfile) and execute ",[19,37,38],{},"make.bat"," (on Windows) or ",[19,41,42],{},"make all"," (on *nix).",[10,45,47],{"id":46},"adding-a-favicon-to-html-output","Adding a favicon to html output",[15,49,50,51,58],{},"Adding a favicon to html output, you need to specify it in a custom header and include the original image in HTML, as described ",[52,53,57],"a",{"href":54,"rel":55},"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F18215463\u002Fhow-to-set-a-favicon-for-doxygen-output",[56],"nofollow","here",". To extract the default header file:",[60,61,66],"pre",{"className":62,"code":64,"language":65},[63],"language-text","doxygen -w html headerFile\n","text",[19,67,64],{"__ignoreMap":68},"",[15,70,71],{},"Add the follwing line to in headerFile within the html header",[60,73,76],{"className":74,"code":75,"language":65},[63],"\u003Clink rel=\"shortcut icon\" href=\"favicon.png\" type=\"image\u002Fpng\">\n",[19,77,75],{"__ignoreMap":68},[15,79,80],{},"And add your headerFile and the image to the HTML_EXTRA_FILES in your Doxyfile. Its path is relative to your Doxyfile.",[60,82,85],{"className":83,"code":84,"language":65},[63],"HTML_HEADER = headerFile\nHTML_EXTRA_FILES = some_rel_path\u002Ffavicon.png\n",[19,86,84],{"__ignoreMap":68},[15,88,89],{},"Now you can generate your html documentation with some favicon in place.",[10,91,93],{"id":92},"pdf-output-destination","PDF output destination",[15,95,96],{},"Did you ever search for the PDF file, doxygen (or better the Makefile in latex) generates? I just added an option to doxygen, copying the refman.pdf to a location of your choice. (Hopefully it soon get's merged and released).",[15,98,99,100,105],{},"If you want to test it out? Compile doxygen from ",[52,101,104],{"href":102,"rel":103},"https:\u002F\u002Fgithub.com\u002Fthe78mole\u002Fdoxygen",[56],"my doxygen fork"," and add the following option to the Doxyfile of your project.",[15,107,108],{},"PDF_DST_FILE = ..\u002FMyGenerated.pdf",[15,110,111],{},"The destination is relative to your Makefile in your doxygen latex folder. As soon as make finished it's job, the PDF is just in the same folder, the latex folder resides in.",[15,113,114],{},"That's all. Enjoy generating software documentation with doxygen",[116,117],"hr",{},[10,119,121],{"id":120},"kommentare-comments","Kommentare \u002F Comments",[15,123,124,125,130,131,136],{},"Hast du Fragen oder Anmerkungen zu diesem Artikel? ",[52,126,129],{"href":127,"rel":128},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fissues\u002Fnew?title=Kommentar+zu%3A+doxygen-tips-and-tricks&labels=comment",[56],"Erstelle ein GitHub Issue"," oder starte eine ",[52,132,135],{"href":133,"rel":134},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fdiscussions",[56],"Diskussion",".",{"title":68,"searchDepth":138,"depth":138,"links":139},2,[140,141,142,143],{"id":12,"depth":138,"text":13},{"id":46,"depth":138,"text":47},{"id":92,"depth":138,"text":93},{"id":120,"depth":138,"text":121},[145,146],"Tools","Uncategorized","2020-05-28","md",null,{"tags":151},[152],"doxygen",true,"\u002Fblog\u002F2020\u002Fdoxygen-tips-and-tricks",{"title":5,"description":68},"blog\u002F2020\u002Fdoxygen-tips-and-tricks","NN3foueIHcuBm5EEm8U0R2Ij2W13bO3yxa7MnU5CFbA",1777286694238]