Skip to content

Documentation

MKDOCS Documentation

The documentation website is generated with mkdocs . The table of content is described in <root>/mkdocs.yml.

Build documentation:

  • Manual build with c2sim-server\docs\generate-mkdocs.bat to view on local machine.

  • Automatic build with GitHub action .github\workflows\deploy.yml on commit to GitHub.

  • Documentation is automatic build in docker image

View documentation

Deployment How to show documentation website
Online https://tno-mst.github.io/c2sim-server/
Local Run generate-mkdocs.bat; builds documentation and view documentation on local webserver on http://127.0.0.1:1234/TNO-MST/c2sim-server/
Docker When the C2SIM-SERVER is started in docker container, the documentation is automatically hosted by the C2SIM server.

Java doc

Each module has javadoc enabled.

During the standard Maven build process, Javadoc is generated automatically.

mvn clean verify
Type Location
Per-module HTML Javadoc <module>/target/site/apidocs
Per-module Javadoc JAR <module>/target/<module-name>-<version>-javadoc.jar
Aggregated HTML Javadoc (all modules) <root>\target\reports\apidocs

Manual Build Commands

mvn javadoc:javadoc # per module (in module folder)
mvn javadoc:aggregate # generate one javadoc for all modules (root folder)