Grouping same methods under one subsection
Change-Id: I8915435632d5a92cabe6cf5335146729507ab6e5
diff --git a/transport.rst b/transport.rst
index 3cc9361..9458b4a 100644
--- a/transport.rst
+++ b/transport.rst
@@ -1,28 +1,20 @@
-Transport.ConnectionInfo Class
-==============================
-
-:[C++]:
- Namespace: `ndn`
-
-
-A Transport.ConnectionInfo is a base class for connection information used by subclasses of Transport.
-
Transport Class
===============
:[C++]:
Namespace: `ndn`
-Transport Constructor
----------------------
-
-Create a base class Transport where the methods throw an "unimplemented" error. You should use a derived class like :ref:`UdpTransport <UdpTransport>`.
-
:Realizations:
- :ref:`UdpTransport Class <UdpTransport>`
- :ref:`TcpTransport Class <TcpTransport>`
+
+Transport Constructor
+---------------------
+
+Create a base class Transport where the methods throw an "unimplemented" error. You should use a derived class like :ref:`UdpTransport <UdpTransport>`.
+
:[C++]:
.. code-block:: c++
@@ -36,3 +28,11 @@
var Transport = function Transport()
+Transport.ConnectionInfo Class
+------------------------------
+
+:[C++]:
+ Namespace: `ndn`
+
+
+A Transport.ConnectionInfo is a base class for connection information used by subclasses of Transport.