refactor(v2): move source files to be under website/src directory (#1609)

* refactor(v2): move source files to be under website/src directory

* misc: rename src constant
This commit is contained in:
Yangshun Tay 2019-06-15 09:59:23 -07:00 committed by GitHub
parent da3c91373e
commit ffbc7a37f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 56 additions and 37 deletions

View file

@ -11,7 +11,7 @@ const fs = require('fs');
const {encodePath, fileToPath, docuHash} = require('@docusaurus/utils');
const DEFAULT_OPTIONS = {
path: 'pages', // Path to data on filesystem, relative to site dir.
path: 'src/pages', // Path to data on filesystem, relative to site dir.
routeBasePath: '', // URL Route.
include: ['**/*.{js,jsx}'], // Extensions to include.
};