Prechádzať zdrojové kódy

counters: docs - format section ids

Daniel-Constantin Mierla 7 rokov pred
rodič
commit
4bab8e5587

+ 3 - 3
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>

+ 2 - 2
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

+ 9 - 9
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.