diff --git a/build/javadoc/make.sh b/build/javadoc/make.sh new file mode 100755 index 000000000..2a4b544ac --- /dev/null +++ b/build/javadoc/make.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +javadoc -public -d core \ + ../../core/src/processing/core/*.java + +# These have to be done in a certain order... Most classes need to know about +# core, and SVG needs to have the XML library opened earler. I'm probably not +# setting this up right, so if anyone knows how to do it without specifying +# all the directories like this, please let us know. +javadoc -public -d everything \ + -classpath ../../app/lib/antlr.jar:../../app/lib/jna.jar:../../serial/library/RXTXcomm.jar:../../opengl/library/jogl.jar:../../pdf/library/itext.jar:../../app/lib/ecj.jar \ + ../../core/src/processing/core/*.java \ + ../../app/src/antlr/*.java \ + ../../app/src/antlr/java/*.java \ + ../../app/src/processing/app/*.java \ + ../../app/src/processing/app/debug/*.java \ + ../../app/src/processing/app/linux/*.java \ + ../../app/src/processing/app/macosx/*.java \ + ../../app/src/processing/app/preproc/*.java \ + ../../app/src/processing/app/syntax/*.java \ + ../../app/src/processing/app/tools/*.java \ + ../../app/src/processing/app/windows/*.java \ + ../../dxf/src/processing/dxf/*.java \ + ../../net/src/processing/net/*.java \ + ../../opengl/src/processing/opengl/*.java \ + ../../pdf/src/processing/pdf/*.java \ + ../../serial/src/processing/serial/*.java \ + ../../video/src/processing/video/*.java \ + ../../xml/src/processing/xml/*.java \ + ../../candy/src/processing/candy/*.java + +cp stylesheet.css core/ +cp stylesheet.css everything/ diff --git a/build/javadoc/stylesheet.css b/build/javadoc/stylesheet.css new file mode 100644 index 000000000..46c958625 --- /dev/null +++ b/build/javadoc/stylesheet.css @@ -0,0 +1,185 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF } + +/* Headings */ +h1 { font-size: 145% } + + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableRowColor { background: #FFFFFF } /* White */ + + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } + + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ + +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} + + + +/* + * Processing - Styling + * + * fjenett - mail@florianjenett.de - 2005.08.14 + * + */ + + +/* first let's restyle what's there .. */ + +/* Table colors */ +.TableHeadingColor { + background: #CCCCBE; + color: #5A5A46; + } +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableRowColor { background: #FFFFFF } /* White */ + + +/* Font used in left-hand frame lists */ +.FrameTitleFont { + font-size: 0.9em; + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif +} +.FrameHeadingFont { + font-size: 0.9em; + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + color: #5A5A46; +} +.FrameItemFont { + font-size: 0.9em; + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif +} + + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#CCCCBE;} /* Light */ +.NavBarCell1Rev { background-color:#5A5A46;} /* Dark */ + +.NavBarFont1 { + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + color:#5A5A46; +} +.NavBarFont1Rev { + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + color:#FFFFFF; +} + +.NavBarCell2 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:#FFFFFF;} +.NavBarCell3 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:#FFFFFF;} + + +/* try to style some more ... */ + +body, +html +{ + font-size: smaller; + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + color: #333333; + } + +h1, h2, h3, h4, h5, h6 { + + color: #5A5A46; + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + font-weight: normal; + + line-height: normal; +} + +h1, h2, h3, h4 { + word-spacing: 0.2em; + font-weight: bold; +} + +h4, h5, h6 { + font-weight: bold; +} +/* Font Sizes */ +h1 { font-size: 1.5em; } +h2 { font-size: 1.4em; } +h3 { font-size: 1.3em; } +h4 { font-size: 1.2em; } +h5 { font-size: 1.1em; } +h6 { font-size: 1em; } +p { font-size: 1em; } + +dl, dd, dt, +dt > b +{ + color: #666666; + font-size: 1em; +} + +code, +pre +{ + font-size: 1.2em; + color:#333333; +} + +pre +{ + font-size: 1.2em; +} + +/* force the table-headers small .. */ +b +{ + font-size: small; +} + +tr, +td +{ + border-top: 0px solid; + border-left: 0px solid; + border-color: #999999; +} + +table +{ + border: 0px; +} + +img +{ + border: 0px solid #000000; +} + +a { + text-decoration: underline; + font-weight: normal; + color: #3399CC; +} + +a:hover +a:active { + text-decoration: underline; + font-weight: normal; + color: #3399CC; +} + +a:visited, +a:link:visited { + text-decoration: underline; + font-weight: normal; + color: #3399CC; +} \ No newline at end of file diff --git a/build/javadoc/upload.sh b/build/javadoc/upload.sh new file mode 100644 index 000000000..a2f71f0a7 --- /dev/null +++ b/build/javadoc/upload.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +rsync -avz --delete core/ fry@processing.org:dev/reference/core/javadoc/ +rsync -avz --delete everything/ fry@processing.org:dev/reference/everything/javadoc/ \ No newline at end of file