This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git

commit 51dce04df39ab16cf7ce686e2c1321bbef956a2b
Author: Paul King <[email protected]>
AuthorDate: Thu Dec 19 17:46:11 2024 +1000

    incorrectly tried to save one attribute definition
---
 doc/manual/manual.gradle                      | 1 +
 doc/manual/src/docs/asciidoc/090-binding.adoc | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/manual/manual.gradle b/doc/manual/manual.gradle
index f54e29fd..b0feec92 100644
--- a/doc/manual/manual.gradle
+++ b/doc/manual/manual.gradle
@@ -77,6 +77,7 @@ asciidoctorj {
         toc                    : 'left',
         encoding               : 'utf-8',
         'snippets-dir'         : snippetsPath,
+        'snippets-res-dir'     : snippetsPath,
         'rb-snippets-dir'      : snippetsPath,
         'cm-snippets-dir'      : snippetsPath,
         'ct-snippets-dir'      : snippetsPath,
diff --git a/doc/manual/src/docs/asciidoc/090-binding.adoc 
b/doc/manual/src/docs/asciidoc/090-binding.adoc
index 2c1d0f1e..d47b7a3f 100644
--- a/doc/manual/src/docs/asciidoc/090-binding.adoc
+++ b/doc/manual/src/docs/asciidoc/090-binding.adoc
@@ -1,5 +1,6 @@
 ifndef::snippets-dir[]
 :snippets-dir: ../../../../manual-snippets/src/test/groovy
+:snippets-res-dir: ../../../../manual-snippets/src/test/resources
 :rb-snippets-dir: ../../../../manual-snippets/real-browser/src/test/groovy
 :cm-snippets-dir: ../../../../../module/geb-core/src/main/groovy
 :ct-snippets-dir: ../../../../../module/geb-core/src/test/groovy
@@ -35,7 +36,7 @@ The following is an example script that will work if 
`BindingUpdater` is initial
 
 [source,groovy]
 ----
-include::{snippets-dir}/../resources/gebScript.groovy[tag=script,indent=0]
+include::{snippets-res-dir}/gebScript.groovy[tag=script,indent=0]
 ----
 
 In a managed binding, all of the methods/properties that you can usually call 
in the {drive-method-link}[`Browser.drive()`] method are available.
@@ -70,5 +71,5 @@ The binding updater also updates the `page` property of the 
binding to be the br
 
 [source,groovy]
 ----
-include::{snippets-dir}/../resources/gebScriptUsingPages.groovy[tag=script,indent=0]
+include::{snippets-res-dir}/gebScriptUsingPages.groovy[tag=script,indent=0]
 ----
\ No newline at end of file

Reply via email to