updated docs to include 0.90 API
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
[[api-reference]]
|
||||
== API Method Reference
|
||||
[[api-reference-0-90]]
|
||||
== 0.90 API Method Reference
|
||||
|
||||
|
||||
[[api-bulk]]
|
||||
|
||||
@ -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[]
|
||||
|
||||
@ -101,6 +101,8 @@ module.exports = function (branch, done) {
|
||||
[].concat(apiSpec.actions).concat(apiSpec.proxies),
|
||||
'name'
|
||||
);
|
||||
docVars.branch = branch;
|
||||
docVars.branchSuffix = branchSuffix;
|
||||
done();
|
||||
}
|
||||
|
||||
|
||||
@ -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, '-');
|
||||
|
||||
Reference in New Issue
Block a user