diff --git a/_shared_assets/static/custom.css b/_shared_assets/static/custom.css index 5bce5d73e..1c5b5dcc0 100644 --- a/_shared_assets/static/custom.css +++ b/_shared_assets/static/custom.css @@ -55,6 +55,14 @@ background: rgba(0, 130, 201, 0.1) } +/* Fix code within tables - remove too big margins */ +.rst-content td { + div[class^="highlight"]:last-of-type, + pre.literal-block:last-of-type { + margin-block: 1px !important; + } +} + /* ICONS LIST */ div#list-of-available-icons > blockquote { margin: 0; diff --git a/developer_manual/client_apis/WebDAV/basic.rst b/developer_manual/client_apis/WebDAV/basic.rst index 632821f29..24da0c32a 100644 --- a/developer_manual/client_apis/WebDAV/basic.rst +++ b/developer_manual/client_apis/WebDAV/basic.rst @@ -176,14 +176,19 @@ Supported properties +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | Amount of bytes used in the folder. | ``3950773`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ -| | | Dummy endpoint for class 2 WebDAV support. | | ```` | -| | | Always provide the same lock capabilities. | | ```` | -| | | | | ```` | -| | | | | ```` | -| | | | | ```` | -| | | | | ```` | -| | | | | ```` | -| | | | | ```` | +| | | Dummy endpoint for class 2 WebDAV support. | .. code-block:: XML | +| | | Always provide the same lock capabilities. | | +| | | | +| | | | +| | | | +| | | | +| | | | +| | | .. code-block:: XML | +| | | | +| | | | +| | | | +| | | | +| | | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | | The fileid namespaced by the instance id. | ``00000007oc9l3j5ur4db`` | | | | Globally unique. | | @@ -258,16 +263,18 @@ Supported properties +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | User set attributes as a JSON array. | ``[{ "scope" => , "key" => , "enabled" => }]`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ -| | The list of share recipient. | | ```` | -| | | | ``alice`` | -| | | | ``Alice`` | -| | | | ``0`` | -| | | | ```` | +| | The list of share recipient. | .. code-block:: XML | +| | | | +| | | | +| | | alice | +| | | Alice | +| | | 0 | +| | | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ -| | An array of checksums stored in the DB by other | ``md5:04c36b75222cd9fd47f2607333029106`` | -| | clients. | | -| | Currently used algorithms are ``MD5``, ``SHA1``,| | -| | ``SHA256``, ``SHA3-256``, ``Adler32``. | | +| | | An array of checksums stored in the DB by | ``md5:04c36b75222cd9fd47f2607333029106`` | +| | | other clients. Currently used algorithms are: | | +| | | ``MD5``, ``SHA1``, ``SHA256``, ``SHA3-256``, | | +| | | and ``Adler32``. | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | Whether a preview of the file is available. | ``true`` or ``false`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ @@ -299,13 +306,15 @@ Supported properties +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | Whether the current user can manager ACL. | ``1`` or ``0`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ -| | Array of ACL rules. | | ```` | -| | | | ``group`` | -| | | | ``admin`` | -| | | | ``admin`` | -| | | | ``20`` | -| | | | ``15`` | -| | | | ```` | +| | Array of ACL rules. | .. code-block:: XML | +| | | | +| | | | +| | | group | +| | | admin | +| | | admin | +| | | 20 | +| | | 15 | +| | | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | Array of ACL rules from the parents folders | See | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ @@ -313,9 +322,9 @@ Supported properties +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | Whether the file is locked. | ``1`` or ``0`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ -| | Type of the owner of the lock. | ``0`` = User | -| | | ``1`` = Office or Text | -| | | ``2`` = WebDAV | +| | Type of the owner of the lock. | | ``0`` = User | +| | | | ``1`` = Office or Text | +| | | | ``2`` = WebDAV | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+ | | User id of the owner of the lock. | ``alice`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+