| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a custom Doclet that generates JSON files based on Javadoc comments in .java files. These JSON files have all the information necessary for building the reference pages on processing.org.
The Doclet will run through the .java file in the following repositories:
It will read the JavaDoc comments, create a series of .json files, and save them into the Processing website repository in the content/references/translations/en/ folder:
You will need a local copy of at least one of processing/processing4, processing/processing-sound or processing/processing-video alongside the processing/processing-website repo. The repositories need to be alongside each other in the same folder.
First, make sure that you have the proper setup before running the script:
If you already have those repositories cloned locally, just make sure that the latest commit of the main branch is checked out on all of them.
Running java -version should return the following:
openjdk version "17.0.4.1" 2022-08-12 LTS OpenJDK Runtime Environment Corretto-17.0.4.9.1 (build 17.0.4.1+9-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.4.9.1 (build 17.0.4.1+9-LTS, mixed mode, sharing)
Note that the name of the JDK file may vary slightly depending on your exact version.
Install the latest version of Apache Ant (1.10.13 or above).
Build the code for processing/processing4 and processing/processing-sound by following the instructions on their respective repositories and running the necessary Ant commands.
Now you are ready to run the doclet:
Follow the instructions over on the processing/processing-website repository to make a pull request for the newly updated reference files.
If you just want to test the Doclet without the processing-website repo, you can create the following folder structure in the root folder
processing-website/content/references/translations/en/
Then run the doclet script normally and it will generate the JSON files in the folder above.
| Back | FazBrowse Home | New Git URL |