mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-10 05:18:01 +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
|
@ -36,7 +36,7 @@ module.exports = function loadEnv({siteDir, siteConfig}) {
|
|||
);
|
||||
if (!defaultLanguage) {
|
||||
throw new Error(
|
||||
`Please set a default language in 'siteConfig.js' which is enabled in 'languages.js'`,
|
||||
`Please set a default language in 'docusaurus.config.js' which is enabled in 'languages.js'`,
|
||||
);
|
||||
}
|
||||
translation.defaultLanguage = defaultLanguage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue