mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-23 22:56:49 +09:00
Refactor: Rename pug --> about:docs
This commit is contained in:
parent
7fcbbed901
commit
94948583d2
@ -37,7 +37,7 @@ const tsProject = ts.createProject('tsconfig.json');
|
|||||||
gulp.task('build', [
|
gulp.task('build', [
|
||||||
'build:js',
|
'build:js',
|
||||||
'build:ts',
|
'build:ts',
|
||||||
'build:pug',
|
'build:about:docs',
|
||||||
'build:copy',
|
'build:copy',
|
||||||
'build:client'
|
'build:client'
|
||||||
]);
|
]);
|
||||||
@ -62,7 +62,7 @@ gulp.task('build:ts', () =>
|
|||||||
.pipe(gulp.dest('./built/'))
|
.pipe(gulp.dest('./built/'))
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.task('build:pug', () => {
|
gulp.task('build:about:docs', () => {
|
||||||
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
|
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
|
||||||
const streams = pugs.map(file => {
|
const streams = pugs.map(file => {
|
||||||
const page = file.replace('./src/web/about/pages/', '').replace('.pug', '');
|
const page = file.replace('./src/web/about/pages/', '').replace('.pug', '');
|
||||||
|
Loading…
Reference in New Issue
Block a user