Skip to content

Commit

Permalink
No more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio-Laguna committed Jan 4, 2018
1 parent bfbabfd commit 4068911
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
25 changes: 0 additions & 25 deletions css.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const triangle = require('postcss-triangle');
const svgo = require('postcss-svgo');
const cssnano = require('cssnano');
const pathExists = require('path-exists');
const mdcss = require('mdcss');
const mdcssTheme = require('mdcss-theme-clientkit');
const async = require('async');

const addVarObject = (curVarName, curVarValue, curObject) => {
Expand Down Expand Up @@ -186,29 +184,6 @@ class CSSTask extends TaskKitTask {
}));
}

if (this.options.docs && this.options.docs.enabled && input.match(this.options.docs.input)) {
processes.push(mdcss({
theme: mdcssTheme({
title: this.options.docs.title,
logo: '',
colors: this.options.color,
variables: this.cssVars,
css: [
'style.css',
path.join(this.options, 'clientkit.css')
],
examples: {
css: this.options.docs.css
},
info: {
clientkitVersion: this.options.clientkitVersion
},
sectionOrder: this.options.docs.sectionOrder
}),
destination: path.join(this.options.dist.replace(process.cwd(), ''), 'styleguide')
}));
}

// minify if specified in config files:
if (this.options.minify) {
processes.push(cssnano({ zindex: false }));
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
"async": "^2.6.0",
"css-mqpacker": "6.0.1",
"cssnano": "3.10.0",
"mdcss": "1.5.2",
"mdcss-theme-clientkit": "4.0.0",
"normalize.css": "7.0.0",
"path-exists": "^3.0.0",
"postcss": "6.0.15",
Expand Down

0 comments on commit 4068911

Please sign in to comment.