+autodocs

This commit is contained in:
Sergey Chernov 2024-08-25 02:28:11 +02:00
parent 95c052a22c
commit e8d90e7c71
4 changed files with 25 additions and 5 deletions

3
.gitignore vendored
View File

@ -24,9 +24,6 @@ out/
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/

View File

@ -15,11 +15,18 @@ are incompatible with older. Sorry for inconvenience.
# Usage
```kotlin
repositories {
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
}
dependencies {
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
import("net.sergeych:crypto2:0.5.4")
}
```
# Documentation
Please see the current documentation [here](https://code.sergeych.net/docs/crypto2/).
# Supported platforms:
## Javascript

4
bin/pubdocs Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
set -e
./gradlew dokkaHtml
rsync -avz ./build/dokka/* code.sergeych.net:/bigstore/sergeych_pub/code/docs/crypto2

View File

@ -1,11 +1,12 @@
plugins {
kotlin("multiplatform") version "2.0.20"
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
id("org.jetbrains.dokka") version "1.9.20"
`maven-publish`
}
group = "net.sergeych"
version = "0.5.3"
version = "0.5.4"
repositories {
mavenCentral()
@ -93,3 +94,14 @@ publishing {
}
}
}
tasks.dokkaHtml.configure {
outputDirectory.set(buildDir.resolve("dokka"))
dokkaSourceSets {
// configureEach {
// includes.from("docs/bipack.md")
// }
}
}