From 43b496287c770cc868d55f84f19e322d7209031c Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Fri, 18 Mar 2016 09:29:46 +0100 Subject: [PATCH] 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. --- src/main/asciidoc/reference/mongodb.adoc | 4 ++-- src/main/asciidoc/reference/query-by-example.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/asciidoc/reference/mongodb.adoc b/src/main/asciidoc/reference/mongodb.adoc index 2e4d10e3b..6608fe403 100644 --- a/src/main/asciidoc/reference/mongodb.adoc +++ b/src/main/asciidoc/reference/mongodb.adoc @@ -1330,8 +1330,8 @@ TextQuery.searching(new TextCriteria().matching("\"coffee cake\"")); TextQuery.searching(new TextCriteria().phrase("coffee cake")); ---- -include::../{spring-data-commons-docs}/query-by-example.adoc[] -include::query-by-example.adoc[] +include::../{spring-data-commons-docs}/query-by-example.adoc[leveloffset=+1] +include::query-by-example.adoc[leveloffset=+1] [[mongo.mapreduce]] diff --git a/src/main/asciidoc/reference/query-by-example.adoc b/src/main/asciidoc/reference/query-by-example.adoc index d3c0f0b1a..d8c5fdfa2 100644 --- a/src/main/asciidoc/reference/query-by-example.adoc +++ b/src/main/asciidoc/reference/query-by-example.adoc @@ -1,5 +1,5 @@ -[[query.by.example.execution]] -=== Executing Example +[[query-by-example.execution]] +== Executing an example .Query by Example using a Repository ====