René's URL Explorer Experiment


Title: bug: Closing parenthesis missing for PEP 695 type parameters with docstring_section_style: list · Issue #349 · mkdocstrings/python · GitHub

Open Graph Title: bug: Closing parenthesis missing for PEP 695 type parameters with docstring_section_style: list · Issue #349 · mkdocstrings/python

X Title: bug: Closing parenthesis missing for PEP 695 type parameters with docstring_section_style: list · Issue #349 · mkdocstrings/python

Description: Description of the bug When a PEP 695 generic class has a Type parameters: docstring section and docstring_section_style is set to list, the closing parenthesis after each type parameter's bound is missing from the rendered page. The out...

Open Graph Description: Description of the bug When a PEP 695 generic class has a Type parameters: docstring section and docstring_section_style is set to list, the closing parenthesis after each type parameter's bound is...

X Description: Description of the bug When a PEP 695 generic class has a Type parameters: docstring section and docstring_section_style is set to list, the closing parenthesis after each type parameter's boun...

Opengraph URL: https://github.com/mkdocstrings/python/issues/349

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Closing parenthesis missing for PEP 695 type parameters with docstring_section_style: list","articleBody":"### Description of the bug\n\nWhen a PEP 695 generic class has a `Type parameters:` docstring section and `docstring_section_style` is set to `list`, the closing parenthesis after each type parameter's bound is missing from the rendered page. \n\nThe output is `TId (Hashable – Type of the entity identifier.` instead of `TId (Hashable) – Type of the entity identifier.`. The generated HTML also does not contain the `)`. Switching to `docstring_section_style: table` renders all three type parameters correctly, so the bug appears to be in the `list` section template.\n\n### To Reproduce\n\nConfiguration (`mkdocs.yml`):\n\n```yaml\nplugins:\n  - mkdocstrings:\n      handlers:\n        python:\n          options:\n            docstring_style: google\n            docstring_section_style: list\n            show_signature: true\n            show_signature_annotations: true\n```\n\nModule:\n\n```python\nclass Entity[TId: Hashable, M: Snapshot, S: State]:\n    \"\"\"An entity.\n\n    Type parameters:\n        TId (Hashable): Type of the entity identifier.\n        M (Snapshot): Snapshot type returned by to_snapshot().\n        S (State): Internal state type that holds internal mutable data.\n    \"\"\"\n```\n\nSteps:\n\n1. Use the configuration and module above.\n2. Add `::: module.Entity` to a Markdown page.\n3. Run `mkdocs build` and open the generated page.\n4. Look at the Type parameters section. The closing `)` is missing after each bound.\n\nRemoving `griffe_typingdoc` from the extensions and renaming the heading to `Type Parameters:` do not change the output.\n\n### Full traceback\n\nNo traceback. The build completes without errors or warnings.\n\n### Expected behavior\n\nEach type parameter is shown with its bound in parentheses, for example `TId (Hashable) – Type of the entity identifier.`\n\n### Environment information\n\npython -m mkdocstrings_handlers.python._internal.debug\n- __System__: macOS-14.7.2-x86_64-...\n- __Python__: cpython 3.13.9 (.../.venv/bin/python)\n- __Environment variables__:\n- __Installed packages__:\n  - `mkdocstrings-python` v2.0.10\n\nOUTPUT\n```text\nClass Type Parameters:\n\nTId (Hashable– Type of the entity identifier.\nM (Snapshot– Snapshot type returned by to_snapshot().\nS (State– Internal state type that holds internal mutable data.\n```\n\n### Additional context\n\nVersions: mkdocstrings-python 2.0.10, griffelib 2.4.1, griffe not installed. \n\nThe `table` layout output for the same class is:\n\n| Name | Bound or Constraints | Description | Default |\n| --- | --- | --- | --- |\n| TId | Hashable | Type of the entity identifier. | required |\n| M | Snapshot | Snapshot type returned by to_snapshot(). | required |\n| S | State | Internal state type that holds internal mutable data. | required |\n````_\n","author":{"url":"https://github.com/vadzimk","@type":"Person","name":"vadzimk"},"datePublished":"2026-11-11T18:08:21Z","url":"https://github.com/mkdocstrings/python/issues/349"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8d564309-e920-aa69-5627-bb8a8249b550
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD590:28F09A:5A9EDF:7DE62B:6AF857F7
html-safe-noncee64303692f0ac62599e1b5e410d592db1466923d6d6c4b3da0b0b1c3c2b523f0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTkwOjI4RjA5QTo1QTlFREY6N0RFNjJCOjZBRjg1N0Y3IiwidmlzaXRvcl9pZCI6IjMzMjIxMzM5NDM3MDc3ODUyMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccbdada1660ae4badc24b9f864f436ba8132519af5a3e5d376a43ef135707a15c
hovercard-subject-tagissue:6334438079
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/mkdocstrings/python/349/issue_layout
twitter:imagehttps://opengraph.githubassets.com/32576c117d3c989d04d1135a72c8d3bea17a8e3eddeac6a9f6cb31a9463252bf/mkdocstrings/python/issues/349
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/32576c117d3c989d04d1135a72c8d3bea17a8e3eddeac6a9f6cb31a9463252bf/mkdocstrings/python/issues/349
og:image:altDescription of the bug When a PEP 695 generic class has a Type parameters: docstring section and docstring_section_style is set to list, the closing parenthesis after each type parameter's bound is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevadzimk
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
go-importgithub.com/mkdocstrings/python git https://github.com/mkdocstrings/python.git
octolytics-dimension-user_id75664361
octolytics-dimension-user_loginmkdocstrings
octolytics-dimension-repository_id422878404
octolytics-dimension-repository_nwomkdocstrings/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id422878404
octolytics-dimension-repository_network_root_nwomkdocstrings/python
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
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://redirect.github.com/mkdocstrings/python/issues/349#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmkdocstrings%2Fpython%2Fissues%2F349
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmkdocstrings%2Fpython%2Fissues%2F349
Sign uphttps://redirect.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=mkdocstrings%2Fpython
Reloadhttps://redirect.github.com/mkdocstrings/python/issues/349
Reloadhttps://redirect.github.com/mkdocstrings/python/issues/349
Reloadhttps://redirect.github.com/mkdocstrings/python/issues/349
mkdocstringshttps://redirect.github.com/mkdocstrings
pythonhttps://redirect.github.com/mkdocstrings/python
Codehttps://redirect.github.com/mkdocstrings/python
Issues6 (6)https://redirect.github.com/mkdocstrings/python/issues
Pull requestshttps://redirect.github.com/mkdocstrings/python/pulls
Discussionshttps://redirect.github.com/mkdocstrings/python/discussions
Actionshttps://redirect.github.com/mkdocstrings/python/actions
Security and qualityhttps://redirect.github.com/mkdocstrings/python/security
Insightshttps://redirect.github.com/mkdocstrings/python/pulse
https://redirect.github.com/mkdocstrings/python
New issuehttps://redirect.github.com/login?return_to=https://github.com/mkdocstrings/python/issues/349
New issuehttps://redirect.github.com/login?return_to=https://github.com/mkdocstrings/python/issues/349
bug: Closing parenthesis missing for PEP 695 type parameters with docstring_section_style: listhttps://redirect.github.com/mkdocstrings/python/issues/349#top
https://redirect.github.com/pawamoy
bugSomething isn't workinghttps://github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/vadzimk
vadzimkhttps://github.com/vadzimk
on Nov 11, 2026https://github.com/mkdocstrings/python/issues/349#issue-6334438079
vadzimkhttps://redirect.github.com/vadzimk
pawamoyhttps://redirect.github.com/pawamoy
on Nov 11, 2026https://github.com/mkdocstrings/python/issues/349#event-35828957973
vadzimkhttps://redirect.github.com/vadzimk
unconfirmedThis bug was not reproduced yethttps://redirect.github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22unconfirmed%22
on Nov 11, 2026https://github.com/mkdocstrings/python/issues/349#event-35828961216
https://redirect.github.com/vadzimk
vadzimkhttps://redirect.github.com/vadzimk
on Nov 11, 2026https://github.com/mkdocstrings/python/issues/349#issuecomment-6803643653
#221https://github.com/mkdocstrings/python/pull/221
pawamoyhttps://redirect.github.com/pawamoy
on Nov 12, 2026https://github.com/mkdocstrings/python/issues/349#event-35906837361
fix: Add missing closing parenthesis around type parameter typehttps://github.com/mkdocstrings/python/commit/ecfd54d4a7530fbed1f53ac023c37ae7d247b9db
ecfd54dhttps://github.com/mkdocstrings/python/commit/ecfd54d4a7530fbed1f53ac023c37ae7d247b9db
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Nov 12, 2026https://github.com/mkdocstrings/python/issues/349#issuecomment-6822607469
@vadzimkhttps://github.com/vadzimk
ecfd54dhttps://github.com/mkdocstrings/python/commit/ecfd54d4a7530fbed1f53ac023c37ae7d247b9db
pawamoyhttps://redirect.github.com/pawamoy
completedhttps://redirect.github.com/mkdocstrings/python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 12, 2026https://github.com/mkdocstrings/python/issues/349#event-35906861609
pawamoyhttps://redirect.github.com/pawamoy
bugSomething isn't workinghttps://redirect.github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22bug%22
unconfirmedThis bug was not reproduced yethttps://redirect.github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22unconfirmed%22
on Nov 12, 2026https://github.com/mkdocstrings/python/issues/349#event-35906869672
Sign up for freehttps://redirect.github.com/signup?return_to=https://github.com/mkdocstrings/python/issues/349
Sign in to commenthttps://redirect.github.com/login?return_to=https://github.com/mkdocstrings/python/issues/349
pawamoyhttps://redirect.github.com/pawamoy
bugSomething isn't workinghttps://github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22bug%22
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.