[sr-dev] git:master:152801ea: sl: docs - set section ids in expected format

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 29 14:36:42 CEST 2019


Module: kamailio
Branch: master
Commit: 152801eaef0d95a6cee027391b809bfe2289ef3d
URL: https://github.com/kamailio/kamailio/commit/152801eaef0d95a6cee027391b809bfe2289ef3d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-08-29T14:36:00+02:00

sl: docs - set section ids in expected format

---

Modified: pkg/docker
Modified: src/modules/sl/doc/sl_functions.xml
Modified: src/modules/sl/doc/sl_params.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/152801eaef0d95a6cee027391b809bfe2289ef3d.diff
Patch: https://github.com/kamailio/kamailio/commit/152801eaef0d95a6cee027391b809bfe2289ef3d.patch

---

diff --git a/pkg/docker b/pkg/docker
index 424756ff7a..b92a1c899b 160000
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 424756ff7aca572466a99059f76d44ce57e01646
+Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466
diff --git a/src/modules/sl/doc/sl_functions.xml b/src/modules/sl/doc/sl_functions.xml
index bdef94866e..1bb12b76c4 100644
--- a/src/modules/sl/doc/sl_functions.xml
+++ b/src/modules/sl/doc/sl_functions.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 <section id="sl.functions" xmlns:xi="http://www.w3.org/2001/XInclude">
 
     <title>Functions</title>
 
-    <section id="sl_send_reply">
+    <section id="sl.f.sl_send_reply">
 	<title>
 	    <function>sl_send_reply(code, reason)</function>
 	</title>
@@ -49,14 +49,14 @@ sl_send_reply("404", "Not found");
 	    </programlisting>
 	</example>
     </section>
-    
-	<section id="send_reply">
+
+	<section id="sl.f.send_reply">
 		<title>
 		<function moreinfo="none">send_reply(code, reason)</function>
 		</title>
 		<para>
-		For the current request, a reply is sent back having the given code 
-		and text reason. The reply is sent stateful or stateless, depending of 
+		For the current request, a reply is sent back having the given code
+		and text reason. The reply is sent stateful or stateless, depending of
 		the <acronym>TM</acronym> module: if a transaction exists for the current
 		request, then the reply is sent statefully, otherwise stateless.
 		</para>
@@ -88,7 +88,7 @@ send_reply("403", "Invalid user - $fU");
 		</example>
 	</section>
 
-    <section id="sl_reply_error">
+    <section id="sl.f.sl_reply_error">
 	<title>
 	    <function>sl_reply_error()</function>
 	</title>
@@ -107,7 +107,7 @@ sl_reply_error();
 	</example>
     </section>
 
-	<section id="sl_forward_reply">
+	<section id="sl.f.sl_forward_reply">
 		<title>
 		<function moreinfo="none">sl_forward_reply([ code, [ reason ] ])</function>
 		</title>
diff --git a/src/modules/sl/doc/sl_params.xml b/src/modules/sl/doc/sl_params.xml
index 6c22e26a90..a6db7657da 100644
--- a/src/modules/sl/doc/sl_params.xml
+++ b/src/modules/sl/doc/sl_params.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 <section id="sl.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
 
     <title>Parameters</title>
 
-	<section id="default_code">
+	<section id="sl.p.default_code">
 		<title><varname>default_code</varname> (int)</title>
 		<para>
 		Default reply status code.
@@ -24,7 +24,7 @@ modparam("sl", "default_code", 505)
 		</example>
 	</section>
 
-	<section id="default_reason">
+	<section id="sl.p.default_reason">
 		<title><varname>default_reason</varname> (str)</title>
 		<para>
 		Default reply reason phrase.
@@ -42,7 +42,7 @@ modparam("sl", "default_reason", "Server Error")
 		</example>
 	</section>
 
-	<section id="bind_tm">
+	<section id="sl.p.bind_tm">
 		<title><varname>bind_tm</varname> (int)</title>
 		<para>
 		Controls if SL module should attempt to bind to TM module in order
@@ -61,7 +61,7 @@ modparam("sl", "bind_tm", 0)  # feature disabled
 		</example>
 	</section>
 
-	<section id="rich_redirect">
+	<section id="sl.p.rich_redirect">
 		<title><varname>rich_redirect</varname> (int)</title>
 		<para>
 		When sending a 3xx class reply, include additional branch info




More information about the sr-dev mailing list