ndoc icon indicating copy to clipboard operation
ndoc copied to clipboard

Automatic namespace creation

Open ixti opened this issue 13 years ago • 2 comments

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.

ixti avatar Jul 16 '12 15:07 ixti

Afaik, this it not the first retry to solve it. Problem with auto-creation it, that we can't guess auto-created node type.

puzrin avatar Jul 16 '12 18:07 puzrin

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.

Sannis avatar Jul 19 '12 10:07 Sannis