summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2017-04-16 16:50:20 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2017-04-16 16:50:20 +0900
commita28396065e3ab0ef6c1379f944088e6da48f5ce7 (patch)
tree20bb2eaad570efc160ede89ecae1374a1191cee0
parent79a20e046f3abb53643682dc2efb3096cf550799 (diff)
Fix broken text formatting
-rw-r--r--doc/manual-src/en/aria2c.rst4
-rw-r--r--doc/manual-src/en/technical-notes.rst10
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index f419b039..1bf1f38f 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -4124,7 +4124,9 @@ Specify the output file name
To specify the output file name for BitTorrent downloads, you need to know
the index of file in the torrent (see :option:`--show-files <-S>`). For
-example, the output looks like this::
+example, the output looks like this:
+
+.. code-block:: text
idx|path/length
===+======================
diff --git a/doc/manual-src/en/technical-notes.rst b/doc/manual-src/en/technical-notes.rst
index 76230fc8..aa905087 100644
--- a/doc/manual-src/en/technical-notes.rst
+++ b/doc/manual-src/en/technical-notes.rst
@@ -8,7 +8,9 @@ Control File (\*.aria2) Format
------------------------------
The control file uses a binary format to store progress information of
-a download. Here is the diagram for each field::
+a download. Here is the diagram for each field:
+
+.. code-block:: text
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
@@ -45,7 +47,7 @@ a download. Here is the diagram for each field::
``EXT`` (EXTENSION): 4 bytes
If LSB is 1(i.e. ``EXT[3]&1 == 1``), aria2 checks whether the saved
- !InfoHash and current downloading one are the same. If they are not
+ InfoHash and current downloading one are the same. If they are not
the same, an exception is thrown. This is called "infoHashCheck"
extension.
@@ -104,7 +106,9 @@ aria2 saves IPv4 DHT routing table in
``dht.dat`` and ``dht6.dat`` files use same binary encoding and have
following fields. All multi byte integers are in network byte
order. ``RSV`` (RESERVED) fields are reserved for future use. For now
-they should be all zeros::
+they should be all zeros:
+
+.. code-block:: text
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1