Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docs-pr.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ workflow(
"./gradlew",
"--stacktrace",
"asciidoctor",
"asciidoctorMarkdown",
"javadoc",
""""-Dvariant=${Matrix.axes.variants.last()}"""",
""""-DjavaVersion=${Matrix.axes.javaVersions.last()}""""
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: 'sudo apt update && sudo apt install --yes graphviz'
- id: 'step-3'
name: 'Build Docs'
run: './gradlew --stacktrace asciidoctor javadoc "-Dvariant=5.0" "-DjavaVersion=25"'
run: './gradlew --stacktrace asciidoctor asciidoctorMarkdown javadoc "-Dvariant=5.0" "-DjavaVersion=25"'
- id: 'step-4'
name: 'Archive and upload docs'
uses: 'actions/upload-artifact@v7'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,11 @@ private void processBlocks(Document document, boolean listings) {
lines.removeIf(line -> line.trim().startsWith(includeSourceMarker) && line.endsWith(includeSourceMarker));
block.setLines(lines);

// For markdown backend, skip the table wrapping — just keep the plain code block
if ("markdown".equals(document.getAttribute("backend"))) {
return;
}

// construct an AsciiDoc table programmatically that wraps
// the current block and in AsciiDoc would be looking like
//
Expand Down
Loading
Loading