diff options
| author | Badlop <badlop@process-one.net> | 2009-10-23 15:11:43 +0000 |
|---|---|---|
| committer | Badlop <badlop@process-one.net> | 2009-10-23 15:11:43 +0000 |
| commit | bebc5a137a04255cab9021a0086dae90e7205f53 (patch) | |
| tree | d710d8a98566514f17f0bf56072556c0dcbdb886 /doc/devdoc | |
| parent | Fix mistake that disallowed s2s_out connections when using Erlang R12 or older. (diff) | |
Rename directory doc/api to doc/devdoc
SVN Revision: 2696
Diffstat (limited to 'doc/devdoc')
| -rw-r--r-- | doc/devdoc/Makefile | 18 | ||||
| -rw-r--r-- | doc/devdoc/overview.edoc | 10 | ||||
| -rw-r--r-- | doc/devdoc/process-one.css | 92 |
3 files changed, 120 insertions, 0 deletions
diff --git a/doc/devdoc/Makefile b/doc/devdoc/Makefile new file mode 100644 index 000000000..248e3c55d --- /dev/null +++ b/doc/devdoc/Makefile @@ -0,0 +1,18 @@ +APPNAME = ejabberd +VSN = $(shell sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../../src/ejabberd.app) + +DOCDIR=. +SRCDIR=../../src + +.PHONY = all + +all: docs + +clean: + rm -f *.html + rm edoc-info + rm erlang.png + +docs: + erl -noshell -run edoc_run application \ + "'$(APPNAME)'" '"$(SRCDIR)"' '[{dir,"$(DOCDIR)"},{packages, false},{todo,false},{private,true},{def,{vsn,"$(VSN)"}},{stylesheet,"process-one.css"},{overview,"$(DOCDIR)/overview.edoc"}]' -s init stop diff --git a/doc/devdoc/overview.edoc b/doc/devdoc/overview.edoc new file mode 100644 index 000000000..89815c8c0 --- /dev/null +++ b/doc/devdoc/overview.edoc @@ -0,0 +1,10 @@ +@author Mickael Remond <mickael.remond@process-one.net> + [http://www.process-one.net/] +@copyright 2007 ProcessOne +@version {@vsn}, {@date} {@time} +@title ejabberd Development API Documentation + +@doc +== Introduction == + +TODO: Insert content from Jerome documentation. diff --git a/doc/devdoc/process-one.css b/doc/devdoc/process-one.css new file mode 100644 index 000000000..5cd371e10 --- /dev/null +++ b/doc/devdoc/process-one.css @@ -0,0 +1,92 @@ +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: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; +} |
