You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
napoleon_use_rtype = True gives inconsistent rendering for returns and parameters. I don't think this is what we want. I think we should manually define the links or just ignore them.
My preference would be to ignore the missing links in the rtypes (seems like an upstream bug to me) and manually define the links in the bullet lists (if present) below the rtypes (which would not be automatically linked regardless of the bug). These are the module docstrings which would need to be updated if we chose this solution:
My preference would be to ignore the missing links in the rtypes (seems like an upstream bug to me) and manually define the links in the bullet lists (if present) below the rtypes (which would not be automatically linked regardless of the bug).
Activity
maxrjones commentedon Feb 20, 2021
Relevant issue: sphinx-doc/sphinx#8290
Seems the options here are to either set
napoleon_use_rtype = Truein doc/conf.py, manually define the links, or wait for a bug fix.seisman commentedon Feb 20, 2021
Tried
napoleon_use_rtype = True, it gives:seisman commentedon Feb 20, 2021
napoleon_use_rtype = Truegives inconsistent rendering for returns and parameters. I don't think this is what we want. I think we should manually define the links or just ignore them.maxrjones commentedon Feb 22, 2021
My preference would be to ignore the missing links in the rtypes (seems like an upstream bug to me) and manually define the links in the bullet lists (if present) below the rtypes (which would not be automatically linked regardless of the bug). These are the module docstrings which would need to be updated if we chose this solution:
seisman commentedon Feb 22, 2021
Sounds good.