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
It will break the return type injection. For example we have one for the minimum python version (min_python_version).
When using the rst_epilog all of the return types become the version:
If you use the rst_prolog the return types are working again, but now the return type always appear at the top of the class, before the header and parameters.
Disabling either will produce the correct result:
Due to the rst, it creates a bunch of nodes either before or after: <substitution_definition names="min_python_version">3.8</substitution_definition> which mess with the line parsing. Since it's assuming certain things come after paramters, it doesn't pick the correct lines.
The text was updated successfully, but these errors were encountered:
When adding any of those sphinx options: rst_epilog or rst_prolog
It will break the return type injection. For example we have one for the minimum python version (
min_python_version
).When using the
rst_epilog
all of the return types become the version:If you use the
rst_prolog
the return types are working again, but now the return type always appear at the top of the class, before the header and parameters.Disabling either will produce the correct result:
Due to the rst, it creates a bunch of nodes either before or after:
<substitution_definition names="min_python_version">3.8</substitution_definition>
which mess with the line parsing. Since it's assuming certain things come after paramters, it doesn't pick the correct lines.The text was updated successfully, but these errors were encountered: