Skip to content

Commit

Permalink
Fix the documentation build with cavets
Browse files Browse the repository at this point in the history
THis used to rely on an extension from Ben Muschko which no longer
is available. This means that the examples for Groovy & Kotlin
will appear below each other rather than as tabs,
  • Loading branch information
ysb33r committed Jan 5, 2024
1 parent c0e374e commit 244c56d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ configurations {
}

dependencies {
asciidocExtensions 'com.bmuschko:asciidoctorj-tabbed-code-extension:0.1'
// asciidocExtensions 'com.bmuschko:asciidoctorj-tabbed-code-extension:0.1'
}

task prepareSources( type: Sync) {
Expand Down Expand Up @@ -68,7 +68,7 @@ asciidoctor {
baseDirFollowsSourceDir()
dependsOn prepareSources
sourceDir 'src/docs/asciidoc'
configurations 'asciidocExtensions'
// configurations 'asciidocExtensions'

sources {
include 'index.adoc'
Expand Down
7 changes: 0 additions & 7 deletions docs/src/docs/asciidoc/appendix/tips-and-tricks.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,3 @@ asciidoctorPdf {
}
----

=== Resolving AsciidoctorJ dependencies against a specific repository


[source,groovy]
----
include::{plugin-jvm}/test/groovy/org/asciidoctor/gradle/jvm/AsciidoctorJExtensionSpec.groovy[tags=restrict-repository,indent=0]
----

0 comments on commit 244c56d

Please sign in to comment.