ndoc
ndoc copied to clipboard
Automatic namespace creation
If a method/property defined on unexisting namespace, it should be automagically created.
USE CASE: documenting nodeca.shared.blogs.do_somthing() requries both shared and shared.blogs to be explicitly defined (to correctly build menu and breadcrumbs), but it's kinda stupid to have namespace stubs in each file.
Afaik, this it not the first retry to solve it. Problem with auto-creation it, that we can't guess auto-created node type.
There may be only three variants: class, property or namespace. IMO classes should be defined explicitly. Propertty? o_0 So I do not see a real example, when guessing may fail.