The doc is a part of the standard library file : https://raw.githubusercontent.com/dtschump/gmic/master/src/gmic_stdlib.gmic
(search for first occurence of ‘atan2’ in it, for instance).
It is generated automatically by a G’MIC command itself (command -document_gmic).