Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
corneil committed Sep 4, 2019
1 parent 0136630 commit e61b2b7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 152 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'org.jetbrains.dokka' version '0.9.18'
id 'maven-publish'
id 'signing'
id 'org.asciidoctor.convert' version '1.5.9.2'
id 'org.asciidoctor.convert' version '2.2.0'
id 'org.jlleitschuh.gradle.ktlint' version '8.2.0'
id 'org.jlleitschuh.gradle.ktlint-idea' version '8.2.0'
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/docs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ asciidoctor {
}
}
attributes toc: 'left',
'source-highlighter': 'prism',
'source-highlighter': 'rouge',
idprefix: '',
idseparator: '-',
docinfo1: ''
Expand Down
5 changes: 4 additions & 1 deletion src/doc/asciidoc/kfsm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ class TurnstileFSM(turnstile: Turnstile) {
fun pass() = fsm.sendEvent(TurnstileEvents.PASS)
companion object {
private val definition = stateMachine(TurnstileStates.values().toSet(), TurnstileEvents::class, Turnstile::class) {
private val definition = stateMachine(
TurnstileStates.values().toSet(),
TurnstileEvents::class,
Turnstile::class) {
initial {
if (locked)
TurnstileStates.LOCKED
Expand Down
142 changes: 0 additions & 142 deletions src/doc/asciidoc/prism.css

This file was deleted.

7 changes: 0 additions & 7 deletions src/doc/asciidoc/prism.js

This file was deleted.

0 comments on commit e61b2b7

Please sign in to comment.