Public modules can be declared as normal. Internal modules should have @ingroup internals after the group definition.
But made sure that any undocumented parts generates a warning