Skip to content

Commit

Permalink
Update/expand website and API documentation (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 committed Aug 26, 2020
1 parent 09a225e commit 4e205a4
Show file tree
Hide file tree
Showing 14 changed files with 193 additions and 101 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
run: pip install mkdocs-material mkdocs-macros-plugin

- name: Build API docs
run: |
./gradlew assemble
./gradlew generateMkdocsApiDocs
run: ./gradlew mkdocsDokka

- name: Deploy
run: mkdocs gh-deploy --force
run: mkdocs gh-deploy --force
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Features:
- Convert to and from platform-specific date-time types
- Works on JVM, Android, iOS, macOS, tvOS, and watchOS

Current limitations:
Notable Limitations:
- No custom format strings (must write platform-specific code to do this)
- No support for JavaScript or non-Apple native platforms
- Only supports the ISO calendar system

Island Time is still early in development and "moving fast" so to speak. The API is likely to experience changes between minor version increments.
Expand Down
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ buildscript {
}
}

plugins {
id("org.jetbrains.dokka")
}

subprojects {
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_1_8.toString()
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
implementation(kotlin("gradle-plugin"))
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.0-dev-38")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.0-dev-53")
implementation("com.android.tools.build:gradle:4.0.1")
}

Expand Down
4 changes: 2 additions & 2 deletions core/src/commonMain/kotlin/io/islandtime/clock/Clock.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import io.islandtime.internal.deprecatedToError
import io.islandtime.measures.*

/**
* A time source.
* An abstraction providing the current time.
*
* For an implementation that uses the system's clock, see [SystemClock]. [FixedClock] is also available for testing
* purposes.
Expand All @@ -19,7 +19,7 @@ import io.islandtime.measures.*
*/
interface Clock {
/**
* The clock's time zone.
* The time zone of this clock.
*/
val zone: TimeZone

Expand Down

0 comments on commit 4e205a4

Please sign in to comment.