bisheng-plugin-uxcore
Advanced tools
Comparing version 1.0.0 to 1.0.1
const path = require('path'); | ||
const processDemo = require('./process-demo'); | ||
const processDoc = require('./process-doc'); | ||
@@ -7,6 +8,9 @@ | ||
const isDemo = /^demos\//i.test(path.dirname(markdownData.meta.filename)); | ||
const isHistory = path.basename(markdownData.meta.filename) === 'HISTORY.md'; | ||
if (isDemo) { | ||
return processDemo(markdownData); | ||
} else if (isHistory) { | ||
return markdownData; | ||
} | ||
return markdownData; | ||
return processDoc(markdownData); | ||
} |
{ | ||
"name": "bisheng-plugin-uxcore", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "bisheng plugin for uxcore doc site", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
3211
4
68