Author: tomdz
Date: Sat Jun 18 06:23:32 2011
New Revision: 1137132

URL: http://svn.apache.org/viewvc?rev=1137132&view=rev
Log:
Integrated javadoc into site with basic stylesheet

Added:
    db/ddlutils/trunk/src/site/javadoc/
    db/ddlutils/trunk/src/site/javadoc/stylesheet.css
    db/ddlutils/trunk/src/site/sphinx/_templates/sidebarintro.html
Modified:
    db/ddlutils/trunk/pom.xml
    db/ddlutils/trunk/src/site/sphinx/conf.py
    db/ddlutils/trunk/src/site/sphinx/index.rst

Modified: db/ddlutils/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/db/ddlutils/trunk/pom.xml?rev=1137132&r1=1137131&r2=1137132&view=diff
==============================================================================
--- db/ddlutils/trunk/pom.xml (original)
+++ db/ddlutils/trunk/pom.xml Sat Jun 18 06:23:32 2011
@@ -287,12 +287,19 @@
         <version>2.4</version>
         <reportSets>
           <reportSet>
-            <reports>
-            </reports>
+            <reports></reports>
           </reportSet>
         </reportSets>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.8</version>
+        <configuration>
+          <stylesheetfile>src/site/javadoc/stylesheet.css</stylesheetfile>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.tomdz.maven</groupId>
         <artifactId>sphinx-maven-plugin</artifactId>
         <version>1.0.0-SNAPSHOT</version>

