I had a problem understanding the purpose of namespaces and modules in a union. For example, I have a class Game.utils.Matrix . I want to annotate Game as a namespace, utils as a module, and Matrix as a class:
function Matrix(){}
It creates documentation, and the path to the name of the Matrix class is Game.utils~ Matrix , but if I follow the Module link, its path to the name is Module: utils without the Game namespace prefix, and if the following Game link does not contain the utils module reference.
In addition, I cannot add another class to this class, because this class does not appear on the utils module tab:
function Dictionary(){}
The question arises: what is the correct way to document namespaces and modules, and what is the use case for each of them?
source share