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

Non-decorator property not honored in attr intersphinx #10514

Open
jaraco opened this issue Jun 3, 2022 · 0 comments
Open

Non-decorator property not honored in attr intersphinx #10514

jaraco opened this issue Jun 3, 2022 · 0 comments

Comments

@jaraco
Copy link

jaraco commented Jun 3, 2022

Describe the bug

Like #7183, I've stumbled onto an apparent issue with intersphinx and :attr: references to properties. In particular, I'm getting this warning:

/Users/jaraco/code/main/cssutils/docs/css.rst:11: WARNING: py:attr reference target not found: cssutils.css.CSSStyleSheet.cssRules

Even though that property does exist. It does seem that if I replace the property() syntax with an @property decorator, the issue goes away.

How to Reproduce

$ git clone https://github.com/jaraco/cssutils@96019226
$ cd cssutils
$ tox -e docs | grep 'py:attr reference target not found: cssutils.css.CSSStyleSheet.cssRules'

Expected behavior

Sphinx should find the property.

Your project

https://github.com/jaraco/cssutils

Screenshots

No response

OS

any

Python version

3.10.1

Sphinx version

5.0.1

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

@jaraco jaraco added the type:bug label Jun 3, 2022
@AA-Turner AA-Turner added this to the 5.x milestone Jun 5, 2022
@AA-Turner AA-Turner modified the milestones: 5.x, 6.x Oct 4, 2022
@AA-Turner AA-Turner modified the milestones: 6.x, 7.x Apr 29, 2023
@AA-Turner AA-Turner modified the milestones: 7.x, 8.x Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants