Browse Source

Disable clean-css's advanced optimizations for docs.min.css.

It's causing code highlighting to fail.
pull/392/head
XhmikosR 11 years ago
parent
commit
6f0b519aa3
  1. 5
      Gruntfile.js
  2. 2
      docs/assets/css/docs.min.css

5
Gruntfile.js

@ -81,7 +81,7 @@ module.exports = function(grunt) {
cssmin: {
options: {
banner: '', // set to empty ; see bellow
banner: '', // set to empty; see bellow
keepSpecialComments: '*', // set to '*' because we already add the banner in sass
report: 'min'
},
@ -90,6 +90,9 @@ module.exports = function(grunt) {
dest: '<%= meta.distPath %><%= pkg.name %>.min.css'
},
docs: {
options: {
noAdvanced: true // disable advanced optimizations since it causes code highlighting not to work
},
src: [
'<%= meta.docsAssetsPath %>css/docs.css',
'<%= meta.docsAssetsPath %>css/pygments-manni.css'

2
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save