maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1070268 - /maven/doxia/doxia/trunk/doxia-sink-api/src/site/apt/index.apt
Date Sun, 13 Feb 2011 17:37:36 GMT
Author: hboutemy
Date: Sun Feb 13 17:37:35 2011
New Revision: 1070268

URL: http://svn.apache.org/viewvc?rev=1070268&view=rev
Log:
improved documentation

Modified:
    maven/doxia/doxia/trunk/doxia-sink-api/src/site/apt/index.apt

Modified: maven/doxia/doxia/trunk/doxia-sink-api/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-sink-api/src/site/apt/index.apt?rev=1070268&r1=1070267&r2=1070268&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-sink-api/src/site/apt/index.apt (original)
+++ maven/doxia/doxia/trunk/doxia-sink-api/src/site/apt/index.apt Sun Feb 13 17:37:35 2011
@@ -8,7 +8,27 @@
 
 Doxia Sink API
 
-  API to generate Doxia documents.
+  The <Sink> interface is a generic markup language interface provided as a Java API.
+It contains several methods that encapsulate common text syntax. A start tag is denoted by
+<<<xxxx()>>> method and a end of tag by <<<xxxx_()>>>
method.
+
+  For instance, you could do things like:
+
++--
+sink.paragraph();
+sink.text( "my text" );
+sink.paragraph_();
++--
+
+  similar to this HTML markup:
+
++--
+<p>my text</p>
++--
+
+  To find out more about the Sink API, you can read the
+  {{{./apidocs/org/apache/maven/doxia/sink/Sink.html}Javadoc}}.
+
 
 * API Changes
 



Mime
View raw message