Skip to content

Comments

@module takes an arg, to give name (re #5)#8

Open
gregglind wants to merge 1 commit intoolivernn:masterfrom
gregglind:bug5mainmodule
Open

@module takes an arg, to give name (re #5)#8
gregglind wants to merge 1 commit intoolivernn:masterfrom
gregglind:bug5mainmodule

Conversation

@gregglind
Copy link

@module and @memberof together are enough to force a tree-like structure
to the document. However @module requires a ctx object to get a
sensible name (from ctx.name). For the main module (and in some other
cases, like weird coding patters, evals, and anywhere else the regex
pased detection in dox fails (Moz code like 'const','let', others),
that name will be non-existent or wrong.

Here:

@module modname

will specify a module name to use.

@module and @memberof together are enough to force a tree-like structure
to the document.  However @module requires a `ctx` object to get a
sensible name (from ctx.name).  For the `main` module (and in some other
cases, like weird coding patters, evals, and anywhere else the regex
pased detection in `dox` fails (Moz code like 'const','let', others),
that name will be non-existent or wrong.

Here:

  @module modname

will specify a module name to use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant