aboutsummaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/Makefile2
-rw-r--r--doc/api/overview.edoc2
-rw-r--r--doc/api/process-one.css14
3 files changed, 15 insertions, 3 deletions
diff --git a/doc/api/Makefile b/doc/api/Makefile
index a4c8dbb7c..de356ef20 100644
--- a/doc/api/Makefile
+++ b/doc/api/Makefile
@@ -1,5 +1,5 @@
APPNAME = ejabberd
-VSN = $(shell sed '/VERSION/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../../src/ejabberd.hrl)
+VSN = $(shell sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../../src/ejabberd.app)
DOCDIR=.
SRCDIR=../../src
diff --git a/doc/api/overview.edoc b/doc/api/overview.edoc
index 55f7b1f68..89815c8c0 100644
--- a/doc/api/overview.edoc
+++ b/doc/api/overview.edoc
@@ -1,6 +1,6 @@
@author Mickael Remond <mickael.remond@process-one.net>
[http://www.process-one.net/]
-@copyright 2007 Process-one
+@copyright 2007 ProcessOne
@version {@vsn}, {@date} {@time}
@title ejabberd Development API Documentation
diff --git a/doc/api/process-one.css b/doc/api/process-one.css
index 793d717aa..5cd371e10 100644
--- a/doc/api/process-one.css
+++ b/doc/api/process-one.css
@@ -71,10 +71,22 @@ pre, tt, code {
}
pre {
- margin-left: 1em;
+ margin:1ex 2ex;
+ border:1px dashed lightgrey;
+ background-color:#f9f9f9;
+ padding:0.5ex;
}
pre em {
font-style: normal;
font-weight: bold;
}
+
+dt {
+ margin:0ex 2ex;
+ font-weight:bold;
+}
+
+dd {
+ margin:0ex 0ex 1ex 4ex;
+}