Title: [v1.x] ci: pick the docs toolchain per worktree in build-docs.sh by maxisbey · Pull Request #3082 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: [v1.x] ci: pick the docs toolchain per worktree in build-docs.sh by maxisbey · Pull Request #3082 · modelcontextprotocol/python-sdk
X Title: [v1.x] ci: pick the docs toolchain per worktree in build-docs.sh by maxisbey · Pull Request #3082 · modelcontextprotocol/python-sdk
Description: Backports main's toolchain-detecting scripts/build-docs.sh (from #3073) verbatim. Motivation and Context The combined Pages deploy builds both branches — v1.x at the site root and main under /v2/ — from whichever branch triggered the push. Once #3073 lands, main's half builds with Zensical, and this branch's hardcoded mkdocs build would fail every v1.x-triggered deploy. With the detection, each worktree is built with the toolchain its own files declare; v1.x keeps building with MkDocs via the fallback arm (which also owns its dependency sync). Safe to merge before or after #3073: when main has no scripts/docs/build.sh yet, the detection falls back to the current MkDocs path for both halves. How Has This Been Tested? Both arms of this exact file were exercised on real builds for #3073: the Zensical arm in that PR's CI docs job and validation runs, the MkDocs fallback arm as the v1.x half of the combined-build verification. Breaking Changes None. Types of changes Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally
Open Graph Description: Backports main's toolchain-detecting scripts/build-docs.sh (from #3073) verbatim. Motivation and Context The combined Pages deploy builds both branches — v1.x at the site root and main under /v...
X Description: Backports main's toolchain-detecting scripts/build-docs.sh (from #3073) verbatim. Motivation and Context The combined Pages deploy builds both branches — v1.x at the site root and main unde...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3082
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c5a1114c-910c-593b-e983-08c7e1607bd2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CAE:FAEC1:6B98C3:9CB092:6A58930C |
| html-safe-nonce | 8db623cf34a35b0a309e915702fef136f4218327f0e61218dbd05c69238c5f9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0FFOkZBRUMxOjZCOThDMzo5Q0IwOTI6NkE1ODkzMEMiLCJ2aXNpdG9yX2lkIjoiMjYxMzI3MjU4Njc0NzQxNzM1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a63777ab5d858288e1e00574df113f1b987c08ae44b98885216bae2bb74bfee5 |
| hovercard-subject-tag | pull_request:4022532150 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3082/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Backports main's toolchain-detecting scripts/build-docs.sh (from #3073) verbatim. Motivation and Context The combined Pages deploy builds both branches — v1.x at the site root and main under /v... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width