aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/build.gradle10
-rw-r--r--core/src/main/kotlin/Analysis/AnalysisEnvironment.kt221
-rw-r--r--core/src/main/kotlin/Analysis/CoreProjectFileIndex.kt3
-rw-r--r--core/src/main/kotlin/Analysis/DokkaAnalyzerFacades.kt164
-rw-r--r--core/src/main/kotlin/DokkaBootstrapImpl.kt70
-rw-r--r--core/src/main/kotlin/Formats/FormatDescriptor.kt1
-rw-r--r--core/src/main/kotlin/Formats/FormatService.kt2
-rw-r--r--core/src/main/kotlin/Formats/HtmlFormatService.kt6
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt224
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt136
-rw-r--r--core/src/main/kotlin/Formats/MarkdownFormatService.kt39
-rw-r--r--core/src/main/kotlin/Formats/PackageListService.kt11
-rw-r--r--core/src/main/kotlin/Formats/StandardFormats.kt11
-rw-r--r--core/src/main/kotlin/Formats/StructuredFormatService.kt756
-rw-r--r--core/src/main/kotlin/Formats/YamlOutlineService.kt2
-rw-r--r--core/src/main/kotlin/Generation/DocumentationMerger.kt229
-rw-r--r--core/src/main/kotlin/Generation/DokkaGenerator.kt93
-rw-r--r--core/src/main/kotlin/Generation/FileGenerator.kt87
-rw-r--r--core/src/main/kotlin/Generation/configurationImpl.kt64
-rw-r--r--core/src/main/kotlin/Java/JavaPsiDocumentationBuilder.kt29
-rw-r--r--core/src/main/kotlin/Java/JavadocParser.kt7
-rw-r--r--core/src/main/kotlin/Kotlin/ContentBuilder.kt2
-rw-r--r--core/src/main/kotlin/Kotlin/DeclarationLinkResolver.kt11
-rw-r--r--core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt8
-rw-r--r--core/src/main/kotlin/Kotlin/DocumentationBuilder.kt172
-rw-r--r--core/src/main/kotlin/Kotlin/ExternalDocumentationLinkResolver.kt115
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinAsJavaDocumentationBuilder.kt5
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt11
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinLanguageService.kt4
-rw-r--r--core/src/main/kotlin/Languages/JavaLanguageService.kt8
-rw-r--r--core/src/main/kotlin/Locations/Location.kt19
-rw-r--r--core/src/main/kotlin/Model/Content.kt14
-rw-r--r--core/src/main/kotlin/Model/DocumentationNode.kt39
-rw-r--r--core/src/main/kotlin/Model/DocumentationReference.kt68
-rw-r--r--core/src/main/kotlin/Model/PackageDocs.kt2
-rw-r--r--core/src/main/kotlin/Samples/DefaultSampleProcessingService.kt8
-rw-r--r--core/src/main/kotlin/Samples/KotlinWebsiteSampleProcessingService.kt86
-rw-r--r--core/src/main/kotlin/Utilities/DokkaModules.kt25
-rw-r--r--core/src/main/kotlin/Utilities/ServiceLocator.kt7
-rw-r--r--core/src/main/kotlin/javadoc/docbase.kt119
-rw-r--r--core/src/main/kotlin/javadoc/dokka-adapters.kt9
-rw-r--r--core/src/main/resources/dokka/format/kotlin-website-samples.properties2
-rw-r--r--core/src/main/resources/dokka/format/kotlin-website.properties2
-rw-r--r--core/src/test/kotlin/DokkaConfigurationTestImplementations.kt81
-rw-r--r--core/src/test/kotlin/TestAPI.kt302
-rw-r--r--core/src/test/kotlin/format/GFMFormatTest.kt18
-rw-r--r--core/src/test/kotlin/format/HtmlFormatTest.kt161
-rw-r--r--core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt73
-rw-r--r--core/src/test/kotlin/format/KotlinWebSiteHtmlFormatTest.kt79
-rw-r--r--core/src/test/kotlin/format/KotlinWebSiteRunnableSamplesFormatTest.kt39
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt453
-rw-r--r--core/src/test/kotlin/issues/IssuesTest.kt16
-rw-r--r--core/src/test/kotlin/javadoc/JavadocTest.kt90
-rw-r--r--core/src/test/kotlin/model/ClassTest.kt125
-rw-r--r--core/src/test/kotlin/model/CommentTest.kt36
-rw-r--r--core/src/test/kotlin/model/FunctionTest.kt69
-rw-r--r--core/src/test/kotlin/model/JavaTest.kt34
-rw-r--r--core/src/test/kotlin/model/KotlinAsJavaTest.kt17
-rw-r--r--core/src/test/kotlin/model/LinkTest.kt32
-rw-r--r--core/src/test/kotlin/model/PackageTest.kt57
-rw-r--r--core/src/test/kotlin/model/PropertyTest.kt68
-rw-r--r--core/src/test/kotlin/model/SourceLinksErrorTest.kt5
-rw-r--r--core/src/test/kotlin/model/SourceLinksTest.kt5
-rw-r--r--core/src/test/kotlin/model/TypeAliasTest.kt20
-rw-r--r--core/testdata/format/JavaSupertype.html6
-rw-r--r--core/testdata/format/accessor.md2
-rw-r--r--core/testdata/format/annotatedTypeParameter.md2
-rw-r--r--core/testdata/format/annotationClass.md2
-rw-r--r--core/testdata/format/annotationClass.package.md2
-rw-r--r--core/testdata/format/annotationParams.md2
-rw-r--r--core/testdata/format/annotations.md2
-rw-r--r--core/testdata/format/arrayAverage.md2
-rw-r--r--core/testdata/format/backtickInCodeBlock.md2
-rw-r--r--core/testdata/format/blankLineInsideCodeBlock.html2
-rw-r--r--core/testdata/format/blankLineInsideCodeBlock.md2
-rw-r--r--core/testdata/format/bracket.html2
-rw-r--r--core/testdata/format/brokenLink.html2
-rw-r--r--core/testdata/format/classWithCompanionObject.html8
-rw-r--r--core/testdata/format/classWithCompanionObject.md2
-rw-r--r--core/testdata/format/codeBlock.html18
-rw-r--r--core/testdata/format/codeBlock.md12
-rw-r--r--core/testdata/format/codeBlockNoHtmlEscape.md2
-rw-r--r--core/testdata/format/codeSpan.html2
-rw-r--r--core/testdata/format/companionImplements.md4
-rw-r--r--core/testdata/format/companionObjectExtension.md4
-rw-r--r--core/testdata/format/crossLanguage/kotlinExtendsJava/Bar.html7
-rw-r--r--core/testdata/format/deprecated.class.html14
-rw-r--r--core/testdata/format/deprecated.package.html8
-rw-r--r--core/testdata/format/dynamicExtension.md2
-rw-r--r--core/testdata/format/dynamicType.md2
-rw-r--r--core/testdata/format/emptyDescription.md2
-rw-r--r--core/testdata/format/entity.html7
-rw-r--r--core/testdata/format/enumClass.md2
-rw-r--r--core/testdata/format/enumClass.value.md2
-rw-r--r--core/testdata/format/enumRef.md2
-rw-r--r--core/testdata/format/exceptionClass.md2
-rw-r--r--core/testdata/format/exceptionClass.package.md2
-rw-r--r--core/testdata/format/exclInCodeBlock.md2
-rw-r--r--core/testdata/format/extensionFunctionParameter.md2
-rw-r--r--core/testdata/format/extensionScope.md2
-rw-r--r--core/testdata/format/extensionWithDocumentedReceiver.md2
-rw-r--r--core/testdata/format/extensions.class.md4
-rw-r--r--core/testdata/format/externalReferenceLink.md2
-rw-r--r--core/testdata/format/functionWithDefaultParameter.md2
-rw-r--r--core/testdata/format/functionalTypeWithNamedParameters.html26
-rw-r--r--core/testdata/format/functionalTypeWithNamedParameters.md20
-rw-r--r--core/testdata/format/genericInheritedExtensions.md2
-rw-r--r--core/testdata/format/gfm/listInTableCell.md4
-rw-r--r--core/testdata/format/gfm/sample.md8
-rw-r--r--core/testdata/format/htmlEscaping.html2
-rw-r--r--core/testdata/format/inapplicableExtensionFunctions.md2
-rw-r--r--core/testdata/format/indentedCodeBlock.html2
-rw-r--r--core/testdata/format/indentedCodeBlock.md2
-rw-r--r--core/testdata/format/inheritedCompanionObjectProperties.md2
-rw-r--r--core/testdata/format/inheritedExtensions.md2
-rw-r--r--core/testdata/format/inheritedMembers.md2
-rw-r--r--core/testdata/format/inlineSuspendFunction.kt2
-rw-r--r--core/testdata/format/inlineSuspendFunction.md4
-rw-r--r--core/testdata/format/javaCodeInParam.md2