Title: Docs: Add `make htmllive` to rebuild and reload HTML files in your browser by hugovk · Pull Request #111900 · python/cpython · GitHub
Open Graph Title: Docs: Add `make htmllive` to rebuild and reload HTML files in your browser by hugovk · Pull Request #111900 · python/cpython
X Title: Docs: Add `make htmllive` to rebuild and reload HTML files in your browser by hugovk · Pull Request #111900 · python/cpython
Description: Add a make htmllive target to use https://github.com/executablebooks/sphinx-autobuild. When you run it, it builds the docs and serves them at something like http://127.0.0.1:8000/ You can visit any page, for example http://127.0.0.1:8000/pep-0101.html, and when you edit/save your source .rst file, it will automatically rebuild and update the page in the browser. This drastically improves the edit/inspect loop. A very nice touch is it will also keep you at the same position in the page. Compare before: switch to IDE: edit, save switch to prompt: make html switch to browser: reload, inspect repeat To this PR: switch to IDE: edit, save switch to prompt: make html switch to browser: reload, inspect repeat We've already added this to the devguide (python/devguide#1208, python/devguide#1212) and have an open PR for the PEPs: python/peps#3521. cc @pradyunsg 📚 Documentation preview 📚: https://cpython-previews--111900.org.readthedocs.build/
Open Graph Description: Add a make htmllive target to use https://github.com/executablebooks/sphinx-autobuild. When you run it, it builds the docs and serves them at something like http://127.0.0.1:8000/ You can visit any...
X Description: Add a make htmllive target to use https://github.com/executablebooks/sphinx-autobuild. When you run it, it builds the docs and serves them at something like http://127.0.0.1:8000/ You can visit any...
Opengraph URL: https://github.com/python/cpython/pull/111900
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0c9371ee-4c46-5326-26ee-2d8fc5e10699 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA2C:3BDB63:BDE150:10A2189:696A640E |
| html-safe-nonce | da507a397e8270d628fe561b396b2a9a9a3a10684b0cc5e72e08fd16eb5b4024 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTJDOjNCREI2MzpCREUxNTA6MTBBMjE4OTo2OTZBNjQwRSIsInZpc2l0b3JfaWQiOiI2NDgwNjUwNjQ2ODkyMjA5MTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6e12572598c24a7737fa4a7db9aaa9e3ae6a4463e7457c26a160daddb1461091 |
| hovercard-subject-tag | pull_request:1594698892 |
| 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/python/cpython/pull/111900/files |
| twitter:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| og:image:alt | Add a make htmllive target to use https://github.com/executablebooks/sphinx-autobuild. When you run it, it builds the docs and serves them at something like http://127.0.0.1:8000/ You can visit any... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width