|
|
@@ -36,15 +36,15 @@ import java.io.IOException;
|
|
|
/**
|
|
|
* This class is used to generate the Java Delete API documentation.
|
|
|
* You need to wrap your code between two tags like:
|
|
|
- * // tag::delete-request[]
|
|
|
- * // end::delete-request[]
|
|
|
+ * // tag::example[]
|
|
|
+ * // end::example[]
|
|
|
*
|
|
|
- * Where delete-request is your tag name.
|
|
|
+ * Where example is your tag name.
|
|
|
*
|
|
|
* Then in the documentation, you can extract what is between tag and end tags with
|
|
|
* ["source","java",subs="attributes,callouts"]
|
|
|
* --------------------------------------------------
|
|
|
- * sys2::[perl -ne 'exit if /end::delete-request/; print if $tag; $tag = $tag || /tag::delete-request/' {docdir}/../../client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/DeleteDocumentationIT.java]
|
|
|
+ * sys2::[perl -ne 'exit if /end::example/; print if $tag; $tag = $tag || /tag::example/' {docdir}/../../client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/DeleteDocumentationIT.java]
|
|
|
* --------------------------------------------------
|
|
|
*/
|
|
|
public class DeleteDocumentationIT extends ESRestHighLevelClientTestCase {
|