fix(docs): material page index file

This commit is contained in:
Evgeny Lupanov 2020-04-30 11:24:23 +03:00
parent 7c07b642c9
commit c5e9afdd4d
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,6 @@
export const structure = [
{
type: 'page',
name: 'Material',
},
];

View file

@ -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();
});