From 071ba767a6cbdb20e7ae18f9013d9098fd248d6b Mon Sep 17 00:00:00 2001 From: Pavel Semyonov Date: Wed, 18 Dec 2024 16:07:27 +0700 Subject: [PATCH] Fix --- doc/reference/reference_capi/box.rst | 4 +++- doc/reference/reference_lua/box_session/push.rst | 4 +++- .../reference_lua/compat/box_session_push_deprecation.rst | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/reference/reference_capi/box.rst b/doc/reference/reference_capi/box.rst index 53528124f..ae46added 100644 --- a/doc/reference/reference_capi/box.rst +++ b/doc/reference/reference_capi/box.rst @@ -192,7 +192,9 @@ .. c:function:: int box_session_push(const char *data, const char *data_end) - **Deprecated since:** 3.0 + .. warning:: + + **Deprecated since:** 3.0 Since version :doc:`2.4.1 `. Push MessagePack data into a session data channel -- socket, console or diff --git a/doc/reference/reference_lua/box_session/push.rst b/doc/reference/reference_lua/box_session/push.rst index c336f5f56..7508d6fd3 100644 --- a/doc/reference/reference_lua/box_session/push.rst +++ b/doc/reference/reference_lua/box_session/push.rst @@ -10,7 +10,9 @@ box.session.push() .. function:: box.session.push(message [, sync]) - **Deprecated since:** 3.0 + .. warning:: + + **Deprecated since:** 3.0 Generate an out-of-band message. By "out-of-band" we mean an extra message which supplements what is passed in a network via the usual diff --git a/doc/reference/reference_lua/compat/box_session_push_deprecation.rst b/doc/reference/reference_lua/compat/box_session_push_deprecation.rst index 4728cdc2c..54e6afe70 100644 --- a/doc/reference/reference_lua/compat/box_session_push_deprecation.rst +++ b/doc/reference/reference_lua/compat/box_session_push_deprecation.rst @@ -5,8 +5,8 @@ box.session.push deprecation Option: ``box_session_push_deprecation`` -Starting from version 3.0, Lua API function :ref:`box.session.push()` -and C API function :ref:`box_session_push()` are deprecated. +Starting from version 3.0, Lua API function :ref:`box.session.push() ` +and C API function :ref:`box_session_push() ` are deprecated. Old and new behavior --------------------