Update doxygen config to place generated files in ./gen/doxygen

Also enable the tree view in the documentation.