apidoc-core
Advanced tools
Comparing version 0.4.2 to 0.5.0
@@ -21,3 +21,3 @@ var _ = require('lodash'); | ||
excludeFilters: [], | ||
includeFilters: [ '.*\\.(clj|coffee|cs|dart|erl|go|java|js|litcoffee|php?|py|rb|scala|ts|pm)$' ], | ||
includeFilters: [ '.*\\.(clj|coffee|cs|dart|erl|exs?|go|groovy|java|js|litcoffee|php?|py|rb|scala|ts|pm)$' ], | ||
@@ -50,2 +50,4 @@ src: path.join(__dirname, '../example/'), | ||
'.erl' : './languages/erl.js', | ||
'.ex' : './languages/ex.js', | ||
'.exs' : './languages/ex.js', | ||
'.litcoffee' : './languages/coffee.js', | ||
@@ -52,0 +54,0 @@ '.pm' : './languages/pm.js', |
@@ -6,5 +6,5 @@ /** | ||
// find document blocks between '=begin' and '=end' | ||
docBlocksRegExp: /\=begin\uffff?(.+?)\uffff?(?:\s*)?\=end/g, | ||
// remove not needed tabs at the beginning | ||
inlineRegExp: /^(\t*)?/gm | ||
docBlocksRegExp: /#\*\*\uffff?(.+?)\uffff?(?:\s*)?#\*|=begin\uffff?(.+?)\uffff?(?:\s*)?=end/g, | ||
// remove not needed ' # ' and tabs at the beginning | ||
inlineRegExp: /^(\s*)?(#)[ ]?/gm | ||
}; |
@@ -39,3 +39,4 @@ var trim = require('../utils/trim'); | ||
b: '(\\[?\\s*', // 5 optional optional-marker | ||
name: '([a-zA-Z0-9\\.\\/\\\\_-]+)', // 6 | ||
name: '([a-zA-Z0-9\\:\\.\\/\\\\_-]+', // 6 | ||
withArray: '(?:\\[[a-zA-Z0-9\\.\\/\\\\_-]*\\])?)', // https://github.com/apidoc/apidoc-core/pull/4 | ||
oDefaultValue: { // optional defaultValue | ||
@@ -42,0 +43,0 @@ b: '(?:\\s*=\\s*(?:', // starting with '=', optional surrounding spaces |
{ | ||
"name": "apidoc-core", | ||
"version": "0.4.2", | ||
"version": "0.5.0", | ||
"description": "Core parser library to generate apidoc result following the apidoc-spec", | ||
@@ -5,0 +5,0 @@ "author": "Peter Rottmann <rottmann@inveris.de>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94030
57
2588