A proposed change to the Content Security Policy (CSP) of our web server to disallow inline script is causing a problem with the documentation generated by doxygen. Specifically, the problem occurs in the generated index.html file. Specifically, it is the following:
If the initMenu() inline script is put into a separate file that is just included like other JavaScript files, everything works just fine. Is there a doxygen option to put all JavaScript into files rather than inline? We can postprocess the generated file to do this, but may not know when the "pattern" of this code may change due to updates in doxygen itself.
Any suggestions would be welcome.
Thank you
Fritz Sieker
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A proposed change to the Content Security Policy (CSP) of our web server to disallow inline script is causing a problem with the documentation generated by doxygen. Specifically, the problem occurs in the generated index.html file. Specifically, it is the following:
If the initMenu() inline script is put into a separate file that is just included like other JavaScript files, everything works just fine. Is there a doxygen option to put all JavaScript into files rather than inline? We can postprocess the generated file to do this, but may not know when the "pattern" of this code may change due to updates in doxygen itself.
Any suggestions would be welcome.
Thank you
Fritz Sieker