René's URL Explorer Experiment


Title: bug: “type”, not “typealias“ & you’re confusing “role” and “objtype” · Issue #339 · mkdocstrings/python · GitHub

Open Graph Title: bug: “type”, not “typealias“ & you’re confusing “role” and “objtype” · Issue #339 · mkdocstrings/python

X Title: bug: “type”, not “typealias“ & you’re confusing “role” and “objtype” · Issue #339 · mkdocstrings/python

Description: Description of the bug In these two spots, you should pass role="type", “typealias” is neither a role that exists nor a valid objtype python/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja Line 38 in 8125b...

Open Graph Description: Description of the bug In these two spots, you should pass role="type", “typealias” is neither a role that exists nor a valid objtype python/src/mkdocstrings_handlers/python/templates/material/_bas...

X Description: Description of the bug In these two spots, you should pass role="type", “typealias” is neither a role that exists nor a valid objtype python/src/mkdocstrings_handlers/python/templates/mat...

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

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: “type”, not “typealias“ & you’re confusing “role” and “objtype”","articleBody":"### Description of the bug\n\nIn these two spots, you should pass `role=\"type\"`, “typealias” is neither a role that exists nor a valid objtype\n\nhttps://github.com/mkdocstrings/python/blob/8125b0d28b039693ff05b8caac981da47eb4cd7c/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja#L38\n\nhttps://github.com/mkdocstrings/python/blob/8125b0d28b039693ff05b8caac981da47eb4cd7c/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja#L86\n\nThere’s also a bigger bug in `mkdocstrings` (https://github.com/mkdocstrings/mkdocstrings/issues/826), and probably zensical: `role` != `objtype`:\n\nhttps://github.com/mkdocstrings/mkdocstrings/blob/9a11dcb8e9b39ff6e1a22abdd362350de4e68e9f/src/mkdocstrings/_internal/inventory.py#L64\n\ne.g. the role `attr` refers to objtype “attribute”,\n\n### To Reproduce\ndocument this:\n\n```py\ntype Foo = int\n```\n\nthe objects.inv you create will contain broken entries\n\n### Full traceback\nN/A\n\n### Expected behavior\n- `type` statements create `type` entries in `object.inv` (not `typealias`)\n- attributes create `attribute` entries in `objects.inv` (not `attr`, that’s the role used to refer to them)\n\n### Environment information\nv2.0.8\n\n### Additional context\nN/A\n","author":{"url":"https://github.com/flying-sheep","@type":"Person","name":"flying-sheep"},"datePublished":"2026-09-03T13:58:36Z","url":"https://github.com/mkdocstrings/python/issues/339"}

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:983baf50-2f71-fd6c-9a9b-309a53666475
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB256:3B6BD:2ADD08:3ACC88:6AF8425A
html-safe-nonce3b28a2ec4898bdd93150810302b9a107aaed974d7a3f4f47b12e2716b9e4faeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjU2OjNCNkJEOjJBREQwODozQUNDODg6NkFGODQyNUEiLCJ2aXNpdG9yX2lkIjoiNTU2MzkyMzMwNDI4OTU3Mjc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac668036b7d3f8403037b70461db212725671bda2a47a38aab6c347c2d53f48b3e
hovercard-subject-tagissue:5337552135
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/339/issue_layout
twitter:imagehttps://opengraph.githubassets.com/07c90af14c903d4d96421735f6f756a4a8a6f9b9a78977e3000af4564ffe4d78/mkdocstrings/python/issues/339
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/07c90af14c903d4d96421735f6f756a4a8a6f9b9a78977e3000af4564ffe4d78/mkdocstrings/python/issues/339
og:image:altDescription of the bug In these two spots, you should pass role="type", “typealias” is neither a role that exists nor a valid objtype python/src/mkdocstrings_handlers/python/templates/material/_bas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameflying-sheep
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/339#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmkdocstrings%2Fpython%2Fissues%2F339
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%2F339
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/339
Reloadhttps://redirect.github.com/mkdocstrings/python/issues/339
Reloadhttps://redirect.github.com/mkdocstrings/python/issues/339
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/339
New issuehttps://redirect.github.com/login?return_to=https://github.com/mkdocstrings/python/issues/339
bug: “type”, not “typealias“ & you’re confusing “role” and “objtype”https://redirect.github.com/mkdocstrings/python/issues/339#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/flying-sheep
flying-sheephttps://github.com/flying-sheep
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issue-5337552135
python/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinjahttps://github.com/mkdocstrings/python/blob/8125b0d28b039693ff05b8caac981da47eb4cd7c/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja#L38
8125b0dhttps://redirect.github.com/mkdocstrings/python/commit/8125b0d28b039693ff05b8caac981da47eb4cd7c
python/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinjahttps://github.com/mkdocstrings/python/blob/8125b0d28b039693ff05b8caac981da47eb4cd7c/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja#L86
8125b0dhttps://redirect.github.com/mkdocstrings/python/commit/8125b0d28b039693ff05b8caac981da47eb4cd7c
mkdocstrings/mkdocstrings#826https://github.com/mkdocstrings/mkdocstrings/issues/826
https://github.com/mkdocstrings/mkdocstrings/blob/9a11dcb8e9b39ff6e1a22abdd362350de4e68e9f/src/mkdocstrings/_internal/inventory.py#L64https://github.com/mkdocstrings/mkdocstrings/blob/9a11dcb8e9b39ff6e1a22abdd362350de4e68e9f/src/mkdocstrings/_internal/inventory.py#L64
flying-sheephttps://redirect.github.com/flying-sheep
pawamoyhttps://redirect.github.com/pawamoy
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#event-30493215258
flying-sheephttps://redirect.github.com/flying-sheep
unconfirmedThis bug was not reproduced yethttps://redirect.github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22unconfirmed%22
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#event-30493216903
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5528445999
@flying-sheephttps://github.com/flying-sheep
@bskinnhttps://github.com/bskinn
@flying-sheephttps://github.com/flying-sheep
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5528617340
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5528753624
@flying-sheephttps://github.com/flying-sheep
https://redirect.github.com/bskinn
bskinnhttps://redirect.github.com/bskinn
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5528774723
@pawamoyhttps://github.com/pawamoy
bskinn/sphobjinv#234https://github.com/bskinn/sphobjinv/issues/234
bskinn/sphobjinv#234 (comment)https://github.com/bskinn/sphobjinv/issues/234#issuecomment-1104177790
https://redirect.github.com/bskinn
bskinnhttps://redirect.github.com/bskinn
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5528798872
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 3, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5528852593
https://github.com/orgs/sphinx-doc/discussions/12204https://github.com/orgs/sphinx-doc/discussions/12204
https://redirect.github.com/flying-sheep
flying-sheephttps://redirect.github.com/flying-sheep
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5536927136
https://redirect.github.com/flying-sheep
flying-sheephttps://redirect.github.com/flying-sheep
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5537112726
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5538997152
a scripthttps://gist.github.com/pawamoy/ecf3a8c9f22d538752989c907949a00d
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5539160289
@bskinnhttps://github.com/bskinn
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5539190168
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 Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#event-30547851178
https://redirect.github.com/flying-sheep
flying-sheephttps://redirect.github.com/flying-sheep
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5539362739
https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/intersphinx/_resolve.py#L144https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/intersphinx/_resolve.py#L144
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5539557283
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 4, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5540034860
https://github.com/orgs/sphinx-doc/discussions/14667https://github.com/orgs/sphinx-doc/discussions/14667
pawamoyhttps://redirect.github.com/pawamoy
on Sep 22, 2026https://github.com/mkdocstrings/python/issues/339#event-31600146795
fix: Improve inventory object types (incorrectly called roles in mkdo…https://github.com/mkdocstrings/python/commit/d754326b534a7771a5d815935976bdb869913a5f
d754326https://github.com/mkdocstrings/python/commit/d754326b534a7771a5d815935976bdb869913a5f
https://redirect.github.com/pawamoy
pawamoyhttps://redirect.github.com/pawamoy
on Sep 22, 2026https://github.com/mkdocstrings/python/issues/339#issuecomment-5776792273
#340https://github.com/mkdocstrings/python/pull/340
pawamoyhttps://redirect.github.com/pawamoy
completedhttps://redirect.github.com/mkdocstrings/python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 22, 2026https://github.com/mkdocstrings/python/issues/339#event-31600250547
Sign up for freehttps://redirect.github.com/signup?return_to=https://github.com/mkdocstrings/python/issues/339
Sign in to commenthttps://redirect.github.com/login?return_to=https://github.com/mkdocstrings/python/issues/339
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.