doc: Put functions in the right section

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>