mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
* build: Use Flow syntax without comments. We're switching to Flow annotations - not Flow comments. This gives documentation.js the ability to self-document without JSDoc types and improves our compatibility with tools like prettier. Fixes #729. Fixes #709
16 lines
318 B
JavaScript
16 lines
318 B
JavaScript
var File = require('vinyl');
|
|
|
|
/**
|
|
* This is a theme only used by documentation to test custom theme
|
|
* support.
|
|
*/
|
|
module.exports = function(comments, options, callback) {
|
|
return Promise.resolve([
|
|
new File({
|
|
base: '/',
|
|
path: '/index.html',
|
|
contents: new Buffer('Hello world')
|
|
})
|
|
]);
|
|
};
|