Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for generating docs for type providers #143

Merged
merged 3 commits into from
Mar 10, 2014

Conversation

ovatsus
Copy link

@ovatsus ovatsus commented Mar 9, 2014

This is a very hacky solution, as FCS doesn't support this. The xml docs of type providers don't even go to the generated xml doc from the compiler, you only get a bunch of <member name=""></member>.
What this does is look at the xml docs and get the names of the static params, but it's not able to get neither the type, default value or optionality. And if the xmldocs don't document all the parameters, they won't go into the fsharp.formatting generated docs

@ovatsus
Copy link
Author

ovatsus commented Mar 9, 2014

I also didn't have type to add tests for this, but it generate this successfully:

image

tpetricek added a commit that referenced this pull request Mar 10, 2014
Support for generating docs for type providers
@tpetricek tpetricek merged commit 1acaa44 into fsprojects:master Mar 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants