Merge branch 'master' into docs_derp
Conflicts: docs/_includes/old-bs-docs.html
This commit is contained in:
commit
cae63200d8
5 changed files with 16 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
|
@ -41,7 +41,7 @@ function Section(heading, customizable) {
|
|||
|
||||
Section.prototype.addSubSection = function (subsection) {
|
||||
this.subsections.push(subsection);
|
||||
}
|
||||
};
|
||||
|
||||
function SubSection(heading) {
|
||||
this.heading = heading.trim();
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ function getFiles(type) {
|
|||
return 'var __' + type + ' = ' + JSON.stringify(files) + '\n'
|
||||
}
|
||||
|
||||
module.exports = function generateRawFilesJs() {
|
||||
var files = getFiles('js') + getFiles('less') + getFiles('fonts')
|
||||
module.exports = function generateRawFilesJs(banner) {
|
||||
if (!banner) {
|
||||
banner = ''
|
||||
}
|
||||
var files = banner + getFiles('js') + getFiles('less') + getFiles('fonts')
|
||||
fs.writeFileSync('docs/assets/js/raw-files.js', files)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue