megadoc-plugin-lua
Version:
A Lua documentation generator plugin for megadoc.
21 lines (17 loc) • 598 B
JavaScript
const path = require('path');
const root = path.resolve(__dirname, '..');
exports.parseFnPath = path.resolve(__dirname, './parseFn.js');
exports.reduceFnPath = path.resolve(__dirname, './reduceFn.js');
exports.reduceTreeFnPath = path.resolve(__dirname, './reduceTreeFn.js');
exports.renderFnPath = path.resolve(__dirname, './renderFn.js');
exports.serializerOptions = {
html: {
styleSheets: [
path.join(root, 'ui', 'css', 'index.less'),
],
pluginScripts: [
path.join(root, 'dist', 'megadoc-plugin-lua.js')
],
defaultLayouts: require('./defaultLayouts'),
}
};