[sr-dev] git:master:4bab8e55: counters: docs - format section ids

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 16 19:59:40 CEST 2018


Module: kamailio
Branch: master
Commit: 4bab8e5587f59132afb21e29c5a08e71df3c6f8b
URL: https://github.com/kamailio/kamailio/commit/4bab8e5587f59132afb21e29c5a08e71df3c6f8b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-04-16T19:30:33+02:00

counters: docs - format section ids

---

Modified: src/modules/counters/doc/counters_functions.xml
Modified: src/modules/counters/doc/counters_params.xml
Modified: src/modules/counters/doc/counters_rpc.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/4bab8e5587f59132afb21e29c5a08e71df3c6f8b.diff
Patch: https://github.com/kamailio/kamailio/commit/4bab8e5587f59132afb21e29c5a08e71df3c6f8b.patch

---

diff --git a/src/modules/counters/doc/counters_functions.xml b/src/modules/counters/doc/counters_functions.xml
index 9e6eae57fe..9a8b458092 100644
--- a/src/modules/counters/doc/counters_functions.xml
+++ b/src/modules/counters/doc/counters_functions.xml
@@ -15,7 +15,7 @@
 
 	<title>Functions</title>
 
-	<section id="cnt_inc">
+	<section id="counters.f.cnt_inc">
 	<title>
 		<function>cnt_inc([group.]name)</function>
 	</title>
@@ -43,7 +43,7 @@ route {
 	</example>
 	</section>
 
-	<section id="cnt_add">
+	<section id="counters.f.cnt_add">
 	<title>
 		<function>cnt_add([group.]name, number)</function>
 	</title>
@@ -69,7 +69,7 @@ route {
 	</example>
 	</section>
 
-	<section id="cnt_reset">
+	<section id="counters.f.cnt_reset">
 	<title>
 		<function>cnt_reset([group.]name)</function>
 	</title>
diff --git a/src/modules/counters/doc/counters_params.xml b/src/modules/counters/doc/counters_params.xml
index f23f9484c4..b31d508b34 100644
--- a/src/modules/counters/doc/counters_params.xml
+++ b/src/modules/counters/doc/counters_params.xml
@@ -12,7 +12,7 @@
 	</sectioninfo>
 	<title>Parameters</title>
 
-	<section id="scrip_counter">
+	<section id="counters.p.scrip_counter">
 		<title><varname>script_counter</varname></title>
 		<para>
 			Define a new counter that can be used from the script.
@@ -40,7 +40,7 @@ modparam("counters", "script_counter", "test.x:another example") # test.x
 		</example>
 	</section>
 
-	<section id="scrip_cnt_grp_name">
+	<section id="counters.p.scrip_cnt_grp_name">
 		<title><varname>script_cnt_grp_name</varname></title>
 		<para>
 			Group name that will be used for the counters defined
diff --git a/src/modules/counters/doc/counters_rpc.xml b/src/modules/counters/doc/counters_rpc.xml
index 6b8e237aeb..82d07e9ddf 100644
--- a/src/modules/counters/doc/counters_rpc.xml
+++ b/src/modules/counters/doc/counters_rpc.xml
@@ -12,7 +12,7 @@
 	</sectioninfo>
 	<title>RPC Commands</title>
 
-	<section id="cnt.r.get">
+	<section id="counters.rpc.cnt.get">
 		<title> <function>cnt.get</function></title>
 		<para>
 			Get the value of the counter identified by group.counter_name.
@@ -28,7 +28,7 @@
 		</example>
 	</section>
 
-	<section id="cnt.r.reset">
+	<section id="counters.rpc.cnt.reset">
 		<title> <function>cnt.reset</function></title>
 		<para>
 			Resets the counter identified by group.counter_name.
@@ -44,7 +44,7 @@
 		</example>
 	</section>
 
-	<section id="cnt.r.list_groups">
+	<section id="counters.rpc.cnt.list_groups">
 		<title> <function>cnt.list_groups</function></title>
 		<para>
 			Lists all the declared counter groups.
@@ -60,14 +60,14 @@
 		</example>
 	</section>
 
-	<section id="cnt.r.grps_list">
+	<section id="counters.rpc.cnt.grps_list">
 		<title> <function>cnt.grps_list</function></title>
 		<para>
 			Alias to cnt.list_groups.
 		</para>
 	</section>
 
-	<section id="cnt.r.list_vars">
+	<section id="counters.rpc.cnt.list_vars">
 		<title> <function>cnt.list_vars</function></title>
 		<para>
 			Lists all the names of all the counters belonging to the
@@ -84,14 +84,14 @@
 		</example>
 	</section>
 
-	<section id="cnt.r.var_list">
+	<section id="counters.rpc.cnt.var_list">
 		<title> <function>cnt.var_list</function></title>
 		<para>
 			Alias to cnt.list_vars.
 		</para>
 	</section>
 
-	<section id="cnt.r.get_vars">
+	<section id="counters.rpc.cnt.get_vars">
 		<title> <function>cnt.get_vars</function></title>
 		<para>
 			Lists all the counter names and their values in the
@@ -108,14 +108,14 @@
 		</example>
 	</section>
 
-	<section id="cnt.r.grp_get_all">
+	<section id="counters.rpc.cnt.grp_get_all">
 		<title> <function>cnt.grp_get_all</function></title>
 		<para>
 			Alias to cnt.get_vars.
 		</para>
 	</section>
 
-	<section id="cnt.r.help">
+	<section id="counters.rpc.cnt.help">
 		<title> <function>cnt.help</function></title>
 		<para>
 			Displays the counter description.




More information about the sr-dev mailing list