Added: db/ddlutils/trunk/src/site/javadoc/stylesheet.css
URL: 
http://svn.apache.org/viewvc/db/ddlutils/trunk/src/site/javadoc/stylesheet.css?rev=1137132&view=auto
==============================================================================
--- db/ddlutils/trunk/src/site/javadoc/stylesheet.css (added)
+++ db/ddlutils/trunk/src/site/javadoc/stylesheet.css Sat Jun 18 06:23:32 2011
@@ -0,0 +1,83 @@
+/* Javadoc style sheet */
+
+/* Define colors, fonts and other style attributes here to override the 
defaults */
+
+/* Page background color */
+body {
+  font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 
sans-serif;
+  font-size: 15px;
+  background-color: white;
+  color: #000;
+}
+
+/* Headings */
+h1 { margin-top: 0; padding-top: 0; font-size: 200%; }
+h2 { font-size: 180%; }
+h3 { font-size: 150%; }
+h4 { font-size: 130%; }
+h5 { font-size: 100%; }
+h6 { font-size: 100%; }
+
+pre, code {
+  font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans 
Mono', monospace;
+  font-size: 0.9em;
+  background: #F0FFEB;
+  color: #222;
+}
+
+pre {
+    padding: 7px 10px;
+    margin: 15px 0;
+    border: 1px solid #C7ECB8;
+    border-radius: 2px;
+    -moz-border-radius: 2px;
+    -webkit-border-radius: 2px;
+    line-height: 1.3em;
+}
+
+p, dd {
+  line-height: 1.4em;
+  font-size: 17px;
+}
+
+a {
+  color: #348613;
+  text-decoration: none;
+  border-bottom: 1px dashed #DCF0D5;
+}
+
+a:hover {
+  color: #59B833;
+  border-bottom: 1px solid #6D4100;
+}
+
+.FrameItemFont a {
+  color: #444;
+  text-decoration: none;
+  border-bottom: 1px dashed #DCF0D5;
+}
+
+.FrameItemFont a:hover {
+  background: #EEE;
+  border-bottom: 1px solid #6D4100;
+}
+
+/* Table colors */
+.TableHeadingColor     { background: #CCCCCC; color:#000000 } /* Dark mauve */
+.TableSubHeadingColor  { background: #EEEEEE; color:#000000 } /* Light mauve */
+.TableRowColor         { background: #FFFFFF; color:#000000 } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont   { font-size: 100%; font-family: 'Lucida Grande', 'Lucida 
Sans Unicode', 'Geneva', 'Verdana', sans-serif; color:#000000 }
+.FrameHeadingFont { font-size:  90%; font-family: 'Lucida Grande', 'Lucida 
Sans Unicode', 'Geneva', 'Verdana', sans-serif; color:#000000 }
+.FrameItemFont    { font-size:  90%; font-family: 'Lucida Grande', 'Lucida 
Sans Unicode', 'Geneva', 'Verdana', sans-serif; color:#000000 }
+
+/* Navigation bar fonts and colors */
+.NavBarCell1    { background-color:#EEE; color:#000} /* Light mauve */
+.NavBarCell1Rev { background-color:#EEE; color:#AAA; } /* Dark Blue */
+.NavBarFont1    { font-family: 'Lucida Grande', 'Lucida Sans Unicode', 
'Geneva', 'Verdana', sans-serif; }
+.NavBarFont1Rev { font-family: 'Lucida Grande', 'Lucida Sans Unicode', 
'Geneva', 'Verdana', sans-serif; }
+
+.NavBarCell2    { font-family: 'Lucida Grande', 'Lucida Sans Unicode', 
'Geneva', 'Verdana', sans-serif; background-color:#FFFFFF; color:#000000}
+.NavBarCell3    { font-family: 'Lucida Grande', 'Lucida Sans Unicode', 
'Geneva', 'Verdana', sans-serif; background-color:#FFFFFF; color:#000000}
+

Added: db/ddlutils/trunk/src/site/sphinx/_templates/sidebarintro.html
URL: 
http://svn.apache.org/viewvc/db/ddlutils/trunk/src/site/sphinx/_templates/sidebarintro.html?rev=1137132&view=auto
==============================================================================
--- db/ddlutils/trunk/src/site/sphinx/_templates/sidebarintro.html (added)
+++ db/ddlutils/trunk/src/site/sphinx/_templates/sidebarintro.html Sat Jun 18 
06:23:32 2011
@@ -0,0 +1,4 @@
+<h3>Other resources</h3>
+<ul>
+  <li><a href="apidocs/index.html">Javadoc</a></li>
+</ul>
\ No newline at end of file

Modified: db/ddlutils/trunk/src/site/sphinx/conf.py
URL: 
http://svn.apache.org/viewvc/db/ddlutils/trunk/src/site/sphinx/conf.py?rev=1137132&r1=1137131&r2=1137132&view=diff
==============================================================================
--- db/ddlutils/trunk/src/site/sphinx/conf.py (original)
+++ db/ddlutils/trunk/src/site/sphinx/conf.py Sat Jun 18 06:23:32 2011
@@ -60,6 +60,6 @@ html_use_index = True
 htmlhelp_basename = 'ddlutilsdoc'
 
 html_sidebars = {
-    'index': ['globaltoc.html', 'relations.html', 'searchbox.html'],
-    '**': ['globaltoc.html', 'relations.html', 'searchbox.html']
+    'index': ['globaltoc.html', 'relations.html', 'sidebarintro.html', 
'searchbox.html'],
+    '**': ['globaltoc.html', 'relations.html', 'sidebarintro.html', 
'searchbox.html']
 }
\ No newline at end of file

Modified: db/ddlutils/trunk/src/site/sphinx/index.rst
URL: 
http://svn.apache.org/viewvc/db/ddlutils/trunk/src/site/sphinx/index.rst?rev=1137132&r1=1137131&r2=1137132&view=diff
==============================================================================
--- db/ddlutils/trunk/src/site/sphinx/index.rst (original)
+++ db/ddlutils/trunk/src/site/sphinx/index.rst Sat Jun 18 06:23:32 2011
@@ -27,4 +27,5 @@ DdlUtils documentation
    ant-tasks
    database-support
    databases/index
-   schema
\ No newline at end of file
+   schema
+   javadoc </apidocs/index.html>
\ No newline at end of file


Reply via email to