Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autodoc still using typehint types in properties #9384

Closed
Rapptz opened this issue Jun 28, 2021 · 0 comments · Fixed by nextcord/nextcord#294
Closed

Autodoc still using typehint types in properties #9384

Rapptz opened this issue Jun 28, 2021 · 0 comments · Fixed by nextcord/nextcord#294
Labels
Milestone

Comments

@Rapptz
Copy link
Contributor

Rapptz commented Jun 28, 2021

Describe the bug
Despite autodoc_typehints being set to none, properties have type hints rendered in the output.

To Reproduce
Steps to reproduce the behavior. Download the zip below and go to docs then run make html

Expected behavior
No type hints in the output.

Your project
sphinx-bug.zip

Screenshots
image

Environment info

  • OS: Windows 10
  • Python version: 3.9.2
  • Sphinx version: 4.0.2
  • Sphinx extensions: sphinx.ext.autodoc
  • Extra tools: N/A

Additional context

Issue discovered in a real project here (edit: I removed it using CSS).

@tk0miya tk0miya added extensions:autodoc type:proposal a feature suggestion and removed type:bug labels Jun 29, 2021
@tk0miya tk0miya added this to the 4.1.0 milestone Jun 29, 2021
tk0miya added a commit to tk0miya/sphinx that referenced this issue Jun 29, 2021
@tk0miya tk0miya closed this as completed in 2aef00d Jul 4, 2021
tk0miya added a commit that referenced this issue Jul 4, 2021
…_attributes

Fix #9384: autodoc_typehints='none' supports typehints for attributes
hkuno pushed a commit to hkuno/sphinx that referenced this issue Jul 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants