updated docs to include 0.90 API

This commit is contained in:
Spencer Alger
2014-01-15 16:49:16 -07:00
parent 52df63f326
commit 3d2b395c6f
4 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[[api-reference]]
== API Method Reference
[[api-reference-0-90]]
== 0.90 API Method Reference
[[api-bulk]]

View File

@ -8,6 +8,8 @@ include::api_conventions.asciidoc[]
include::api_methods.asciidoc[]
include::api_methods_0_90.asciidoc[]
include::configuration.asciidoc[]
include::extending_core_components.asciidoc[]

View File

@ -101,6 +101,8 @@ module.exports = function (branch, done) {
[].concat(apiSpec.actions).concat(apiSpec.proxies),
'name'
);
docVars.branch = branch;
docVars.branchSuffix = branchSuffix;
done();
}

View File

@ -1,5 +1,5 @@
[[api-reference]]
== API Method Reference
[[api-reference<%= branch === 'master' ? '' : branchSuffix.replace(/_/g, '-') %>]]
== <%= branch === 'master' ? '' : branch + ' ' %>API Method Reference
<%
_.each(actions, function (action) {
var actionId = 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-');