updated docs to include 0.90 API
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
[[api-reference]]
|
[[api-reference-0-90]]
|
||||||
== API Method Reference
|
== 0.90 API Method Reference
|
||||||
|
|
||||||
|
|
||||||
[[api-bulk]]
|
[[api-bulk]]
|
||||||
|
|||||||
@ -8,6 +8,8 @@ include::api_conventions.asciidoc[]
|
|||||||
|
|
||||||
include::api_methods.asciidoc[]
|
include::api_methods.asciidoc[]
|
||||||
|
|
||||||
|
include::api_methods_0_90.asciidoc[]
|
||||||
|
|
||||||
include::configuration.asciidoc[]
|
include::configuration.asciidoc[]
|
||||||
|
|
||||||
include::extending_core_components.asciidoc[]
|
include::extending_core_components.asciidoc[]
|
||||||
|
|||||||
@ -101,6 +101,8 @@ module.exports = function (branch, done) {
|
|||||||
[].concat(apiSpec.actions).concat(apiSpec.proxies),
|
[].concat(apiSpec.actions).concat(apiSpec.proxies),
|
||||||
'name'
|
'name'
|
||||||
);
|
);
|
||||||
|
docVars.branch = branch;
|
||||||
|
docVars.branchSuffix = branchSuffix;
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
[[api-reference]]
|
[[api-reference<%= branch === 'master' ? '' : branchSuffix.replace(/_/g, '-') %>]]
|
||||||
== API Method Reference
|
== <%= branch === 'master' ? '' : branch + ' ' %>API Method Reference
|
||||||
<%
|
<%
|
||||||
_.each(actions, function (action) {
|
_.each(actions, function (action) {
|
||||||
var actionId = 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-');
|
var actionId = 'api-' + action.name.toLowerCase().replace(/[^\w]+/g, '-');
|
||||||
|
|||||||
Reference in New Issue
Block a user