From a93644c38011d27b5843db91f7ca331fa3234553 Mon Sep 17 00:00:00 2001 From: Adam Semenenko <152864218+adam-enko@users.noreply.github.com> Date: Tue, 12 Nov 2024 19:49:57 +0100 Subject: [PATCH] update expectedData --- .../index.html | 10 +-- .../html/-demo -library/demo/index.html | 31 ++----- .../html/-demo -library/demo/main.html | 87 ------------------- .../html/-demo -library/package-list | 3 +- .../html/navigation.html | 9 +- .../html/scripts/pages.json | 2 +- 6 files changed, 16 insertions(+), 126 deletions(-) rename dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/{-entry-point => -hide-from-dokka}/index.html (88%) delete mode 100644 dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/main.html diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/-entry-point/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/-hide-from-dokka/index.html similarity index 88% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/-entry-point/index.html rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/-hide-from-dokka/index.html index a80ed7d28b..fdea82a54b 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/-entry-point/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/-hide-from-dokka/index.html @@ -2,7 +2,7 @@ - EntryPoint + HideFromDokka @@ -63,11 +63,11 @@
-
- +
+
-

EntryPoint

-
annotation class EntryPoint

Marks the entry point of the program.

The HideInternalApi Dokka Plugin is configured to exclude code with this annotation from the generated docs.

+

HideFromDokka

+
annotation class HideFromDokka

The custom HideInternalApi Dokka plugin is configured to exclude code with this annotation from the generated docs.

diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/index.html index 5136840c8b..6852291c42 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/index.html @@ -69,26 +69,11 @@

Package-level declarations

-
+

Types

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
annotation class EntryPoint

Marks the entry point of the program.

-
-
-
-
- +
@@ -103,21 +88,17 @@

Types

-
-
-
-

Functions

-
+
- - + +
Link copied to clipboard
-
fun main(args: Array<String>)

The entry point for Greeter.

+
annotation class HideFromDokka

The custom HideInternalApi Dokka plugin is configured to exclude code with this annotation from the generated docs.

diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/main.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/main.html deleted file mode 100644 index a2786d924c..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/demo/main.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - main - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- -
-

main

-
-
fun main(args: Array<String>)

The entry point for Greeter.

-
- -
-
-
- - \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/package-list b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/package-list index 3ecf938b0a..99436fbdb9 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/package-list +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/-demo -library/package-list @@ -1,10 +1,9 @@ $dokka.format:html-v1 $dokka.linkExtension:html $dokka.location:demo////PointingToDeclaration/-demo -library/demo/index.html -$dokka.location:demo//main/#kotlin.Array[kotlin.String]/PointingToDeclaration/-demo -library/demo/main.html -$dokka.location:demo/EntryPoint///PointingToDeclaration/-demo -library/demo/-entry-point/index.html $dokka.location:demo/Greeter///PointingToDeclaration/-demo -library/demo/-greeter/index.html $dokka.location:demo/Greeter/Greeter/#kotlin.String/PointingToDeclaration/-demo -library/demo/-greeter/-greeter.html $dokka.location:demo/Greeter/greet/#/PointingToDeclaration/-demo -library/demo/-greeter/greet.html $dokka.location:demo/Greeter/name/#/PointingToDeclaration/-demo -library/demo/-greeter/name.html +$dokka.location:demo/HideFromDokka///PointingToDeclaration/-demo -library/demo/-hide-from-dokka/index.html demo diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/navigation.html index 00e357b5d7..72ca96132a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/navigation.html @@ -2,14 +2,11 @@
- - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/scripts/pages.json b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/scripts/pages.json index 8a80f7a4e9..c791d300ee 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/scripts/pages.json +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-dokka-plugin-example/html/scripts/pages.json @@ -1 +1 @@ -[{"name":"annotation class EntryPoint","description":"demo.EntryPoint","location":"-demo -library/demo/-entry-point/index.html","searchKeys":["EntryPoint","annotation class EntryPoint","demo.EntryPoint"]},{"name":"class Greeter(val name: String)","description":"demo.Greeter","location":"-demo -library/demo/-greeter/index.html","searchKeys":["Greeter","class Greeter(val name: String)","demo.Greeter"]},{"name":"constructor(name: String)","description":"demo.Greeter.Greeter","location":"-demo -library/demo/-greeter/-greeter.html","searchKeys":["Greeter","constructor(name: String)","demo.Greeter.Greeter"]},{"name":"fun greet()","description":"demo.Greeter.greet","location":"-demo -library/demo/-greeter/greet.html","searchKeys":["greet","fun greet()","demo.Greeter.greet"]},{"name":"fun main(args: Array)","description":"demo.main","location":"-demo -library/demo/main.html","searchKeys":["main","fun main(args: Array)","demo.main"]},{"name":"val name: String","description":"demo.Greeter.name","location":"-demo -library/demo/-greeter/name.html","searchKeys":["name","val name: String","demo.Greeter.name"]}] \ No newline at end of file +[{"name":"annotation class HideFromDokka","description":"demo.HideFromDokka","location":"-demo -library/demo/-hide-from-dokka/index.html","searchKeys":["HideFromDokka","annotation class HideFromDokka","demo.HideFromDokka"]},{"name":"class Greeter(val name: String)","description":"demo.Greeter","location":"-demo -library/demo/-greeter/index.html","searchKeys":["Greeter","class Greeter(val name: String)","demo.Greeter"]},{"name":"constructor(name: String)","description":"demo.Greeter.Greeter","location":"-demo -library/demo/-greeter/-greeter.html","searchKeys":["Greeter","constructor(name: String)","demo.Greeter.Greeter"]},{"name":"fun greet()","description":"demo.Greeter.greet","location":"-demo -library/demo/-greeter/greet.html","searchKeys":["greet","fun greet()","demo.Greeter.greet"]},{"name":"val name: String","description":"demo.Greeter.name","location":"-demo -library/demo/-greeter/name.html","searchKeys":["name","val name: String","demo.Greeter.name"]}] \ No newline at end of file