mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 17:00:13 +01:00
fix(docs): material page index file
This commit is contained in:
parent
7c07b642c9
commit
c5e9afdd4d
2 changed files with 10 additions and 0 deletions
|
|
@ -3,12 +3,16 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';
|
|||
import { isAbsolute, join, resolve, sep } from 'path';
|
||||
|
||||
import { structure as DOCS } from '../../../../docs/structure';
|
||||
import { structure as LANDING } from '../../../../docs/structure-landing';
|
||||
import { DOCS_DIST } from '../config';
|
||||
|
||||
task('create-docs-dirs', (done) => {
|
||||
const docsStructure = flatten('docs', routesTree(DOCS));
|
||||
createDirsStructure(docsStructure);
|
||||
|
||||
const landingStructure = flatten('', routesTree(LANDING));
|
||||
createDirsStructure(landingStructure);
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue