{% comment %} includes a code-formatted class name with link to its javadoc and optionally its source code usage: { % include java_link.html class_name="JcloudsLocationConfig" package_path="org/apache/brooklyn/location/jclouds" project_subpath="location/jclouds" % } {% endcomment %}{% if include.project_subpath %}{{ include.class_name }} ({% comment %}javadoc, {% endcomment %}src){% comment %} {% endcomment %}{% else %}({{ include.class_name }})[/guide/misc/javadoc/{{ include.package_path }}/{{ include.class_name }}.html] {% endif %}{% comment %} must NOT have a newline at the end here, as the include is often done inline {% endcomment %}