René's URL Explorer Experiment


Title: `pospell` fails with code entries · Issue #3324 · python/python-docs-es · GitHub

Open Graph Title: `pospell` fails with code entries · Issue #3324 · python/python-docs-es

X Title: `pospell` fails with code entries · Issue #3324 · python/python-docs-es

Description: For 3.13, there was a change in the documentation that now snippets were marked as translatable. This means that there is a large number of "new entries" that are snippets from the documentation page. Even though I believe this is a grea...

Open Graph Description: For 3.13, there was a change in the documentation that now snippets were marked as translatable. This means that there is a large number of "new entries" that are snippets from the documentation pa...

X Description: For 3.13, there was a change in the documentation that now snippets were marked as translatable. This means that there is a large number of "new entries" that are snippets from the docume...

Opengraph URL: https://github.com/python/python-docs-es/issues/3324

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`pospell` fails with code entries","articleBody":"For 3.13, there was a change in the documentation that now snippets were marked as translatable.\r\nThis means that there is a large number of \"new entries\" that are snippets from the documentation page.\r\n\r\nEven though I believe this is a great thing, the tooling around might need to be adapted.\r\nRecently I discovered that in some cases, `pospell` fails to parse and handle such entries.\r\n\r\nFor example:\r\n\r\n```\r\n#: ../Doc/library/typing.rst:3167\r\nmsgid \"\"\r\n\"@type_check_only\\n\"\r\n\"class Response:  # private or not available at runtime\\n\"\r\n\"    code: int\\n\"\r\n\"    def get_header(self, name: str) -\u003e str: ...\\n\"\r\n\"\\n\"\r\n\"def fetch_response() -\u003e Response: ...\"\r\nmsgstr \"\"\r\n\"@type_check_only\\n\"\r\n\"class Response:  # privada o no disponible en runtime\\n\"\r\n\"    code: int\\n\"\r\n\"    def get_header(self, name: str) -\u003e str: ...\\n\"\r\n\"\\n\"\r\n\"def fetch_response() -\u003e Response: ...\"\r\n```\r\n\r\nProduces a \r\n```\r\n\u003crst-doc\u003e:3: (ERROR/3) Unexpected indentation. while parsing: @type_check_only\r\nclass Response:  # privada o no disponible en runtime\r\n    code: int\r\n    def get_header(self, name: str) -\u003e str: ...\r\n\r\ndef fetch_response() -\u003e Response: ...\r\n```\r\n\r\nMarking those entries as fuzzy or adding three back-ticks \"```\" doesn't work, so I'm trying to brainstorm a bit how we could solve this.\r\nA couple of ideas would be to:\r\n\r\n1. Just try to fix at the docutils level (which is the source of the parsing error)\r\n2. Introduce a new identifier like `python-format` in order to take the content for granted and avoid parsing it.\r\n\r\nIdeas?\r\n\r\nCC: @JulienPalard ","author":{"url":"https://github.com/cmaureir","@type":"Person","name":"cmaureir"},"datePublished":"2024-11-24T14:01:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3324/python-docs-es/issues/3324"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:59992fc1-cdad-79c8-6f7e-ddf62fd48b3f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA13C:2A0D62:1A0CA12:23D645F:696AB214
html-safe-noncefb7c5d1c824c3da79d287d6f9eb2c499bf954dcbd8051ede478ae509631cfff0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTNDOjJBMEQ2MjoxQTBDQTEyOjIzRDY0NUY6Njk2QUIyMTQiLCJ2aXNpdG9yX2lkIjoiNzk4OTI3NDg2NjE0MzExMzc0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac84038760f82d151623de5f57cda9ae96141ffa56e366b4c898d10d6c85aae28e
hovercard-subject-tagissue:2687771193
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/python-docs-es/3324/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f30538e0baa61107d59f8df3a6e8fe73115bf3663ae6f169120a459657681e8/python/python-docs-es/issues/3324
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f30538e0baa61107d59f8df3a6e8fe73115bf3663ae6f169120a459657681e8/python/python-docs-es/issues/3324
og:image:altFor 3.13, there was a change in the documentation that now snippets were marked as translatable. This means that there is a large number of "new entries" that are snippets from the documentation pa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecmaureir
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
go-importgithub.com/python/python-docs-es git https://github.com/python/python-docs-es.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id185224402
octolytics-dimension-repository_nwopython/python-docs-es
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id185224402
octolytics-dimension-repository_network_root_nwopython/python-docs-es
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/python-docs-es/issues/3324#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-es%2Fissues%2F3324
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-es%2Fissues%2F3324
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fpython-docs-es
Reloadhttps://github.com/python/python-docs-es/issues/3324
Reloadhttps://github.com/python/python-docs-es/issues/3324
Reloadhttps://github.com/python/python-docs-es/issues/3324
python https://github.com/python
python-docs-eshttps://github.com/python/python-docs-es
Please reload this pagehttps://github.com/python/python-docs-es/issues/3324
Notifications https://github.com/login?return_to=%2Fpython%2Fpython-docs-es
Fork 400 https://github.com/login?return_to=%2Fpython%2Fpython-docs-es
Star 359 https://github.com/login?return_to=%2Fpython%2Fpython-docs-es
Code https://github.com/python/python-docs-es
Issues 357 https://github.com/python/python-docs-es/issues
Pull requests 11 https://github.com/python/python-docs-es/pulls
Actions https://github.com/python/python-docs-es/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/python-docs-es/security
Please reload this pagehttps://github.com/python/python-docs-es/issues/3324
Insights https://github.com/python/python-docs-es/pulse
Code https://github.com/python/python-docs-es
Issues https://github.com/python/python-docs-es/issues
Pull requests https://github.com/python/python-docs-es/pulls
Actions https://github.com/python/python-docs-es/actions
Security https://github.com/python/python-docs-es/security
Insights https://github.com/python/python-docs-es/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/python-docs-es/issues/3324
New issuehttps://github.com/login?return_to=https://github.com/python/python-docs-es/issues/3324
pospell fails with code entrieshttps://github.com/python/python-docs-es/issues/3324#top
https://github.com/cmaureir
https://github.com/cmaureir
cmaureirhttps://github.com/cmaureir
on Nov 24, 2024https://github.com/python/python-docs-es/issues/3324#issue-2687771193
@JulienPalardhttps://github.com/JulienPalard
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.