提交 86023a63 编写于 作者: HansBug's avatar HansBug 😆

doc(hansbug): rename the version inherit note to tip

上级 64f9f118
...@@ -38,7 +38,7 @@ with the following command and find its documentation. ...@@ -38,7 +38,7 @@ with the following command and find its documentation.
The arguments and keyword arguments supported in numpy v{_numpy_version} is listed below. The arguments and keyword arguments supported in numpy v{_numpy_version} is listed below.
""", 'note') """, 'tip')
print() print()
print_doc(_H2_PATTERN.sub(lambda x: '~' * len(x.group(0)), _origin.__doc__ or '')) print_doc(_H2_PATTERN.sub(lambda x: '~' * len(x.group(0)), _origin.__doc__ or ''))
......
...@@ -34,7 +34,7 @@ with the following command and find its documentation. ...@@ -34,7 +34,7 @@ with the following command and find its documentation.
The arguments and keyword arguments supported in torch v{_torch_version} is listed below. The arguments and keyword arguments supported in torch v{_torch_version} is listed below.
""", 'note') """, 'tip')
print_doc(f'.. function:: {_origin.__doc__.lstrip()}') print_doc(f'.. function:: {_origin.__doc__.lstrip()}')
print() print()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册