]> granicus.if.org Git - ejabberd/commitdiff
* doc/api/*: Added Erlang documentation generation script (EJAB-188).
authorMickaël Rémond <mickael.remond@process-one.net>
Mon, 19 Feb 2007 15:02:28 +0000 (15:02 +0000)
committerMickaël Rémond <mickael.remond@process-one.net>
Mon, 19 Feb 2007 15:02:28 +0000 (15:02 +0000)
* doc/version.tex: Updated.
* src/ejabberd.app: Updated.

SVN Revision: 733

ChangeLog
doc/api/Makefile [new file with mode: 0644]
doc/api/overview.edoc [new file with mode: 0644]
doc/api/process-one.css [new file with mode: 0644]
doc/version.tex
src/ejabberd.app

index 64ec753d733b149858c0a2ccf48a29a2d0f42977..757784bb89689fcc963059f1d38f90a31c4e8637 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-02-19  Mickael Remond  <mickael.remond@process-one.net>
 
+       * doc/api/*: Added Erlang documentation generation script (EJAB-188).
+       * doc/version.tex: Updated.
+       * src/ejabberd.app: Updated.
+
        * src/odbc/pg.sql: last table, state column cannot be NULL (EJAB-191).
        * src/odbc/mysql.sql: likewise.
        * src/odbc/mssql.sql. likewise.
diff --git a/doc/api/Makefile b/doc/api/Makefile
new file mode 100644 (file)
index 0000000..66f3995
--- /dev/null
@@ -0,0 +1,17 @@
+APPNAME = ejabberd
+VSN = SVN
+
+DOCDIR=.
+SRCDIR=../../src
+
+.PHONY = all
+
+all: docs
+
+clean:
+       rm -f *.html
+       rm edoc-info
+
+docs:
+       erl -noshell -run edoc_run application \
+       "'$(APPNAME)'" '"$(SRCDIR)"' '[{dir,"$(DOCDIR)"},{packages, false},{todo,true},{private,true},{def,{vsn,"$(VSN)"}},{stylesheet,"process-one.css"},{overview,"$(DOCDIR)/overview.edoc"}]' -s init stop
diff --git a/doc/api/overview.edoc b/doc/api/overview.edoc
new file mode 100644 (file)
index 0000000..55f7b1f
--- /dev/null
@@ -0,0 +1,10 @@
+@author Mickael Remond <mickael.remond@process-one.net>
+  [http://www.process-one.net/]
+@copyright 2007 Process-one
+@version {@vsn}, {@date} {@time}
+@title ejabberd Development API Documentation
+
+@doc
+== Introduction ==
+
+TODO: Insert content from Jerome documentation.
diff --git a/doc/api/process-one.css b/doc/api/process-one.css
new file mode 100644 (file)
index 0000000..793d717
--- /dev/null
@@ -0,0 +1,80 @@
+html, body {
+  font-family: Verdana, sans-serif;
+  color: #000;
+  background-color: #fff;
+}
+
+h1 {
+  color: #4a5389;
+  border-bottom: solid 1px #000;
+}
+
+h2 {
+  font-size: 24px;
+  text-align: right;
+  color: #4a5389;
+  border-bottom: 1px solid #000;
+}
+
+h3 {
+  font-size: 18px;
+  color: #900;
+}
+
+h4 {
+  font-size: 14px;
+  color: #000;
+}
+
+a[href] {
+  color: #4a5389;
+}
+
+a[href]:hover {
+  background-color: #ecefff;
+}
+
+p, li, dd {
+  text-align: justify;
+}
+
+li {
+  margin-top: 0.3em;
+}
+
+li:first-child {
+  margin-top: 0px;
+}
+
+blockquote {
+  color: #555;
+}
+
+caption {
+  font-style: italic;
+  color: #009;
+  text-align: left;
+  margin-left: 20px;
+}
+
+table[border="1"] {
+  border-collapse: collapse;
+  margin-bottom: 1em;
+}
+
+table[border="1"] td {
+  border: 1px solid #ddd;
+}
+
+pre, tt, code {
+  color: #461b7e;
+}
+
+pre {
+  margin-left: 1em;
+}
+
+pre em {
+  font-style: normal;
+  font-weight: bold;
+}
index f51f8de6056a209efe7513ccda353a3ec748f09b..5883038ef9748c9812a8c72cd3d3f1bf40706bdf 100644 (file)
@@ -1,2 +1,2 @@
 % ejabberd version (automatically generated).
-\newcommand{\version}{1.1.2}
+\newcommand{\version}{1.1.3}
index ea87c92150ec795721b8c856b2ff877d24a5173c..bd5433b8914dc8f59786f9d12d8551a2cc7498a0 100644 (file)
@@ -2,7 +2,7 @@
 
 {application, ejabberd,
  [{description, "ejabberd"},
-  {vsn, "1.1.2"},
+  {vsn, "1.1.3"},
   {modules, [acl,
             configure,
             cyrsasl,