Skip to content

Commit

Permalink
add warning admonition
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Dec 4, 2024
1 parent 800a60c commit 5310bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module zenoh
:undoc-members:

module zenoh.handlers
============
=====================

.. automodule:: zenoh.handlers
:members:
Expand Down
2 changes: 1 addition & 1 deletion zenoh/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _PythonCallback = Callable[[_T], Any]
_PythonHandler = tuple[_PythonCallback[_T], _H]

def unstable(original):
_WARNING = "Warning: This API has been marked as unstable: it works as advertised, but it may be changed in a future release."
_WARNING = ".. warning:: This API has been marked as unstable: it works as advertised, but it may be changed in a future release."
if original.__doc__:
original.__doc__ += "\n" + _WARNING
else:
Expand Down

0 comments on commit 5310bec

Please sign in to comment.