Replies: 4 comments
-
the To list the available namepaths for your file(s), use
Some example namepath Does that help? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
It seems you're using Typescript (based on seeing Could you post a reproduction case? A jsdoc2md command I can run along with the required modules, config and input TS file containing the documented source. Just a minimal example I can quickly run, I don't need your full codebase.. This page states |
Beta Was this translation helpful? Give feedback.
-
Have you tried using jsdoc directly against your code? If so, does the jsdoc output look correct? jsdoc2md sits downstream of the jsdoc output so it's important to get things looking correct in jsdoc first. If there's nothing more to add, please feel free to close this. |
Beta Was this translation helpful? Give feedback.
-
I have a JS Class with various property methods. Some of those methods are alias'es of other methods. I'm trying to figure out how the
@alias
works with this library.For example I have this
So
removeAll
is my class method that does something.forgetAll
is just an alias forremoveAll
and does the exact same thing.When I run
jsdoc2md
I get something like this:And then later in the doc:
myclass.removeAll() => this
whatever blah blah
Kind: instance method of MyClass
Properties
Name removeAll
forgetAll => this
Kind: global function
Property: forgetAll
So
@alias
appears to think my alias function is now static and pulls it outside my class as a global function.How is this all supposed to work exactly?
Also if I try to link to another method like this:
This is an alias method for {@link removeAll}
it just creates markdown like this:
<p>This is an alias method for [removeAll](removeAll)</p>
This does NOT render as a link in the markdown.
Also why doesn't it link to the anchor links that jsdoc2md generates on the page? For example shouldn't it render as this?
[removeAll](#MyClass+removeAll)
?
Beta Was this translation helpful? Give feedback.
All reactions