[generate/docs/examples] allow overriding individual example files based on version

This commit is contained in:
spalger
2016-01-26 09:12:07 -07:00
parent 010a8b186f
commit 05263b487c
4 changed files with 22 additions and 14 deletions

View File

@ -25,7 +25,7 @@ client.<%= action.name %>([params, [callback]])
The default method is `<%= action.spec.method || 'GET' %>` and the usual <<api-conventions,params and return values>> apply. See <%= action.docUrl %>[the elasticsearch docs] for more about this method.
<%= examples(action.name) %>
<%= action.examples %>
<% if (_.size(action.allParams)) { %>
*Params*