* doc/api/*: Added Erlang documentation generation script (EJAB-188).

* doc/version.tex: Updated.
* src/ejabberd.app: Updated.

SVN Revision: 733
This commit is contained in:
Mickaël Rémond 2007-02-19 15:02:28 +00:00
parent 090ba85424
commit 6a54d828c4
6 changed files with 113 additions and 2 deletions

View File

@ -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.

17
doc/api/Makefile Normal file
View File

@ -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

10
doc/api/overview.edoc Normal file
View File

@ -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.

80
doc/api/process-one.css Normal file
View File

@ -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;
}

View File

@ -1,2 +1,2 @@
% ejabberd version (automatically generated).
\newcommand{\version}{1.1.2}
\newcommand{\version}{1.1.3}

View File

@ -2,7 +2,7 @@
{application, ejabberd,
[{description, "ejabberd"},
{vsn, "1.1.2"},
{vsn, "1.1.3"},
{modules, [acl,
configure,
cyrsasl,