[sr-dev] git:master: json: remove empty parameters section from docs

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 29 23:19:10 CEST 2014


Module: sip-router
Branch: master
Commit: c97c762a00596ebbbb4a3b4a14b3ef9e703600b5
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c97c762a00596ebbbb4a3b4a14b3ef9e703600b5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Aug 29 22:40:53 2014 +0200

json: remove empty parameters section from docs

- breaks indexing, as there is no title for sub-section

---

 modules/json/README             |   30 ++++++++----------------------
 modules/json/doc/json_admin.xml |    8 --------
 2 files changed, 8 insertions(+), 30 deletions(-)

diff --git a/modules/json/README b/modules/json/README
index 381bedf..b74bd69 100644
--- a/modules/json/README
+++ b/modules/json/README
@@ -10,7 +10,7 @@ Matthew Williams
 
    <matthew at flowroute.com>
 
-   Copyright © 2011 Flowroute LLC (flowroute.com)
+   Copyright © 2011 Flowroute LLC (flowroute.com)
      __________________________________________________________________
 
    Table of Contents
@@ -23,13 +23,9 @@ Matthew Williams
               2.1. Kamailio Modules
               2.2. External Libraries or Applications
 
-        3. Parameters
+        3. Functions
 
-              3.1.
-
-        4. Functions
-
-              4.1. json_get_field(json_string, field_name, destination)
+              3.1. json_get_field(json_string, field_name, destination)
 
    List of Examples
 
@@ -45,13 +41,9 @@ Chapter 1. Admin Guide
         2.1. Kamailio Modules
         2.2. External Libraries or Applications
 
-   3. Parameters
-
-        3.1.
-
-   4. Functions
+   3. Functions
 
-        4.1. json_get_field(json_string, field_name, destination)
+        3.1. json_get_field(json_string, field_name, destination)
 
 1. Overview
 
@@ -73,17 +65,11 @@ Chapter 1. Admin Guide
    running Kamailio with this module loaded:
      * libjson (https://github.com/json-c/json-c/wiki)
 
-3. Parameters
-
-   3.1.
-
-   None
-
-4. Functions
+3. Functions
 
-   4.1. json_get_field(json_string, field_name, destination)
+   3.1. json_get_field(json_string, field_name, destination)
 
-4.1.  json_get_field(json_string, field_name, destination)
+3.1. json_get_field(json_string, field_name, destination)
 
    Copy field 'field_name' from json object 'json_string' and store it in
    pvar 'destination'.
diff --git a/modules/json/doc/json_admin.xml b/modules/json/doc/json_admin.xml
index f8f899f..d0084b0 100644
--- a/modules/json/doc/json_admin.xml
+++ b/modules/json/doc/json_admin.xml
@@ -48,14 +48,6 @@
 		</para>
 	</section>
 	</section>
-	<section>
-	<title>Parameters</title>
-	<section>
-		<para>
-			<emphasis>None</emphasis>
-		</para>
-	</section>
-	</section>
 
 	<section>
 	<title>Functions</title>




More information about the sr-dev mailing list