From 7d14e7d24e5017eb29d6b0998eb6b0e04c2cacb8 Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Tue, 26 May 2015 08:41:24 -0700 Subject: [PATCH] remove api method index --- docs/api_methods.asciidoc | 108 -------------------- docs/api_methods_0_90.asciidoc | 66 ------------ docs/api_methods_1_0.asciidoc | 92 ----------------- docs/api_methods_1_1.asciidoc | 96 ----------------- docs/api_methods_1_2.asciidoc | 96 ----------------- docs/api_methods_1_3.asciidoc | 103 ------------------- docs/api_methods_1_4.asciidoc | 108 -------------------- scripts/generate/templates/api_methods.tmpl | 7 +- 8 files changed, 1 insertion(+), 675 deletions(-) diff --git a/docs/api_methods.asciidoc b/docs/api_methods.asciidoc index 1db6deaa9..f33b3eacb 100644 --- a/docs/api_methods.asciidoc +++ b/docs/api_methods.asciidoc @@ -4,114 +4,6 @@ NOTE: This is currently the default API, but in upcomming versions that will change. We recommend setting the `apiVersion` config param when you instantiate your client to make sure that the API does not change unexpectedly. -[[js-api-method-index]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk]] === `bulk` diff --git a/docs/api_methods_0_90.asciidoc b/docs/api_methods_0_90.asciidoc index 2cb331865..702823e42 100644 --- a/docs/api_methods_0_90.asciidoc +++ b/docs/api_methods_0_90.asciidoc @@ -4,72 +4,6 @@ NOTE: At this time, you must opt into the 0.90 API by setting the `apiVersion` config parameter. -[[js-api-method-index-0-90]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk-0-90]] === `bulk` diff --git a/docs/api_methods_1_0.asciidoc b/docs/api_methods_1_0.asciidoc index 6445f61a4..5e4c479f1 100644 --- a/docs/api_methods_1_0.asciidoc +++ b/docs/api_methods_1_0.asciidoc @@ -4,98 +4,6 @@ NOTE: At this time, you must opt into the 1.0 API by setting the `apiVersion` config parameter. -[[js-api-method-index-1-0]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk-1-0]] === `bulk` diff --git a/docs/api_methods_1_1.asciidoc b/docs/api_methods_1_1.asciidoc index ea7986873..9c5da9317 100644 --- a/docs/api_methods_1_1.asciidoc +++ b/docs/api_methods_1_1.asciidoc @@ -4,102 +4,6 @@ NOTE: At this time, you must opt into the 1.1 API by setting the `apiVersion` config parameter. -[[js-api-method-index-1-1]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk-1-1]] === `bulk` diff --git a/docs/api_methods_1_2.asciidoc b/docs/api_methods_1_2.asciidoc index 19b66ad33..56e3dd729 100644 --- a/docs/api_methods_1_2.asciidoc +++ b/docs/api_methods_1_2.asciidoc @@ -4,102 +4,6 @@ NOTE: At this time, you must opt into the 1.2 API by setting the `apiVersion` config parameter. -[[js-api-method-index-1-2]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk-1-2]] === `bulk` diff --git a/docs/api_methods_1_3.asciidoc b/docs/api_methods_1_3.asciidoc index 168c910a1..119196a50 100644 --- a/docs/api_methods_1_3.asciidoc +++ b/docs/api_methods_1_3.asciidoc @@ -4,109 +4,6 @@ NOTE: At this time, you must opt into the 1.3 API by setting the `apiVersion` config parameter. -[[js-api-method-index-1-3]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk-1-3]] === `bulk` diff --git a/docs/api_methods_1_4.asciidoc b/docs/api_methods_1_4.asciidoc index e79bfa86c..263c4872a 100644 --- a/docs/api_methods_1_4.asciidoc +++ b/docs/api_methods_1_4.asciidoc @@ -4,114 +4,6 @@ NOTE: At this time, you must opt into the 1.4 API by setting the `apiVersion` config parameter. -[[js-api-method-index-1-4]] -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> [[api-bulk-1-4]] === `bulk` diff --git a/scripts/generate/templates/api_methods.tmpl b/scripts/generate/templates/api_methods.tmpl index 889f0b109..8018d6d78 100644 --- a/scripts/generate/templates/api_methods.tmpl +++ b/scripts/generate/templates/api_methods.tmpl @@ -7,15 +7,10 @@ NOTE: This is currently the default API, but in upcomming versions that will cha NOTE: At this time, you must opt into the <%= branch %> API by setting the `apiVersion` config parameter. <% } -// method index%> -[[js-api-method-index<%= branchSuffix %>]]<% actions = _.sortBy(actions, 'namespace'); _.each(actions, function (action) { -action.index = 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-') + branchSuffix; %> -* <%= '<<' + action.index + ',' + action.name + '>>' %><% -}) + action.index = 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-') + branchSuffix; -_.each(actions, function (action) { %> [[<%= action.index %>]]