From 1f9f082b71e530d456a0dcf2d34e68f831cad3b6 Mon Sep 17 00:00:00 2001 From: ocelot-inc <pgulutzan@ocelot.ca> Date: Thu, 9 Jul 2015 10:25:26 -0600 Subject: [PATCH] Small changes in reference sections --- doc/sphinx/reference/expirationd.rst | 2 +- doc/sphinx/reference/socket.rst | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/sphinx/reference/expirationd.rst b/doc/sphinx/reference/expirationd.rst index ed7fde4705..ac40eaf86f 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 3ab7d3671b..d6ae0dbcec 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 -- GitLab