Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Support @see #7

Open
steffen-wilke opened this issue Apr 5, 2019 · 4 comments
Open

Support @see #7

steffen-wilke opened this issue Apr 5, 2019 · 4 comments

Comments

@steffen-wilke
Copy link

steffen-wilke commented Apr 5, 2019

Currently, the doclet doesn't provide support for the @see documentation tag. It would be great if it could produce a section with a list of links from these tags below the documentation similar to {@link ...} tags.
Example Input

/**
 * {DOCUMENTATION}
 * ....
 * @see SomeClass#someMethod()
 * @see SomeOtherClass
 */

Example Output:

{DOCUMENTATION}
....
See also SomeClass.someMethod(), SomeOtherClass
@andrei-punko
Copy link
Contributor

andrei-punko commented Apr 8, 2019

To make this feature available - may be some changes need to be applied from the DocFX side too, not only on doclet side (to get section 'see also'). So question (to DocFX developers @dendeli-msft @superyyrrzz ) is - what we want to see in generated .yml files when @see tags are present in source code?

@andrei-punko
Copy link
Contributor

Thanks, @superyyrrzz , seems doclet should generate seealso block with linkId and commentId inside it.
The linkId should contain uid of item.
But what about commentId field - is it mandatory? If so - what requirements about its content?

@superyyrrzz
Copy link
Collaborator

@v-anpunko commentId is a .NET specific concept, so linkId is enough.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants