-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Remove interactive snippets #50074
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
Remove interactive snippets #50074
Conversation
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.
Pull request overview
This pull request removes interactive code snippet functionality from .NET documentation files, excluding introductory tutorials. The changes systematically remove interactive="try-dotnet", interactive="try-dotnet-method", and related attributes from code blocks, and delete three include files that contained notes about the Try.NET interactive code runner.
Key Changes
- Removed three include files that contained interactive code runner notes and instructions
- Updated code snippet references to remove interactive attributes from approximately 200+ code blocks across documentation files
- Removed explanatory notes about the Try.NET playground from several articles
Reviewed changes
Copilot reviewed 90 out of 90 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| includes/csharp-interactive-with-utc-partial-note.md | Deleted include file containing interactive note with UTC timezone disclaimer |
| includes/csharp-interactive-partial-note.md | Deleted include file containing partial interactive code runner note |
| includes/csharp-interactive-note.md | Deleted include file containing full interactive code runner note |
| docs/standard/base-types/*.md | Removed interactive attributes from code snippets in base types documentation |
| docs/fundamentals/runtime-libraries/*.md | Removed interactive attributes from runtime libraries reference documentation |
| docs/csharp/tutorials/string-interpolation.md | Removed interactive attributes from tutorial code examples |
| docs/csharp/language-reference/**/*.md | Removed interactive attributes from language reference documentation |
| docs/csharp/how-to/*.md | Removed interactive attributes from how-to guides |
| docs/csharp/fundamentals/object-oriented/objects.md | Removed interactive attributes from OOP documentation |
The changes are consistent and focused solely on removing interactive functionality. No issues were identified with the implementation.
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.
lgtm
Remove interactive snippets from all docs except the introductory tutorials.
Contributes to #50331
Internal previews
Toggle expand/collapse
break,continue,return, andgotoSystem.Globalization.DateTimeFormatInfoclassNote
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.