-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Verify Doc Code Snippets Compile * Move snippets to a new (non-published) sub-project * Suppress jar creation and publication * Suppress Regexp checkstyle on Doc Snippets * Add Java/Kotlin Toggle * Compile Kotlin Snippets; Fix Checkstyle * Fix Kotlin Syntax * Remove runner() from Consumer app. * Fix missing end tags. * Topic configuration and other polishing. * Fix Unused Import. * Copy Code Snippets into the build dir. * Fix spurious error messages; copy attributes to build.gradle; move asciidocs to spring-kafka-docs project. * Fix ToC Synchronization; upgrade spring-doc-resources; add Maven/Gradle Toggle. * Add `encoding` to `compileTestJava` to make encoding-specific tests OS-independent * Remove redundant variables from the `index.adoc` since they are set in the plugin config in Gradle * Fix typo for Kotlin code snippet * Rework all the Kotlin samples to more Kotlin-idiomatic style * Fix whitespace. Co-authored-by: Artem Bilan <abilan@vmware.com>
- Loading branch information
1 parent
e718ac0
commit c75d244
Showing
31 changed files
with
1,027 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
configurations { | ||
asciidoctorExt | ||
} | ||
|
||
dependencies { | ||
asciidoctorExt("io.spring.asciidoctor:spring-asciidoctor-extensions-block-switch:0.5.0") | ||
} | ||
|
||
repositories { | ||
maven { | ||
url "https://repo.spring.io/release" | ||
mavenContent { | ||
includeGroup "io.spring.asciidoctor" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
jar { | ||
enabled = false | ||
} | ||
|
||
sourcesJar { | ||
enabled = false | ||
} | ||
|
||
javadocJar { | ||
enabled = false | ||
} | ||
|
||
publishMavenJavaPublicationToMavenLocal { | ||
enabled = false | ||
} | ||
|
||
project.afterEvaluate { | ||
|
||
project.tasks.artifactoryPublish.enabled(false) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@import 'css/spring.css'; | ||
|
||
.listingblock .switch { | ||
border-style: none; | ||
display: inline-block; | ||
position: relative; | ||
bottom: -3px; | ||
} | ||
|
||
.listingblock .switch--item { | ||
padding: 10px; | ||
background-color: #e6e1dc; | ||
color: #282c34; | ||
display: inline-block; | ||
cursor: pointer; | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
} | ||
|
||
.listingblock .switch--item:not(:first-child) { | ||
border-style: none; | ||
} | ||
|
||
.listingblock .switch--item.selected { | ||
background-color: #282c34; | ||
color: #e6e1dc; | ||
} | ||
|
||
.listingblock pre.highlightjs { | ||
padding: 0; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.