We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the Node API Documentation example for HTML does not supply an error in the callback for documentation.formats.html
documentation.formats.html
the current example is
var documentation = require('documentation'); var streamArray = require('stream-array'); var vfs = require('vinyl-fs'); documentation.build(['index.js'], {}, function (err, res) { documentation.formats.html(res, {}, function(output) { streamArray(output).pipe(vfs.dest('./output-directory')); }); });
and should be
var documentation = require('documentation'); var streamArray = require('stream-array'); var vfs = require('vinyl-fs'); documentation.build(['index.js'], {}, function (err, res) { documentation.formats.html(res, {}, function(err, output) { streamArray(output).pipe(vfs.dest('./output-directory')); }); });
where the corrected line is
documentation.formats.html(res, {}, function(err, output) {
The text was updated successfully, but these errors were encountered:
docs(nodeapi): Fix node API documentation: formatters call (err, res)
d09c964
Fixes #642
docs(nodeapi): Fix node API documentation: formatters call (err, res) (…
813dfbb
…#643) Fixes #642
Thanks for spotting that! I've updated the Node API documentation.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
the Node API Documentation example for HTML does not supply an error in the callback for
documentation.formats.html
the current example is
and should be
where the corrected line is
The text was updated successfully, but these errors were encountered: