Fix autosummary bug with @nosent template