Skip to content

Commit 25b10b1

Browse files
authored
FMWK-668 Update links between guides, demo and test pages (#145)
1 parent e9e8124 commit 25b10b1

File tree

20 files changed

+121
-55
lines changed

20 files changed

+121
-55
lines changed

asciidoc/basic-error-handling.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[quote, Werner Vogels]
55
Everything fails all the time.
66

7+
{nbsp} +
78
Add `spring-retry` dependency together with `spring-boot-starter-aop`:
89

910
.pom.xml
@@ -150,4 +151,6 @@ See link:optimistic-locking.adoc[Handling concurrent updates using optimistic lo
150151

151152
=== Demo application
152153

153-
To see demo application go to xref:demo-error-handling[Basic Error handling Demo].
154+
:demo_path: ../examples/src/main/java/com/demo
155+
156+
To see demo application go to link:{demo_path}/errorhandling[Basic Error Handling Demo].

asciidoc/composite-primary-key.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,6 @@ public interface CommentsRepository extends AerospikeRepository<CommentsDocument
8787

8888
== Demo application
8989

90-
To see demo application go to xref:demo-composite-pk[Composite Primary Key Demo].
90+
:demo_path: ../examples/src/main/java/com/demo
91+
92+
To see demo application go to link:{demo_path}/compositeprimarykey[Composite Primary Key Demo].

asciidoc/creating-secondary-index.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ public class IndexTests extends SecondaryIndexAerospikeDemoApplicationTest {
126126
----
127127

128128
TIP: If you are not familiar with how to set up embedded Aerospike server for your tests please see
129-
xref:guide-getting-started-simple-crud-testing[Getting Started: Testing] section.
129+
link:getting-started.adoc#guide-getting-started-simple-crud-testing[Getting Started: Testing].
130130

131131
=== Demo application
132132

133-
To see demo application go to xref:demo-creating-sindex[Creating Secondary Index Demo].
133+
:demo_path: ../examples/src/main/java/com/demo
134+
135+
To see demo application go to link:{demo_path}/index[Creating Secondary Index Demo].

asciidoc/custom-converters.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,6 @@ public class AerospikeConfiguration extends AbstractAerospikeDataConfiguration {
193193

194194
=== Demo application
195195

196-
To see demo application go to xref:demo-custom-converters[Custom Converters Demo].
196+
:demo_path: ../examples/src/main/java/com/demo
197+
198+
To see demo application go to link:{demo_path}/customconverters[Custom Converters Demo].

asciidoc/getting-started.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,6 @@ link:https://docs.spring.io/spring-framework/reference/[Spring Framework Documen
292292

293293
=== Demo application
294294

295-
To see demo application go to xref:demo-simple-crud[Simple CRUD Demo].
295+
:demo_path: ../examples/src/main/java/com/demo
296+
297+
To see demo application go to link:{demo_path}/simplecrud[Simple CRUD Demo].

asciidoc/optimistic-locking.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,6 @@ public class WatchedMoviesConcurrentTest extends OptimisticLockingAerospikeDemoA
226226

227227
== Demo application
228228

229-
To see demo application go to xref:demo-optimistic-locking[Optimistic Locking Demo].
229+
:demo_path: ../examples/src/main/java/com/demo
230+
231+
To see demo application go to link:{demo_path}/optimisticlocking[Optimistic Locking Demo].
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-composite-pk]]
2-
= Composite Primary Key
2+
= Composite Primary Key Demo
33

44
This directory contains a sample project for demonstration of creating and using a composite primary key with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of creating and using
1010

1111
== Guides
1212

13-
xref:guide-composite-pk[Composite Primary Key].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/composite-primary-key.adoc[Composite Primary Key]
1416

1517
== Tests
1618

17-
To see demo application go to xref:tests-composite-pk[Composite Primary Key Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/compositeprimarykey[Composite Primary Key Tests].
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-custom-converters]]
2-
= Custom Converters
2+
= Custom Converters Demo
33

44
This directory contains a sample project for demonstration of creating and registering custom converters with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of creating and regis
1010

1111
== Guides
1212

13-
xref:guide-custom-converters[Custom Converters].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/custom-converters.adoc[Custom Converters]
1416

1517
== Tests
1618

17-
To see demo application go to xref:tests-custom-converters[Custom Converters Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/customconverters[Custom Converters Tests].
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-error-handling]]
2-
= Basic Error Handling
2+
= Basic Error Handling Demo
33

44
This directory contains a sample project for demonstration of basic error handling when using Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of basic error handli
1010

1111
== Guides
1212

13-
xref:guide-error-handling[Error Handling].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/basic-error-handling.adoc[Basic Error Handling]
1416

1517
== Tests
1618

17-
To see demo application go to xref:tests-error-handling[Error Handling Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/errorhandling[Basic Error Handling Tests].
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-creating-sindex]]
2-
= Creating Secondary Index
2+
= Creating Secondary Index Demo
33

44
This directory contains a sample project for demonstration of creating secondary index with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of creating secondary
1010

1111
== Guides
1212

13-
xref:guide-creating-sindex[Creating Secondary Index].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/creating-secondary-index.adoc[Creating Secondary Index]
1416

1517
== Tests
1618

17-
To see tests go to xref:tests-creating-sindex[Creating Secondary Index Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/index[Creating Secondary Index Tests].

0 commit comments

Comments
 (0)