mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-26 11:34:05 +03:00
docs copy scss
This commit is contained in:
parent
68f61c8eb1
commit
7573811e07
30
Gruntfile.js
30
Gruntfile.js
|
@ -288,21 +288,21 @@ module.exports = function (grunt) {
|
|||
dest: 'docs/_plugins/'
|
||||
},
|
||||
|
||||
'bs-docs-scss': {
|
||||
options: {
|
||||
// https://regex101.com/r/hG8lU4/1
|
||||
process: function (content, srcpath) {
|
||||
return content.replace(/([\s\S]+)/mg, '// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs\n\n$1');
|
||||
}
|
||||
},
|
||||
expand: true,
|
||||
cwd: '../bootstrap/docs/assets/scss',
|
||||
src: [
|
||||
'**/*',
|
||||
'!docs.scss' // keep variable customizations
|
||||
],
|
||||
dest: 'docs/assets/scss/'
|
||||
},
|
||||
//'bs-docs-scss': {
|
||||
// options: {
|
||||
// // https://regex101.com/r/hG8lU4/1
|
||||
// process: function (content, srcpath) {
|
||||
// return content.replace(/([\s\S]+)/mg, '// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs\n\n$1');
|
||||
// }
|
||||
// },
|
||||
// expand: true,
|
||||
// cwd: '../bootstrap/docs/assets/scss',
|
||||
// src: [
|
||||
// '**/*',
|
||||
// '!docs.scss' // keep variable customizations
|
||||
// ],
|
||||
// dest: 'docs/assets/scss/'
|
||||
//},
|
||||
//'bs-docs-components': {
|
||||
// options: {
|
||||
// // //https://regex101.com/r/cZ7aO8/2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable ImportantRule
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
.anchorjs-link {
|
||||
color: inherit;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Bootstrap "B" Booticon
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Brand guidelines
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// Wall of Browser Bugs
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// Buttons
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Callouts
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// clipboard.js
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable QualifyingElement
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable IdSelector, NestingDepth, SelectorDepth
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Examples
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
.bd-featured-sites {
|
||||
margin-right: -1px;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
.bd-featurette {
|
||||
padding-top: 3rem;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Footer
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable ImportantRule
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Main navbar
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable ImportantRule
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable ImportantRule
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
//
|
||||
// Side navigation
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
// scss-lint:disable IdSelector
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
.hll { background-color: #ffc; }
|
||||
.c { color: #999; }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
||||
// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs
|
||||
|
||||
.bd-team {
|
||||
margin-bottom: 1.5rem;
|
||||
|
|
|
@ -171,16 +171,6 @@ let bsDocs = [
|
|||
process: docsProcess
|
||||
}),
|
||||
|
||||
//new Copy(gulp, docsPreset, docsConfig, {
|
||||
// task: {name: 'copy:bs-docs-getting-started'},
|
||||
// source: {
|
||||
// options: {cwd: '../bootstrap/docs/getting-started'},
|
||||
// glob: ['**/*']
|
||||
// },
|
||||
// dest: 'docs/getting-started/',
|
||||
// process: docsProcess
|
||||
//}),
|
||||
|
||||
new Copy(gulp, docsPreset, docsConfig, {
|
||||
task: {name: 'copy:bs-docs-components'},
|
||||
source: {
|
||||
|
@ -190,6 +180,22 @@ let bsDocs = [
|
|||
dest: 'docs/components/',
|
||||
process: docsProcess
|
||||
}),
|
||||
|
||||
new Copy(gulp, docsPreset, docsConfig, {
|
||||
task: {name: 'copy:bs-docs-scss'},
|
||||
source: {
|
||||
options: {cwd: '../bootstrap/docs/assets/scss'},
|
||||
glob: [
|
||||
'**/*',
|
||||
'!docs.scss' // keep variable customizations
|
||||
]
|
||||
},
|
||||
dest: 'docs/assets/scss/',
|
||||
process: (content, srcpath) => {
|
||||
return content.replace(/([\s\S]+)/mg, '// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs\n\n$1');
|
||||
}
|
||||
}),
|
||||
]
|
||||
|
||||
new TaskSeries(gulp, 'bsDocs', bsDocs)
|
||||
|
||||
new TaskSeries(gulp, 'docs:copy-bs', bsDocs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user