From 55df195eaabdccd8bbb3c6ea497385b5176e96fc Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Wed, 15 Jan 2014 17:02:30 -0700 Subject: [PATCH] updated docs to include 0.90 API --- docs/api_methods_0_90.asciidoc | 126 ++++++++++---------- scripts/generate/js_api.js | 2 +- scripts/generate/templates/api_methods.tmpl | 6 +- 3 files changed, 66 insertions(+), 68 deletions(-) diff --git a/docs/api_methods_0_90.asciidoc b/docs/api_methods_0_90.asciidoc index e63745c4f..e3ed58bd7 100644 --- a/docs/api_methods_0_90.asciidoc +++ b/docs/api_methods_0_90.asciidoc @@ -2,7 +2,7 @@ == 0.90 API Method Reference -[[api-bulk]] +[[api-bulk-0-90]] === `bulk` [source,js] @@ -53,7 +53,7 @@ client.bulk({ `index`:: `String` -- Default index for items which don't provide one -[[api-clearscroll]] +[[api-clearscroll-0-90]] === `clearScroll` [source,js] @@ -74,7 +74,7 @@ The default method is `DELETE` and the usual <]] +[[api-reference<%= branchSuffix %>]] == <%= branch === 'master' ? '' : branch + ' ' %>API Method Reference <% _.each(actions, function (action) { -var actionId = 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-'); - %> -[[<%= actionId %>]] +[[<%= 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-') + branchSuffix %>]] === `<%= action.name %>` [source,js]