From dfe856815d6c37f7d8bee33805fc93c5b1ad6feb Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 23 Oct 2017 15:46:42 +0100 Subject: [PATCH 1/2] Correct section IDs so that all sections are uniquely identified Closes gh-440 --- docs/src/docs/asciidoc/documenting-your-api.adoc | 2 +- docs/src/docs/asciidoc/working-with-asciidoctor.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/docs/asciidoc/documenting-your-api.adoc b/docs/src/docs/asciidoc/documenting-your-api.adoc index b3ea4526..28c2bc9d 100644 --- a/docs/src/docs/asciidoc/documenting-your-api.adoc +++ b/docs/src/docs/asciidoc/documenting-your-api.adoc @@ -760,7 +760,7 @@ for documenting a request part's body and its fields. -[[documenting-your-api-request-parts-payloads-fields]] +[[documenting-your-api-request-parts-payloads-body]] ==== Documenting a request part's body A snippet containing the body of a request part can be generated: diff --git a/docs/src/docs/asciidoc/working-with-asciidoctor.adoc b/docs/src/docs/asciidoc/working-with-asciidoctor.adoc index ad15fbf7..642172d4 100644 --- a/docs/src/docs/asciidoc/working-with-asciidoctor.adoc +++ b/docs/src/docs/asciidoc/working-with-asciidoctor.adoc @@ -153,7 +153,7 @@ The title of a table can be specified using a line prefixed by a `.`: -[[working-with-asciidoctor-customizing-tables-title]] +[[working-with-asciidoctor-customizing-tables-formatting-problems]] ==== Avoiding table formatting problems Asciidoctor uses the `|` character to delimit cells in a table. This can cause problems From 473e3e1a7be1c73e259a0a3f2ec61a22fe8046f7 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 23 Oct 2017 15:47:42 +0100 Subject: [PATCH 2/2] Correct end tag in included source so that it matches opening tag Closes gh-441 --- docs/src/test/java/com/example/restassured/Payload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/test/java/com/example/restassured/Payload.java b/docs/src/test/java/com/example/restassured/Payload.java index 35e8d58b..dca7976f 100644 --- a/docs/src/test/java/com/example/restassured/Payload.java +++ b/docs/src/test/java/com/example/restassured/Payload.java @@ -55,7 +55,7 @@ public class Payload { subsectionWithPath("contact").description("The user's contact details")))) // <1> .when().get("/user/5") .then().assertThat().statusCode(is(200)); - // end::response[] + // end::subsection[] } public void explicitType() throws Exception {