Skip to content

Commit

Permalink
chore(docs): publish api reference
Browse files Browse the repository at this point in the history
  • Loading branch information
drochetti committed Sep 10, 2024
1 parent 213581d commit c998c35
Show file tree
Hide file tree
Showing 194 changed files with 23,087 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/** linguist-generated
21 changes: 19 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ subprojects {
ktlint()
}
kotlinGradle {
target("*.gradle.kts")
ktlint()
target("*.gradle.kts")
ktlint()
}
}

Expand Down Expand Up @@ -60,4 +60,21 @@ subprojects {
(options as CoreJavadocOptions).addBooleanOption("Xdoclint:none", true)
}

afterEvaluate {
when {
plugins.hasPlugin("java") && !plugins.hasPlugin("org.jetbrains.kotlin.jvm") -> {
tasks.named<Javadoc>("javadoc") {
options.encoding = "UTF-8"

doLast {
copy {
from(destinationDir)
into(rootProject.projectDir.resolve("docs/${project.name}"))
}
}
}
}
}
}

}
15 changes: 15 additions & 0 deletions client-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,18 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
tasks.test {
useJUnitPlatform()
}

afterEvaluate {
when {
plugins.hasPlugin("org.jetbrains.kotlin.jvm") -> {
tasks.named<org.jetbrains.dokka.gradle.DokkaTask>("dokkaHtml") {
doLast {
copy {
from(outputDirectory)
into(rootProject.projectDir.resolve("docs/${project.name}"))
}
}
}
}
}
}
221 changes: 221 additions & 0 deletions docs/fal-client-async/ai/fal/client/AsyncFalClient.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c998c35

Please sign in to comment.