diff --git a/doc/sphinx/reference/expirationd.rst b/doc/sphinx/reference/expirationd.rst index ed7fde470557e01cbe9375b3c3418c5cd9d97f34..ac40eaf86f0784fa27dc5397663ff1ad3d2e1e5f 100644 --- a/doc/sphinx/reference/expirationd.rst +++ b/doc/sphinx/reference/expirationd.rst @@ -68,7 +68,7 @@ For those who like to see things run, here are the exact steps to get expirationd through the test. 1. Get ``expirationd.lua``. There are standard ways - it is after all part - of a standard rock - but for this purpose just copy the contents of + of a `standard rock <https://luarocks.org/modules/rtsisyk/expirationd>`_ - but for this purpose just copy the contents of expirationd.lua_ to a default directory. 2. Start the Tarantool server as described before. 3. Execute these requests: diff --git a/doc/sphinx/reference/socket.rst b/doc/sphinx/reference/socket.rst index 3ab7d3671b148e23327c8b17c0c2f244c5c5c7a2..d6ae0dbcec7f8762c81323047ad48545fbd67033 100644 --- a/doc/sphinx/reference/socket.rst +++ b/doc/sphinx/reference/socket.rst @@ -88,7 +88,7 @@ the function invocations will look like ``sock:function_name(...)``. .. function:: __call(domain, type, protocol) Create a new TCP or UDP socket. The argument values - are the same as in the `Linux man page <http://man7.org/linux/man-pages/man2/socket.2.html>`_. + are the same as in the `Linux socket(2) man page <http://man7.org/linux/man-pages/man2/socket.2.html>`_. :param domain: :param type: @@ -151,7 +151,7 @@ the function invocations will look like ``sock:function_name(...)``. .. method:: sysconnect(host, port) Connect a socket to a remote host. The argument values are the same as - in the Linux man page [1]_. + in the `Linux connect(2) man page <http://man7.org/linux/man-pages/man2/connect.2.html>`_. The host must be an IP address. Parameters: @@ -333,7 +333,7 @@ the function invocations will look like ``sock:function_name(...)``. .. method:: setsockopt(level, name, value) Set socket flags. The argument values are the same as in the - Linux man page [2]_. + `Linux getsockopt(2) man page <http://man7.org/linux/man-pages/man2/setsockopt.2.html>`_. The ones that Tarantool accepts are: * SO_ACCEPTCONN @@ -372,7 +372,7 @@ the function invocations will look like ``sock:function_name(...)``. .. method:: linger([active]) Set or clear the SO_LINGER flag. For a description of the flag, see - Linux man page [3]_. + the `Linux man page <http://man7.org/linux/man-pages/man1/loginctl.1.html>`_. :param boolean active: @@ -561,7 +561,4 @@ The strings "A", "B", "C" are printed. .. _luasocket: https://github.com/diegonehab/luasocket -.. [1] http://man7.org/linux/man-pages/man2/connect.2.html -.. [2] http://man7.org/linux/man-pages/man2/setsockopt.2.html -.. [3] http://man7.org/linux/man-pages/man1/loginctl.1.html