@docusaurus/core
Version:
Easy to Maintain Open Source Documentation Websites
15 lines (14 loc) • 626 B
TypeScript
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { BuildCLIOptions } from './build';
/**
* We disable locale path localization if CLI has a single "--locale" option
* yarn build --locale fr => baseUrl=/ instead of baseUrl=/fr/
* By default, this makes it easier to support multi-domain deployments
* See https://docusaurus.io/docs/i18n/tutorial#multi-domain-deployment
*/
export declare function isAutomaticBaseUrlLocalizationDisabled(cliOptions: BuildCLIOptions): boolean;