Skip to content

Commit 746be16

Browse files
authored
Merge pull request #61946 from gabriel-rh/OSDOCS-5967-fix-check-to-use-syntax-highlighting
OSDOCS-5967 fix script to identify issues in syntax highlighting
2 parents 39130f7 + b78ca03 commit 746be16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-asciidoctor-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ check_updated_assemblies () {
3737
if grep -rq "$PAGE" --include "*.yml" _topic_maps ; then
3838
# validate the assembly
3939
echo "Validating $ASSEMBLY. Validation will fail with FAILED, ERROR, or WARNING messages..."
40-
asciidoctor "$ASSEMBLY" -a icons! -o /dev/null -v --failure-level WARN
40+
asciidoctor "$ASSEMBLY" -a source-highlighter=rouge -a icons! -o /tmp/out.html -v --failure-level WARN --trace
4141
else
4242
echo "$ASSEMBLY is not in a topic_map"
4343
fi

0 commit comments

Comments
 (0)