Get Access to YAML metadata using Plugin, and possibly filter out some APIs using C# code and generate a CSV format. #8162
chaitanyamalik
started this conversation in
General
Replies: 1 comment 3 replies
-
I suspect Roslyn APIs would be better for this than DocFX. You'd be able to support new language versions without waiting for DocFX v2 to be updated. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
I'm relatively new in .NET and C# coding and it's the first time I came across DocFX.
I'm just dealing with metadata for a project and I don't need the HTML content in any way. I want to extract some content for unit tests in my project which is being extracted well by
docfx metadata
into YAML format.I want to be able to filter out only the APIs I need. I tried that using filter_config but it didn't seem to workout. I raised an issue for the same. #8150
However, I've been told that a better use and implementation of my task would be, if I am able to access YAML files using Plugins.
The documentation on the usage of Plugins is quite thin, so here I am looking for some guidance.
My goal is to load a list of Unit Tests and certain key value pairs of that test from YAML that match a certain condition, into a CSV format.
Is this possible to do just by writing a block of code in C# using DocFX Plugins..?
Beta Was this translation helpful? Give feedback.
All reactions