mirror of
https://github.com/bitwarden/help
synced 2025-12-06 00:03:30 +00:00
* jekyll redirect from * Organizations rev (#262) * Organizations revisions initial commit. * API doc updates * Fix absolute link causing build failure. * Add import to org article, and downstream order changes. * Bitwarden 101 videos: 1st steps toward proliferating these throughout /help. * Added 'Create Your Account' article, which references B101 Videos. * About SSO redirect & promote importing for orgs up the list * Create Org FAQs & trim Feature FAQs accordingly. * Image for Org FAQs * Move 'About the Business Portal' to Orgs category, and re-order accordingly. * Final edits. * Dchoi/bootstrap upgrade (#264) * bootstrap 4 upgrade and cleanup update gulp tasks * bootstrap package updates * renaming file convention * general outline of help outline * bitwarden help cleanup * article cleanup * article general styling complete * bootstrap help page upgrades * sidebar updates * Dchoi/bootstrap upgrade (#267) * bootstrap 4 upgrade and cleanup update gulp tasks * bootstrap package updates * renaming file convention * general outline of help outline * bitwarden help cleanup * article cleanup * article general styling complete * bootstrap help page upgrades * sidebar updates * toc dynamic and more updates * fix callout conditions * sidebar collapse functionality added * sidebar header toggle functionality * sidebar article fixes * Update sidebar.html Fix sidebar Release Notes link. * Update releasenotes.md Remove unnecessary category tag. * Delete release-notes.md Remove unnecessary category. * Update why-choose-bitwarden-for-your-team.md Test table image differentiation * Update why-choose-bitwarden-for-your-team.md Second image differentiation test * removed links from category breadcrumb and replaced with badges Co-authored-by: fred_the_tech_writer <69817454+fschillingeriv@users.noreply.github.com>
59 lines
1.5 KiB
JavaScript
59 lines
1.5 KiB
JavaScript
const gulp = require('gulp');
|
|
const del = require('del');
|
|
const merge = require('merge-stream');
|
|
|
|
const paths = {};
|
|
paths.dist = './_site/';
|
|
paths.sass = './_scss/';
|
|
paths.libDir = './lib/';
|
|
paths.npmDir = './node_modules/';
|
|
paths.cssDir = './css/';
|
|
paths.jsDir = './scripts/';
|
|
|
|
function cleanLib() {
|
|
return del(paths.libDir)
|
|
}
|
|
|
|
function cleanDist() {
|
|
return del(paths.dist)
|
|
}
|
|
|
|
function lib() {
|
|
var libs = [
|
|
{
|
|
src: paths.npmDir + 'bootstrap/dist/js/bootstrap.min.js',
|
|
dest: paths.libDir + 'bootstrap/js'
|
|
},
|
|
{
|
|
src: [
|
|
paths.npmDir + 'font-awesome/**/css/font-awesome.min.css',
|
|
paths.npmDir + 'font-awesome/**/fonts/*'
|
|
],
|
|
dest: paths.libDir + 'font-awesome'
|
|
},
|
|
{
|
|
src: paths.npmDir + 'jquery/dist/jquery.min.js',
|
|
dest: paths.libDir + 'jquery'
|
|
},
|
|
{
|
|
src: paths.npmDir + 'lunr/lunr.js',
|
|
dest: paths.libDir + 'lunr'
|
|
},
|
|
{
|
|
src: paths.npmDir + 'fluidbox/dist/**/*',
|
|
dest: paths.libDir + 'fluidbox'
|
|
}
|
|
];
|
|
|
|
var tasks = libs.map((lib) => {
|
|
return gulp.src(lib.src).pipe(gulp.dest(lib.dest));
|
|
});
|
|
|
|
return merge(tasks);
|
|
}
|
|
|
|
exports.build = gulp.series(gulp.parallel(cleanLib, cleanDist), lib);
|
|
exports['clean:dist'] = cleanDist;
|
|
exports['clean:lib'] = cleanLib;
|
|
exports.clean = gulp.parallel(cleanLib, cleanDist);
|
|
exports.lib = gulp.series(cleanLib, lib); |