Skip to content
SimPaths
SimPaths API

SimPaths API

The API documentation is generated from Javadoc comments in the Java source. Use it to inspect classes and methods; use the Repository Guide and model schedule to understand how those components work together.

Generate the API locally

From the repository root, with the project's JDK and Maven installed:

mvn javadoc:javadoc

With the project's current Maven Javadoc configuration, inspect the generated HTML under target/reports/apidocs/. The command output reports the destination.

When changing a public method, document its purpose, inputs, return value, side effects and relevant assumptions. Verify the generated page before submitting the change through the normal code-review process.

Publishing workflow

The website builds the documentation and API from the same Git revision on develop. The published site contains one documentation version, with the generated API under /api/.

The Deploy documentation workflow (.github/workflows/deploy-docs.yml) runs on develop pushes or manual dispatches in simpaths/SimPaths. When documentation or API build inputs change, it builds and checks the site and API together before publishing. A final revision check rejects a build if newer relevant changes have reached develop.

A documentation change should accompany the code change in the same branch and pull request. Use the deployment workflow's source commit to identify the exact build; develop is a moving branch, while a commit hash identifies a reproducible revision.

Open the API documentation