-
Notifications
You must be signed in to change notification settings - Fork 158
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
Exceptions when attempting to generate documentation #784
Comments
I got Visual Studio to rebuild the solution file (removed the Sutil main project and re-added it). I may be able to diff and report back |
Hello, when using When going with I cloned your repo, and create a console app that references #r "nuget: FSharp.Formatting, 16.1.1"
open FSharp.Formatting.ApiDocs
open System.IO
let file = "./Entry/bin/Release/net6.0/Sutil.dll"
let input = ApiDocInput.FromFile(file)
let references =
[
"Browser.Blob.dll"
"Browser.Css.dll"
"Browser.Dom.dll"
"Browser.Event.dll"
"Browser.Gamepad.dll"
"er.MediaQueryList.dll"
"Browser.Svg.dll"
"Browser.WebStorage.dll"
"ConstructStyleSheetsPolyfill.dll"
"Fable.Core.dll"
"Fable.Promise.dll"
"Feliz.Engine.Bulma.dll"
"Feliz.Engine.dll"
"Feliz.Engine.Event.dll"
"FSharp.Core.dll"
]
|> List.map (fun dep ->
Path.Combine(__SOURCE_DIRECTORY__, "Entry/bin/Release/net6.0", dep)
|> sprintf "-r:%s")
ApiDocs.GenerateHtml(
[ input ],
output = "./apidocs/output",
collectionName = "Sutil",
// template = Path.Combine("apidocs", "templates", "template.html"),
substitutions = [],
otherFlags = references
) This was generating documentation for me. @baronfel FCS has a preview version on NuGet without any deps to MSBuild. Do we want to upgrade to that? |
I'd like to get @KevinRansom to push a stable version, but yeah that should be the path forward. |
Thank you everyone for taking a look - I closed it because I found I was suffering from a mixture of dotnet version, fsdocs version and corrupted solution file. |
% dotnet --version 6.0.404 % uname -a Darwin davebook.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64
Have tried using
dotnet fsdocs build
My
gendoc.fsx
script:What am I doing wrong? Feel free to check out and build Sutil
The text was updated successfully, but these errors were encountered: