Replies: 2 comments 1 reply
-
The Member ID Fix-Ups plug-in is for fixing issues with member IDs generated by the C++ and VB compilers. The Additional Reference Links plug-in was mainly for the offline MSDN content. For online content, it is generally used to suppress the warnings and generate non-clickable labels rather than links. Out of the box there isn't a way to generate links to third party content but I plan on adding support at some point. I just haven't had the time to look into it. It has come up before and others have created plug-ins and components to handle it. This is one I found from issue 882. It may not be current and may require some updates to work with the latest release but appears to do what you want so it may be a good starting point. |
Beta Was this translation helpful? Give feedback.
-
See #998 for an improved version of the noted plug-in. |
Beta Was this translation helpful? Give feedback.
-
Description:
In some of my libraries I reference types in help pages that are not resolved automatically by SHFB.
Referencing such types (eg.
SKBitmap
or WinUI'sColor
) cause BE0066 warnings during the compilation.For example:
As a partial workaround now I replaced all
<see cref="..."/>
tags to<a href="...">...<a>
in the documentation comments but it resolves only the links I explicitly put into the description, not the generated ones. So the generated help page still contains unresolved links and the compilation is full of BE0066 warnings I cannot avoid so it's really hard to spot the real issues that I should fix.As an example, see this help page. I highlighted the result of the different references for the parameters:
Annotated links of this help page.
<see cref="..."/>
referencesBE0066
warnings)<a href="...">...<a>
references as workaround where<see cref="..."/>
references would not work (BE0066
)The question:
Is there a way to tell SHFB how to resolve these unknown targets? I would like to specify a custom mapping, something like this:
Apparently neither the Additional Reference Links, nor the Member ID Fix-Ups plugins can be used for this (or just I couldn't figure it out how). It would be nice to allow any URL not just learn.microsoft.com if the documentation for a member is somewhere else.
Beta Was this translation helpful? Give feedback.
All reactions