Переглянути джерело

sl: docs - set section ids in expected format

Daniel-Constantin Mierla 6 роки тому
батько
коміт
152801eaef
3 змінених файлів з 14 додано та 14 видалено
  1. 1 1
      pkg/docker
  2. 8 8
      src/modules/sl/doc/sl_functions.xml
  3. 5 5
      src/modules/sl/doc/sl_params.xml

+ 1 - 1
pkg/docker

@@ -1 +1 @@
-Subproject commit 424756ff7aca572466a99059f76d44ce57e01646
+Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466

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

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