It's all there! Doc comments use "///". Then use "--generate-html", e.g. we use

1
fsc.exe --generate-html --html-output-directory Doc --html-namespace-file namespaces.html

You can also generate XML docs which you can ship with a DLL.

Cheers!

don

By on 5/25/2007 1:26 PM ()

Is this function removed in the most recent version of fsc.exe? I get "Unrecognized option: --generate-html" when I try running that.

By on 6/23/2011 4:15 AM ()

Yes, this was moved into the PowerPack a couple years ago:

[link:fsharppowerpack.codeplex.com]

F# Documentation generator
FsHtmlDoc.exe, included in PowerPack, can be used to generate HTML documentation from the XMLDoc comments in F# source files

By on 6/23/2011 9:11 AM ()

Hello,

Sorry to dig up an old thread, but is there a comprehensive tag list available for the fsc.exe doc generator?

If not, the next step will be experimentation (which honestly doesn't take that long, but I would like to avoid if I can).

Thanks,

Z.

By on 10/18/2007 12:20 PM ()

The tags follow the same pattern as C#, I have been unable to find an official schema, but there is a good explanation of them here:
[link:blogs.msdn.com]

Also someone seems to have reverse engineered a schema here:
[link:weblogs.asp.net]

By on 10/18/2007 9:25 PM ()

Hi Robert,

Thanks for the links. If it is modeled after C#, the following might help people also:

Recommended C# Tags: [link:msdn2.microsoft.com]

NDoc supported tags (the ones NOT marked as "[NDoc Only]"): [link:ndoc.sourceforge.net]

Regards,

Z.

By on 10/19/2007 9:36 AM ()

Could you please give a sample how you would comment (curried) parameters?

Regards,
Forki

By on 4/18/2009 7:28 AM ()

oh sorry, i missed that.

is there information available on this, eg. are the flags equal to C# comments? at the moment it just seems to throw everything as a one-liner into "description".

By on 5/29/2007 9:39 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper