mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-26 01:43:06 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις |
||
---|---|---|
.. | ||
opts | ||
src | ||
tag | ||
tutorial | ||
util | ||
augment.js | ||
borrow.js | ||
config.js | ||
doclet.js | ||
fs.js | ||
name.js | ||
package.js | ||
path.js | ||
plugins.js | ||
readme.js | ||
schema.js | ||
tag.js | ||
template.js | ||
tutorial.js |
/*global env: true */ /** * Make the contents of a README file available to include in the output. * @module jsdoc/readme * @author Michael Mathews <micmath@gmail.com> * @author Ben Blank <ben.blank@gmail.com> */ var fs = require('jsdoc/fs'), markdown = require('jsdoc/util/markdown'); /** * @class * @classdesc Represents a README file. * @param {string} path - The filepath to the README. */ function ReadMe(path) { var content = fs.readFileSync(path, env.opts.encoding), parse = markdown.getParser(); this.html = parse(content); } module.exports = ReadMe;