Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

hwsecurity-sdk/dokka-hugo-extension

Repository files navigation

DEPRECATED

Deprecated and no longer working with latest Dokka.

Please use dokka-hugo-plugin.

Dokka Hugo Extension

This library is a Dokka extension. Dokka is a documentation engine for Kotlin, performing the same function as Javadoc for Java. Mixed-language Java/Kotlin projects are fully supported. Dokka understands standard Javadoc comments in Java files and KDoc comments in Kotlin files. The same holds true for this Dokka extension.

Build

This extension is build as a fat-jar, i.e., it includes all dependenices in a single jar file using the Gradle Shadow Plugin.

./gradlew shadowJar

Requires

This extension is thought as an example how to build a dokka extension. It is not working out of the box.

  • Currently uses the Hugo academic theme
  • Requires special docs template called "javadocs"
  • Requires shortcode to insert markdown in html. Put md.html in your "shortcodes" folder with the content:
{{ .Inner }}

Usage with Gradle

Put into your projects libs folder and configure dokka:

dokka {
    outputFormat = "hugo"
    dokkaFatJar = files('libs/dokka-hugo-fatjar-0.9.17.jar')
}

Credits

Notes

About

Deprecated Dokka extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages