summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-01-07 00:55:02 +0000
committerBadlop <badlop@process-one.net>2009-01-07 00:55:02 +0000
commit9f80ec4fb6e6eba6e6fba11b8b47debceb04aa0d (patch)
tree36e7c91c55e49c41c8d0081e8b46ce994b393e33 /doc
parent* src/msgs/ru.po: Fix typo (thanks to Dominges) (diff)
* src/web/ejabberd_web_admin.erl: WebAdmin serves Guide and links
to related sections; the path to guide.html can be configured with option doc_path (EJAB-837) * src/web/ejabberd_web_admin.hrl: Likewise * src/mod_shared_roster.erl: Likewise * doc/guide.tex: Likewise * doc/guide.html: Likewise SVN Revision: 1777
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.html12
-rw-r--r--doc/guide.tex12
2 files changed, 23 insertions, 1 deletions
diff --git a/doc/guide.html b/doc/guide.html
index 6d143c33..b7466955 100644
--- a/doc/guide.html
+++ b/doc/guide.html
@@ -3072,7 +3072,17 @@ web browser to <CODE>https://192.168.1.1:5280/admin/</CODE>:
tls, {certfile, "/usr/local/etc/server.pem"}]},
...
]}.
-</PRE></LI></UL><P> <A NAME="adhoccommands"></A> </P><!--TOC section Ad-hoc Commands-->
+</PRE></LI></UL><P>Certain pages in the ejabberd Web Admin contain a link to a related
+section in the ejabberd Installation and Operation Guide.
+In order to view such links, a copy in HTML format of the Guide must
+be installed in the system.
+The file is searched by default in
+<TT>"/share/doc/ejabberd/guide.html"</TT>.
+The directory of the documentation can be specified in
+<TT>ejabberd.cfg</TT> with the option <TT>doc_path</TT>.
+For example:
+</P><PRE CLASS="verbatim">{doc_path, "/usr/local/share/doc/ejabberd/"}.
+</PRE><P> <A NAME="adhoccommands"></A> </P><!--TOC section Ad-hoc Commands-->
<H2 CLASS="section"><!--SEC ANCHOR --><A NAME="htoc65">4.3</A>&#XA0;&#XA0;<A HREF="#adhoccommands">Ad-hoc Commands</A></H2><!--SEC END --><P> <A NAME="adhoccommands"></A> </P><P>If you enable <TT>mod_configure</TT> and <TT>mod_adhoc</TT>,
you can perform several administrative tasks in <TT>ejabberd</TT>
with a Jabber client.
diff --git a/doc/guide.tex b/doc/guide.tex
index afc63a3f..c3fb6db0 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -3943,6 +3943,18 @@ Examples:
\end{verbatim}
\end{itemize}
+Certain pages in the ejabberd Web Admin contain a link to a related
+section in the ejabberd Installation and Operation Guide.
+In order to view such links, a copy in HTML format of the Guide must
+be installed in the system.
+The file is searched by default in
+\term{"/share/doc/ejabberd/guide.html"}.
+The directory of the documentation can be specified in
+\term{ejabberd.cfg} with the option \term{doc\_path}.
+For example:
+\begin{verbatim}
+{doc_path, "/usr/local/share/doc/ejabberd/"}.
+\end{verbatim}
\makesection{adhoccommands}{Ad-hoc Commands}