You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Casey Reas edited this page Oct 21, 2015
·
8 revisions
This file is incomplete, it was started on 14 October 2015 as a start to documenting our complicated Reference generation code
Basics
To build the Reference files, it's necessary to have three repositories checked out within the same folder:
/processing/processing/
/processing/processing-docs/
/processing/processing-sound/
The Reference HTML files are created by taking Javadoc and custom Javadoc-style elements from JAVA files and combining this with information from hand-edited XML files. The XML files contain the descriptions and the examples. The JAVA files contain the parameters, description of parameters, the category for the Index, the related functions, and more.
The script to build the Reference HTML files are in the java-generate folder. Run the processingrefBuild.sh file inside java-generate\ReferenceGenerator\
XML Files
The descriptions and examples for the Reference are stored in XML files located here. These XML files used to contain the entire reference and we moved to the split Javadoc/XML merge system later. Some (many) parts of the Java language are included in the Processing Reference and these are built entirely from the XML files. These files are in the include folder located here.
Javadoc
The Processing Reference pulls information from the Javadoc notation in the source code and the Reference has a few custom tags in the Javadoc style that need to be added for the Reference to build correctly.