Docs: Fix XML code blocks

Created on 26 Dec 2018  路  13Comments  路  Source: dotnet/docs

Some hand-written XML code blocks contain mistakes. I tried to find them out with XmlReader.

The output is here with a few false positives.

Pri3 doc-bug up-for-grabs

All 13 comments

Thank you for tackling this. I'm assigning this to you and I'll put it in our current project/milestone. Please let me know when you've finished (it seems like you're going to do multiple PRs?) and I'll close this.

You could remove the WIP label and add an up-for-grabs.

Done @NextTurn

280 left.

280 left.

@NextTurn, the link in the original issue is dead. May you update the issue with those 280 ?

I'd be glad if you would pick it up. @Youssef1313.

274

https://gist.github.com/NextTurn/a1445dfee1b8e51d5890c9b886a3fbf1

Hello @Youssef1313 , how could I help with this issue ? Is this (https://gist.github.com/NextTurn/a1445dfee1b8e51d5890c9b886a3fbf1)
the last version of what has been left ?
Thank you.

@cloudn9 Sorry for the delay. I've updated the gist with 267 entries.

@Thraka I should have raised this question eons ago: shall we consider using {} for placeholders in place of <>? Braces are used in XML docs (triple-slash comments) and often used in file names for generic type signatures (e.g. List{T}).

@Thraka I should have raised this question eons ago: shall we consider using {} for placeholders in place of <>? Braces are used in XML docs (triple-slash comments) and often used in file names for generic type signatures (e.g. List{T}).

Thank you @NextTurn for that quesiton. I had some doubts while removing the <>s.

I think having no special syntax is fine. The placeholders are usually in some sort of context that is talking about that specific feature or area of XML so it's easy to understand. I would just make sure that the placeholder uses - to connect words like package-id or version-number.

I think having no special syntax is fine. The placeholders are usually in some sort of context that is talking about that specific feature or area of XML so it's easy to understand. I would just make sure that the placeholder uses - to connect words like package-id or version-number.

Thank you @Thraka, so if in our case we have "previous value" it becomes "previous-value" right ?
It does not mean that the previous value should contain a - inside ?

Correct.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gmatv picture gmatv  路  3Comments

stjepan picture stjepan  路  3Comments

LJ9999 picture LJ9999  路  3Comments

mekomlusa picture mekomlusa  路  3Comments

sime3000 picture sime3000  路  3Comments