diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-12 19:34:48 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-12 19:34:48 +0100 |
commit | 8640e513391f3a3c9909396d45795543f01e87d2 (patch) | |
tree | eb28bbdd3d5afb86c9bb61b99503b21809932787 /core/src/test | |
parent | f3ed9f5fa553c72a254e5ca5d28e108849937769 (diff) | |
download | dokka-8640e513391f3a3c9909396d45795543f01e87d2.tar.gz dokka-8640e513391f3a3c9909396d45795543f01e87d2.tar.bz2 dokka-8640e513391f3a3c9909396d45795543f01e87d2.zip |
don't generate index pages in tests
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/kotlin/TestAPI.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/src/test/kotlin/TestAPI.kt b/core/src/test/kotlin/TestAPI.kt index d7833e36..91812dfc 100644 --- a/core/src/test/kotlin/TestAPI.kt +++ b/core/src/test/kotlin/TestAPI.kt @@ -50,7 +50,11 @@ public fun verifyModel(vararg roots: ContentRoot, } addRoots(roots.toList()) } - val options = DocumentationOptions("", format, includeNonPublic = true, skipEmptyPackages = false, sourceLinks = listOf<SourceLinkDefinition>()) + val options = DocumentationOptions("", format, + includeNonPublic = true, + skipEmptyPackages = false, + sourceLinks = listOf<SourceLinkDefinition>(), + generateIndexPages = false) val injector = Guice.createInjector(DokkaModule(environment, options, DokkaConsoleLogger)) val documentation = buildDocumentationModule(injector, "test") verifier(documentation) |