fsprojects / FSharp.Formatting

F# tools for generating documentation (Markdown processor and F# code formatter)
https://fsprojects.github.io/FSharp.Formatting/
Other
464 stars 156 forks source link

Transient problems with new FSharp.Formatting #103

Closed ovatsus closed 10 years ago

ovatsus commented 10 years ago

Sometimes I get errors like this:

System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The process cannot access the file 'C:\src\FSharp.Data\docs\output\reference\fsharp-data-runtime-structuralinference-seq.html' because it is being used by another process.

ovatsus commented 10 years ago

It's probably because it's generating docs for FSharp.Data.dll and for FSharp.Data.Experimental.dll in parallel and there's overlap?

tpetricek commented 10 years ago

That sounds like a reasonable explanation - perhaps we can start with ignoring the Experimental DLL? There is not much where the docs would be actually useful...

ovatsus commented 10 years ago

Well, for now we can remove it. But I’d like to eventually get this to work, I’d like to find a way to get reference documentation for type provider static parameters

From: Tomas Petricek Sent: ‎Tuesday‎, ‎21‎ ‎January‎ ‎2014 ‎01‎:‎46 To: tpetricek/FSharp.Formatting Cc: Me

That sounds like a reasonable explanation - perhaps we can start with ignoring the Experimental DLL? There is not much where the docs would be actually useful...

— Reply to this email directly or view it on GitHub.

tpetricek commented 10 years ago

Yes.. I think the new F# Compiler Services might actually give us information about provided types and provided parameters (though we might need to be careful - we do not want to generate docs for the entire Freebase :-)).

ovatsus commented 10 years ago

Just the description of the typeProvider and the descrptions for the parameters would be enough I guess. Right know we're getting an empty page: http://blog.codebeside.org/FSharp.Data/reference/fsharp-data-csvprovider.html

Date: Mon, 20 Jan 2014 17:52:16 -0800 From: notifications@github.com To: FSharp.Formatting@noreply.github.com CC: gustavo@codebeside.org Subject: Re: [FSharp.Formatting] Transient problems with new FSharp.Formatting (#103)

Yes.. I think the new F# Compiler Services might actually give us information about provided types and provided parameters (though we might need to be careful - we do not want to generate docs for the entire Freebase :-)).

— Reply to this email directly or view it on GitHub.

tpetricek commented 10 years ago

Yep, please file a bug with F# Formatting. I think this should work, but it might need some more collaboration with F# Compiler Services. Thanks!

ovatsus commented 10 years ago

Doesn't happen any more