chore: rename siteConfig.js to docusaurus.config.js (#1245)

* chore: rename siteConfig.js to docusaurus.config.js

* Prettier
This commit is contained in:
Yangshun Tay 2019-02-23 11:16:24 -08:00 committed by GitHub
parent 870f6daa6b
commit 7dae4bd0d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 57 additions and 57 deletions

View file

@ -34,7 +34,7 @@ module.exports = async function deploy(siteDir) {
siteConfig.organizationName;
if (!organizationName) {
throw new Error(
"Missing project organization name. Did you forget to define 'organizationName' in siteConfig.js? You may also export it via the organizationName environment variable.",
"Missing project organization name. Did you forget to define 'organizationName' in docusaurus.config.js? You may also export it via the organizationName environment variable.",
);
}
const projectName =
@ -43,7 +43,7 @@ module.exports = async function deploy(siteDir) {
siteConfig.projectName;
if (!projectName) {
throw new Error(
"Missing project name. Did you forget to define 'projectName' in siteConfig.js? You may also export it via the projectName environment variable.",
"Missing project name. Did you forget to define 'projectName' in docusaurus.config.js? You may also export it via the projectName environment variable.",
);
}