apidoc: update doxygen configuration on-the-fly; optimized some