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

python domain generates unexpected prefix #6196

Closed
tk0miya opened this issue Mar 23, 2019 · 0 comments
Closed

python domain generates unexpected prefix #6196

tk0miya opened this issue Mar 23, 2019 · 0 comments

Comments

@tk0miya
Copy link
Member

tk0miya commented Mar 23, 2019

Describe the bug
python domain generates unexpected prefix

To Reproduce

.. py:class:: Foo

   .. py:method:: Foo.say(name)

   .. py:method:: FooBar.say(name)

The former is displayed as say(), without prefix. But another one is displayed as Bar.say(). It is very strange to me.

スクリーンショット 2019-03-23 18 18 07

Expected behavior

The second example will be displayed as FooBar.say().

Environment info

  • OS: Mac
  • Python version: 3.6.5
  • Sphinx version: 2.0.0b2
@tk0miya tk0miya added this to the 2.0.0 milestone Mar 23, 2019
tk0miya added a commit to tk0miya/sphinx that referenced this issue Mar 23, 2019
tk0miya added a commit that referenced this issue Mar 23, 2019
Fix #6196: py domain: unexpected prefix is generated
@tk0miya tk0miya closed this as completed Mar 23, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant