Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var _ = require('lodash');
var log = require('dgeni').log;
var path = require('canonical-path');
var typeTransform = {
markdown: 'md'
};
module.exports = {
name: 'demos',
description: 'Output demos to their files on ionic-demo website',
runAfter: ['files-read'],
runBefore: ['processing-docs'],
process: function(docs, config, extraData) {
var contentsFolder = config.rendering.contentsFolder;
var assetOutputPath = '${component}/${name}/${fileName}';