From 5f852b573ff3452586967ec0628d178470fd65f3 Mon Sep 17 00:00:00 2001 From: DmitriyMX Date: Fri, 28 Aug 2020 02:01:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8=D1=81=D1=82=D0=B8?= =?UTF-8?q?=D1=87=D0=B5=D1=81=D0=BA=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/_static/style.css | 6 +++++- src/docs/data_types.rst | 6 ------ src/docs/packet_format.rst | 8 +++++--- src/docs/packets_clientside.rst | 2 -- src/docs/packets_serverside.rst | 5 ++++- 5 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/docs/_static/style.css b/src/docs/_static/style.css index 9a9d498..8ede8ce 100644 --- a/src/docs/_static/style.css +++ b/src/docs/_static/style.css @@ -15,7 +15,7 @@ color: rgba(0, 0, 0, 0.3); } -.rst-content .line-block { +.note > .line-block { margin-bottom: 0; } @@ -27,4 +27,8 @@ .row-odd th.head p, .row-even th.head p { margin-bottom: 0; +} + +span:target + h3 { + background-color: yellow; } \ No newline at end of file diff --git a/src/docs/data_types.rst b/src/docs/data_types.rst index c6d3835..e57f6ed 100644 --- a/src/docs/data_types.rst +++ b/src/docs/data_types.rst @@ -38,8 +38,6 @@ +----------------+-------------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ - - .. |Single-precision floating-point format| raw:: html Single-precision floating-point format @@ -55,7 +53,3 @@ .. |wiki.vg:Chat| raw:: html wiki.vg:Chat - -.. |wiki.vg:Data types| raw:: html - - wiki.vg:Data types \ No newline at end of file diff --git a/src/docs/packet_format.rst b/src/docs/packet_format.rst index 62f7d22..e97f1c8 100644 --- a/src/docs/packet_format.rst +++ b/src/docs/packet_format.rst @@ -13,10 +13,9 @@ +-------------+--------+----------------------------------------------------------------+ -Пример ------- +.. rubric:: Пример -Пакет **DisconnectPacket** +Пакет |DisconnectPacket| .. code-block:: none @@ -37,3 +36,6 @@ +-------------+-----------+----------------------------+---------------------------------+ | ``2c`` = 44 | ``00`` | ``2a`` = 42 | ``22 59 6f 75 ... 65 72 21 22`` | +-------------+-----------+----------------------------+---------------------------------+ + + +.. |DisconnectPacket| replace:: :ref:`serverside_disconnectpacket` \ No newline at end of file diff --git a/src/docs/packets_clientside.rst b/src/docs/packets_clientside.rst index 886825a..a3a95bd 100644 --- a/src/docs/packets_clientside.rst +++ b/src/docs/packets_clientside.rst @@ -53,8 +53,6 @@ LoginStartPacket +------+--------+------------------+ - - .. |Версия протокола| raw:: html Версия протокола \ No newline at end of file diff --git a/src/docs/packets_serverside.rst b/src/docs/packets_serverside.rst index bb3c69f..4835e25 100644 --- a/src/docs/packets_serverside.rst +++ b/src/docs/packets_serverside.rst @@ -42,9 +42,10 @@ StatusServerResponse Подробнее: :download:`JSON Schema <_static/server_info.schema.json>` +.. _serverside_pingpacket: + PingPacket ^^^^^^^^^^ -.. _serverside_pingpacket: Пакет для обмена "пингом". @@ -63,6 +64,8 @@ PingPacket LOGIN ----- +.. _serverside_disconnectpacket: + DisconnectPacket ^^^^^^^^^^^^^^^^