mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +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
6
docs/structure-landing.ts
Normal file
6
docs/structure-landing.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export const structure = [
|
||||
{
|
||||
type: 'page',
|
||||
name: 'Material',
|
||||
},
|
||||
];
|
||||
|
|
@ -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