Fix custom action annotations doc

Fixes #3419