diff --git a/docs/source/api_doc/numpy/funcs.rst.py b/docs/source/api_doc/numpy/funcs.rst.py index 84892353da8e077f38b33b4e75cf288e9d95e764..a5f3d75efb809f4e8ab0edff9a9ed8427d2d4a9c 100644 --- a/docs/source/api_doc/numpy/funcs.rst.py +++ b/docs/source/api_doc/numpy/funcs.rst.py @@ -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. - """, 'tip') + """, 'admonition', value='Numpy Version Related', params={'class': 'tip'}) print() print_doc(_H2_PATTERN.sub(lambda x: '~' * len(x.group(0)), _origin.__doc__ or '')) diff --git a/docs/source/api_doc/torch/funcs.rst.py b/docs/source/api_doc/torch/funcs.rst.py index 9006343282e572ccdf04fc656fff327118d15331..29c73c5eca77c9daf419bf9198ac0085178a9e30 100644 --- a/docs/source/api_doc/torch/funcs.rst.py +++ b/docs/source/api_doc/torch/funcs.rst.py @@ -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. - """, 'tip') + """, 'admonition', value='Torch Version Related', params={'class': 'tip'}) print_doc(f'.. function:: {_origin.__doc__.lstrip()}') print()