Generate hydra api documentation.
flake8 fixes.