remove python devtools and AI from docs#2734
Merged
Conversation
heyitsaamir
previously approved these changes
Apr 8, 2026
added 2 commits
April 13, 2026 11:16
Contributor
There was a problem hiding this comment.
Pull request overview
Removes Python DevTools and Python AI documentation content from the Teams SDK docs site (teams.md) by restricting AI templates to TS/C# and deleting Python AI include fragments, plus updating the Python getting-started examples accordingly.
Changes:
- Restrict AI template generation to
typescript/csharp(and some pages totypescriptonly) and updatestatic/missing-pages.jsonto hide Python versions. - Delete Python AI include fragments (A2A/MCP/chat/function-calling/etc.).
- Update Python quickstart/code-basics includes to remove DevTools references and adjust the sample output (port 3978).
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| teams.md/static/missing-pages.json | Marks AI pages as unavailable for Python (and some pages for C#) so language switching doesn’t offer missing pages. |
| teams.md/src/pages/templates/in-depth-guides/ai/setup-and-prereqs.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/mcp/mcp-server.mdx | Removes Python from languages list (TS-only). |
| teams.md/src/pages/templates/in-depth-guides/ai/mcp/mcp-client.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/mcp/README.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/keeping-state.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/function-calling.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/chat.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/best-practices.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/in-depth-guides/ai/a2a/a2a-server.mdx | Removes Python from languages list (TS-only). |
| teams.md/src/pages/templates/in-depth-guides/ai/a2a/a2a-client.mdx | Removes Python from languages list (TS-only). |
| teams.md/src/pages/templates/in-depth-guides/ai/a2a/README.mdx | Removes Python from languages list (TS-only). |
| teams.md/src/pages/templates/in-depth-guides/ai/README.mdx | Adds languages frontmatter to exclude Python generation. |
| teams.md/src/pages/templates/getting-started/code-basics.mdx | Removes “Implement AI” from next-steps list. |
| teams.md/src/components/include/in-depth-guides/ai/setup-and-prereqs/python.incl.md | Removes Python-only AI setup/prereqs include. |
| teams.md/src/components/include/in-depth-guides/ai/python.incl.md | Removes Python-only AI package-name include. |
| teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-server/python.incl.md | Removes Python MCP server include content. |
| teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/python.incl.md | Removes Python MCP client include content. |
| teams.md/src/components/include/in-depth-guides/ai/keeping-state/python.incl.md | Removes Python keeping-state include content. |
| teams.md/src/components/include/in-depth-guides/ai/function-calling/python.incl.md | Removes Python function-calling include content. |
| teams.md/src/components/include/in-depth-guides/ai/chat/python.incl.md | Removes Python chat include content. |
| teams.md/src/components/include/in-depth-guides/ai/best-practices/python.incl.md | Removes Python best-practices include content. |
| teams.md/src/components/include/in-depth-guides/ai/a2a/python.incl.md | Removes Python A2A overview include content. |
| teams.md/src/components/include/in-depth-guides/ai/a2a/a2a-server/python.incl.md | Removes Python A2A server include content. |
| teams.md/src/components/include/in-depth-guides/ai/a2a/a2a-client/python.incl.md | Removes Python A2A client include content. |
| teams.md/src/components/include/getting-started/quickstart/python.incl.md | Removes DevTools log lines and updates the shown port to 3978. |
| teams.md/src/components/include/getting-started/code-basics/python.incl.md | Removes DevToolsPlugin usage from Python snippet. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
MehakBindra
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.