Title: Remove include:: replacements hack by rtobar · Pull Request #2875 · python/python-docs-es · GitHub
Open Graph Title: Remove include:: replacements hack by rtobar · Pull Request #2875 · python/python-docs-es
X Title: Remove include:: replacements hack by rtobar · Pull Request #2875 · python/python-docs-es
Description: We currently need to replace the include:: directives in the cpython documentation source files to fix an issue that sphinx/docutils have with relative source files after changing the app.srcdir in our conf.py. Instead of doing this, let's define the app.srcdir property as an absolute path. This removes the issue altogether, yielding a correct build without the need to modify the documentation source files. This change seems to have the nice side effect that successive builds are not incremental rather than starting from scratch. Edit: additionally, we now define sphinx's app.srcdir as a Path, which seems to be a requirement at least in 8.1.3, which is what we''l use for building the 3.13 docs. See sphinx-doc/sphinx#13018. Closes #1844
Open Graph Description: We currently need to replace the include:: directives in the cpython documentation source files to fix an issue that sphinx/docutils have with relative source files after changing the app.srcdir in...
X Description: We currently need to replace the include:: directives in the cpython documentation source files to fix an issue that sphinx/docutils have with relative source files after changing the app.srcdir in...
Opengraph URL: https://github.com/python/python-docs-es/pull/2875
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bc5c2813-0519-dc13-671f-36b162d3cb06 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D078:25671:13D2B32:1BC5195:696F5FDE |
| html-safe-nonce | 3013ab9fccb14ba455b01501fdb8ae8df2b952cc29a5b64ab8da8e3be955cfdd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDc4OjI1NjcxOjEzRDJCMzI6MUJDNTE5NTo2OTZGNUZERSIsInZpc2l0b3JfaWQiOiI1MTU0MzI1NzY0NzY0NTU3Mjc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 00c4e26e5845be50ef3fb1a797c43a1b565acd2eec0fb20297698e8b7e359d1f |
| hovercard-subject-tag | pull_request:2184243861 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python-docs-es/pull/2875/checks |
| twitter:image | https://avatars.githubusercontent.com/u/620848?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/620848?s=400&v=4 |
| og:image:alt | We currently need to replace the include:: directives in the cpython documentation source files to fix an issue that sphinx/docutils have with relative source files after changing the app.srcdir in... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 774d0922d2c4577043d2dab90427344eb4c6ce1d5579acb1dd504cff1a7e46f8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/python-docs-es git https://github.com/python/python-docs-es.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 185224402 |
| octolytics-dimension-repository_nwo | python/python-docs-es |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 185224402 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-es |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 650acea592f12d1bd8931d44546c209e0b06ed6e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width