-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Remove md shortcuts and their references #5372
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
Conversation
gewarren
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome. Thanks @carlossanlop! For the XAML2009 replacement, just wondering if there should be a space in the middle.
|
I would not have done it if you had not suggested it, @gewarren :) You're talking about I'll merge until the CI starts working again. |
gewarren
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are the XAML2009 instances.
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
|
Docs Build status updates of commit 22dd25d:
|
|
Docs Build status updates of commit 22dd25d:
|
|
I got warnings but they do not seem to be related to my changes. @gewarren is it ok if we merge this? Edit: Got Genevieve's confirmation via chat. |
From a conversation with @gewarren, we want to remove the *.md shortcut files from the ~/include folder. These files contain texts representing official ways of calling different products or services, and they are referenced in markdown remarks all over dotnet-api-docs xmls.
We need to remove them because they prevent the DocsPortingTool from converting many remarks from CDATA+markdown into plain text (there is no way to convert INCLUDE sections to xml). We prefer to use plain xml so that Roslyn can validate triple slash comments (it is unable to validate a CDATA section).
I am requesting help from the heavy cavalry to review this huge PR: @gewarren @BillWagner @dotnet/docs @mairaw.
The PR is split in individual commits for each shortcut file to make it easier to review. I also deleted the referenced files, plus a few others that had no references anywhere.
I limited the removal of *.md files to only those whose contents have less than 80 characters. All other larger files can stay because they are what we call "lengthy remarks" and their use is repeated in many places.
In case anyone is curious, I wrote a tool to automate the substitution of all these shortcut files and uploaded it here: https://github.com/carlossanlop/experiments/tree/ShortcutReplacer
cc @jeffhandley