diff --git a/htmlSanityCheck-gradle-plugin/README.adoc b/htmlSanityCheck-gradle-plugin/README.adoc
index 98cd1dd6..ba8d8cdc 100644
--- a/htmlSanityCheck-gradle-plugin/README.adoc
+++ b/htmlSanityCheck-gradle-plugin/README.adoc
@@ -2,11 +2,12 @@
:doctype: book
include::../asciidoctor-config.ad[]
+ifdef::env-github[]
+:imagesdir: ../src/docs/images
+endif::env-github[]
ifndef::xrefToManual[:xrefToManual: ../README.adoc]
:gradleProperties: link:../gradle.properties[]
-ifdef::jbake-type[]
-:gradleProperties: {project-url}/blob/develop/gradle.properties[]
-endif::jbake-type[]
+ifdef::jbake-type[:gradleProperties: {project-url}/blob/develop/gradle.properties[]]
The {gradle-url}[Gradle] plugin of HTML Sanity Check (xref:{xrefToManual}[HSC]) enables to check generated or native HTML documentation from the Gradle build.