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
/
clj.js
10 lines
(9 loc)
•
238 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * Clojure */
module
.
exports
= {
// find document blocks between ';;;;' and ';;;;'
docBlocksRegExp
:
/;{4}\uffff?(.+?)\uffff?(?:\s*)?;{4}/g
,
// remove not needed ' ;; ' at the beginning
inlineRegExp
:
/^(\s*)?(;{2})[ ]?/gm
, };