Skip to content

docs(site): add Python installation command to homepage - #487

Merged
robgruen merged 2 commits into
microsoft:mainfrom
OKAN-SOFTWARE:docs/480-python-install-website
Nov 1, 2026
Merged

robgruen merged 2 commits into
microsoft:mainfrom
OKAN-SOFTWARE:docs/480-python-install-website

Conversation

@OKAN-SOFTWARE

Copy link
Copy Markdown
Contributor

Summary

  • Add Python installation instructions alongside the existing npm command on the TypeChat homepage.
  • Update the clipboard handler to support multiple installation commands.
  • Read commands directly from their respective code elements, keeping the copy functionality reusable.
  • Preserve the existing styling and accessible button feedback.

Validation

  • node --check site/src/js/interactivity.js — passed
  • npm ci --prefix site — completed successfully
  • npm run build --prefix site — passed
  • Manually verified that both npm and pip copy buttons copy the correct commands.

Closes #480

Copilot AI balanced review requested due to automatic review settings November 1, 2026 18:11

Copilot AI 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.

🟢 Approval recommended

There are no active review issues with the added Python installation instructions and reusable copy-button handling.

No open issues 🎉

What changed in this PR

Adds Python installation instructions to the TypeChat homepage alongside the npm command, addressing #480.

Changes:

  • Labels the JavaScript / TypeScript and Python installation commands.
  • Makes clipboard handling reusable across both commands, with independent feedback timers and accessible button labels.
File Description
site/​src/​js/​interactivity.js Handles each copy button independently and reads its command from the associated code element.
site/​src/​index.njk Adds the Python install command and copy button alongside the labeled npm instructions.

Review effort: Balanced

@robgruen robgruen 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.

Looks good. Thank you for adding that!

@robgruen
robgruen merged commit 62bb48c into microsoft:main Nov 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update website to include pip install note similar to npm install note.

3 participants