Groups
Groups
Sign in
Groups
Groups
sphinx-users
Conversations
About
Send feedback
Help
Should "autodoc_type_aliases" systematically generate links to the alias?
94 views
Skip to first unread message
Thomas Mansencal
unread,
Feb 5, 2022, 1:38:00 AM
2/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-users
Hello,
I was wondering if it is expected that the
autodoc_type_aliases
does not systematically generate links to the alias?
Taking this page for example:
https://colour.readthedocs.io/en/develop/generated/colour.RGB_to_YCbCr.html#colour.RGB_to_YCbCr
colour.RGB_to_YCbCr(
RGB: ArrayLike
,
K:
numpy.ndarray
= WEIGHTS_YCBCR['ITU-R BT.709']
,
in_bits: Integer =10
,
in_legal: Boolean = False
,
in_int: Boolean = False
,
out_bits: Integer = 8
,
out_legal: Boolean = True
,
out_int:Boolean = False
,
**kwargs:
Any
)→
numpy.ndarray
I would like
ArrayLike
to link to the page where it is defined and imported from, i.e.
https://colour.readthedocs.io/en/develop/generated/colour.hints.ArrayLike.html#colour.hints.ArrayLike
. Using
colour.hints.ArrayLike
does not work either.
If I don't define
ArrayLike
in
autodoc_type_aliases,
then it get "inelegantly" expanded as expected.
Cheers,
Thomas
Reply all
Reply to author
Forward
0 new messages