mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +02:00
chore: rename siteConfig.js to docusaurus.config.js (#1245)
* chore: rename siteConfig.js to docusaurus.config.js * Prettier
This commit is contained in:
parent
870f6daa6b
commit
7dae4bd0d1
21 changed files with 57 additions and 57 deletions
|
@ -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.",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue