mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Doc: Correct type: "TypeAlias" -> "AliasType"
This commit is contained in:
parent
b19bce971e
commit
6927130ff1
@ -564,7 +564,7 @@ There are also config values that you can set:
|
|||||||
...
|
...
|
||||||
|
|
||||||
If you set ``autodoc_type_aliases`` as
|
If you set ``autodoc_type_aliases`` as
|
||||||
``{'AliasType': 'your.module.TypeAlias'}``, it generates a following document
|
``{'AliasType': 'your.module.AliasType'}``, it generates a following document
|
||||||
internally::
|
internally::
|
||||||
|
|
||||||
.. py:function:: f() -> your.module.AliasType:
|
.. py:function:: f() -> your.module.AliasType:
|
||||||
|
Loading…
Reference in New Issue
Block a user