Skip to content

Conversation

bart-degreed
Copy link
Contributor

Added auto-expansion of inheritdoc comments using https://github.com/saucecontrol/InheritDoc, so that VS Intellisense picks it up when consumed as package reference.

Fixes #940.

@bart-degreed bart-degreed marked this pull request as draft February 9, 2021 17:11
@bart-degreed
Copy link
Contributor Author

This does not remove warnings from DocFX, will look at those later.

@bart-degreed
Copy link
Contributor Author

Looked into why warnings are still being produced by DocFX. The reason is that DocFX uses roslyn to re-parse the sources and discards the compiler-generated JsonApiDotNetCore.xml that was produced during solution build.

This can be changed in docfx.json by replacing:

"files": [ "**/JsonApiDotNetCore.csproj" ],

with:

"files": [ "src/JsonApiDotNetCore/bin/Release/netcoreapp3.1/JsonApiDotNetCore.dll" ],

The upside of that is documentation generation runs a lot faster and handles inheritdoc properly, but the downside is we lose integration with sources on GitHub and some other minor details, so I think it is not worth the change.

Before:
image

After:
image

@bart-degreed bart-degreed marked this pull request as ready for review February 10, 2021 11:16
@bart-degreed bart-degreed requested a review from maurei February 10, 2021 11:17
@maurei maurei merged commit a6b9305 into master Feb 10, 2021
@maurei maurei deleted the fix-inheritdoc-expansion branch February 10, 2021 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Missing help in IntelliSense
2 participants