Use autofunction instead of automodule in docs