Skip to content

Commit 43b4962

Browse files
committed
DATAMONGO-1245 - Final tweaks to Query by Example documentation.
Tweaked section anchor to match conventions. Use level offsets to accommodate changes in Spring Data Commons.
1 parent 9d0c8ec commit 43b4962

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/asciidoc/reference/mongodb.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1330,8 +1330,8 @@ TextQuery.searching(new TextCriteria().matching("\"coffee cake\""));
13301330
TextQuery.searching(new TextCriteria().phrase("coffee cake"));
13311331
----
13321332

1333-
include::../{spring-data-commons-docs}/query-by-example.adoc[]
1334-
include::query-by-example.adoc[]
1333+
include::../{spring-data-commons-docs}/query-by-example.adoc[leveloffset=+1]
1334+
include::query-by-example.adoc[leveloffset=+1]
13351335

13361336

13371337
[[mongo.mapreduce]]

src/main/asciidoc/reference/query-by-example.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[[query.by.example.execution]]
2-
=== Executing Example
1+
[[query-by-example.execution]]
2+
== Executing an example
33

44
.Query by Example using a Repository
55
====

0 commit comments

Comments
 (0)