Dokka Versions Save

API documentation engine for Kotlin

1.4.0

3 years ago

Main features:

  • Gradle plugin overhaul
  • Autoconfiguration for sourceset for Multiplatform projects
  • Kotlin 1.4.0

Improvements:

Html format:

  • added left navigation search component
  • improved intuitiveness of displayed cursor types (thanks to @hamza1311)
  • improved presentation of some generic parameters
  • made unresolved links render as text
  • improved overall UI experience

Javadoc:

  • implemented generating both package-list and element-list
  • added index page

Reporting

  • maturity warning
  • handling of missing sourceset for Javadoc
  • handling nothing to document
  • descriptions to all Dokka tasks

Other:

  • improved parsing of generic typealiases
  • removed redundant type bounds from all formats

Bugs fixed:

  • missing whitespace in class-like signatures - #1419
  • classpath issues in very specific conditions - #1415
  • missing resources on windows - #1399
  • top-level functions crashing Javadoc generation - #1393 #1385
  • unstable order of functions in generated documentation - #1333
  • anchors on android being broken in some cases - #1230
  • improperly formatted code blocks - #1346
  • source tabs not displayed on Windows in html format - #1361
  • stack overflow on documenting complex type constraints - #1342
  • symbols defined in companion objects not being linked correctly in rare cases - #1268
  • unresolved links in some cases - #1345
  • missing sourcesets on non-lazily configured Android projects - #1330
  • Couldn't get delegate for class error - #1341
  • to many sources set bubbles after running Dokka collector - #1294
  • empty packages listed in the sidebar - #1257
  • suppressed files still documented - #1245

v1.4.0-rc

3 years ago

The first preview release of Dokka after a complete rewrite.

Most important features:

  • Support for Kotlin 1.4.0-rc
  • Safe and extensible plugin system
  • New HTML format:
    • Search bar
    • Navigation tree
    • Runnable samples
    • Platform filtering
    • Linking to sources
  • GFM format
  • Jekyll format
  • Kotlin-as-java view for all formats
  • Rendering Javadoc (for all versions of JDK)
  • Documentation of multimodule projects with a common index

For details see the blog post.

0.10.1

4 years ago

Changes:

  • Update bundled compiler version to 1.3.61 #531
  • Support Flavor-specific documentation #345
  • Links to stdlib on kotlinlang don't work for dokka-maven-plugin #551
  • Dokka 0.10.0 ignore unsuppresed packages in suppressed packages #521
  • packageListUrl must be specified even if in default location #514
  • Some API methods are private starting from 0.10.0 #534
  • Dokka 0.10.0 creates links to packages with no public declarations #510
  • Better error message than "List is empty" when no platform is specified in multiplatform project #511
  • Implement display of Java default constructors #542
  • Ignore samples. Sample import when generating runnable samples #530

0.10.0

4 years ago

Check out migration notes: here

Thanks to our external contributors:

Changes:

  • Experimental Multiplatform Support (#322, #491, #212, #307, #391)
  • Merged Android and non-Android Gradle plugin #458
  • Fixed Gradle plugin does not play well with gradle-kotlin-dsl #196
  • Added Include Non Public as global maven configuration option #435
  • Fixed Code blocks in included markdown aren't parsed correctly #433
  • Fixed NPE in Javadoc generation #450
  • Fixed Markdown underscore emphasis in outFormat html #182
  • Fixed Self-closing <p/> tag causing removal of link #369
  • Added documentation for the Gradle Kotlin DSL #359
  • Fixed problems with dokkaFatJar resolution (#332, #296, #462)
  • Fixed using sourceRoot results in empty index.html #496
  • Fixed incorrect parsing of https urls in KDoc links #405
  • Fixed +includeNonPublic in CLI #481
  • Fixed Dokka fails with Javadoc format and nested Java annotations #490
  • Fixed CCE in html-as-java mode #455
  • Fixed CCE in Javadoc output mode #477
  • Fixed rendering for parameter type in Javadoc #465
  • Fixed Javadoc fails when documenting annotations #464

0.9.18

5 years ago

Check out migration notes: here

Experimental Kotlin Multiplatform support is scheduled for 0.9.19

Thanks to our external contributors:

Changes:

0.9.17

5 years ago
  • Fix suppression of generated files for new Android Gradle Plugin #308
  • Fix the wrong URL for external elements in packages with upper case in Dokka format #285
  • Fix link resolution context for inherited Kdoc #229
  • Fix Dokka Maven Plugin to work on JDK9 #272
  • Fix CCE in getting sourcePsi while Javadoc generation #287, thanks to @Nexcius
  • Fix not found node for external enum items #274
  • Fix early resolution of classpath #282
  • Remove unnecessary report logging in Javadoc generator #291, thanks to @lukasniemeier-zalando

Internals

LocationService removed, and all logic of path calculations was moved to NodeLocationAwareGenerator which implemented by FileGenerator

FormatDescriptor now can bind its own services, as it has access to output & analysis module Binder By default, there is a hierarchy of some abstract base format descriptors, which provides an interface of required services

0.9.16

6 years ago
  • Bundled kotlin compiler updated to 1.2.40-dev-529
  • #251 Fixed suboptimal (non-incremental) input properties for Gradle tasks
  • #252 Fixed crash when class folders are on the classpath
  • #265 Fixed Gradle plugin compatibility with Kotlin 1.2
  • #243 Renamed reportNotDocumented to reportUndocumented in the Gradle plugin
  • #128 Added task option to suppress an entire package
  • #220 Fixed Dokka running under JDK9
  • #174 Fixed wrong link in the last breadcrumbs item
  • #205 Fixed links to Companion static methods with parameters do not work in javadoc format
  • #224 Filtered out Android generated classes from docs
  • #186 Fixed Gradle plugin task does not execute after source updates
  • #228 Fixed Multi-line indented code block rendering to HTML
  • #226 Fixed Gradle plugin includeNonPublic not working as documented
  • #218 Made classpath configuration option Iterable<File>
  • #219 Unbundled kotlin-stdlib & kotlin-reflect from Gradle plugin
  • #225 Fixed exception when using packageOptions in Gradle plugin

Get artifacts at https://bintray.com/kotlin/dokka/dokka/0.9.16

0.9.16-eap-3

6 years ago

Fixed incompatibility with Gradle 4.5+ (#265)

Dokka now not compatible with Gradle >= 3.2, < 3.5

Artifacts

https://bintray.com/kotlin/kotlin-eap/dokka/0.9.16-eap-3

0.9.16-eap-2

6 years ago

0.9.15

6 years ago
  • Bundled Kotlin compiler updated to 1.1.3
  • (Gradle) processConfigurations now deprecated, new configuration mechanism kotlinTasks added.
  • (#168) Compatibility with Android Build Tools 3.0.0-alpha3+
  • When Gradle plugin dokka-android used Android Reference now linked by default.
  • (#171) Fixed parameters formatting is broken in 0.9.14
  • (#167, KT-18213) Fixed StringIndexOutOfRange for Markdown reference style links.
  • Added opt-in caching of package-list's, see cacheRoot in the docs.