UNPKG
apidoc-light
Version:
latest (0.54.0)
0.54.0
0.53.1
0.53.0
0.52.0
0.51.1
0.51.0
0.50.3
0.50.2
0.50.1
RESTful web API Documentation Generator
apidocjs.com
rigwild/apidoc-light
apidoc-light
/
lib
/
core
/
languages
/
rb.js
10 lines
(9 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * Ruby */
module.exports = {
// find document blocks between '=begin' and '=end'
docBlocksRegExp: /
#\*\*\uffff?(.+?)\uffff?(?:\s*)?#\*|=begin\uffff?(.+?)\uffff?(?:\s*)?=end/g,
// remove not needed ' # ' and tabs at the beginning
inlineRegExp: /^(\s*)?(
#)[ ]?/gm,
};