Skip to content

Update xml-documentation.md - #20645

Merged
cartermp merged 15 commits into
dotnet:masterfrom
dsyme:patch-2
Sep 15, 2020
Merged

Update xml-documentation.md#20645
cartermp merged 15 commits into
dotnet:masterfrom
dsyme:patch-2

Conversation

@dsyme

@dsymedsyme commented Sep 15, 2020

Copy link
Copy Markdown
Contributor

Summary

Give more precise information on XML doc comments and include information from dotnet/fsharp#10118

Some of the text is taken form the C# documentation comment pages

cc @cartermp

Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
@baronfel

Copy link
Copy Markdown
Member

There are also detailed-message pages started in the docs/fsharp/language-reference/compiler-messages directory of this repo that tooling can use to provide examples for specific warning and errors. Would it make sense to progressively add to those in situations like this where new messages are added?

Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
Comment threaddocs/fsharp/language-reference/xml-documentation.md Outdated
dsymeand others added 12 commits September 15, 2020 18:10
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
@dsyme

Copy link
Copy Markdown
ContributorAuthor

There are also detailed-message pages started in the docs/fsharp/language-reference/compiler-messages directory of this repo that tooling can use to provide examples for specific warning and errors. Would it make sense to progressively add to those in situations like this where new messages are added?

I personally think we should move to a content driven approach for these, where FSComp.txt contains the detailed explanations, so they are authored and correlated in-repo

Though if opinion differs or this is too hard then I guess we can do it by hand, or at least register these as a backlog for that doc debt

@dsyme

Copy link
Copy Markdown
ContributorAuthor

All review comments incorporated thanks

@cartermpcartermp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@dsyme@baronfel@cartermp@Youssef1313@BillWagner@dotnet-bot