mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
Co-authored-by: stnor <stefan@selessia.com> Co-authored-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matija Sirk <matija.sirk@kopit.si> Co-authored-by: AHMET BAYHAN BAYRAMOGLU <49499275+ABB65@users.noreply.github.com> Co-authored-by: Stefan Norberg <stefan@norberg.org> Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com> Co-authored-by: Muhammad Hammad <33136628+mhnaeem@users.noreply.github.com> Co-authored-by: Denis Al-Khelali <denis.al-khelali@itechart-group.com> Co-authored-by: Balthasar Hofer <lebalz@outlook.com> Co-authored-by: Danny Kim <0916dhkim@gmail.com> Co-authored-by: Frieder Bluemle <frieder.bluemle@gmail.com> Co-authored-by: John Reilly <johnny_reilly@hotmail.com> Co-authored-by: Robert Lawrence <62929526+r-lawrence@users.noreply.github.com> Co-authored-by: Sadegh Karimi <sadegh.krmi@gmail.com> Co-authored-by: Lachlan Heywood <lachieh@users.noreply.github.com> Co-authored-by: mturoci <64769322+mturoci@users.noreply.github.com> Co-authored-by: 宋锦丰 <36468758+SJFCS@users.noreply.github.com> Co-authored-by: Nguyễn Thành Nam <namnguyenthanh.work@gmail.com> Co-authored-by: Dongjoon Lee <djunnni@gmail.com> Co-authored-by: Thomas.CA <44041651+Thomascogez@users.noreply.github.com> Co-authored-by: Riccardo <riccardo.odone@gmail.com> Co-authored-by: Lane Goolsby <lanegoolsby@yahoo.com> Co-authored-by: Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com> Co-authored-by: Matija Sirk <sirkmatija@gmail.com> Co-authored-by: Jiří <zmrhal.j@gmail.com>
106 lines
2.3 KiB
TypeScript
106 lines
2.3 KiB
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.
|
|
*/
|
|
|
|
export {
|
|
NODE_MAJOR_VERSION,
|
|
NODE_MINOR_VERSION,
|
|
DOCUSAURUS_VERSION,
|
|
DEFAULT_BUILD_DIR_NAME,
|
|
DEFAULT_CONFIG_FILE_NAME,
|
|
BABEL_CONFIG_FILE_NAME,
|
|
GENERATED_FILES_DIR_NAME,
|
|
SRC_DIR_NAME,
|
|
DEFAULT_STATIC_DIR_NAME,
|
|
OUTPUT_STATIC_ASSETS_DIR_NAME,
|
|
THEME_PATH,
|
|
DEFAULT_I18N_DIR_NAME,
|
|
CODE_TRANSLATIONS_FILE_NAME,
|
|
DEFAULT_PORT,
|
|
DEFAULT_PLUGIN_ID,
|
|
WEBPACK_URL_LOADER_LIMIT,
|
|
} from './constants';
|
|
export {generate, readOutputHTMLFile} from './emitUtils';
|
|
export {
|
|
getFileCommitDate,
|
|
FileNotTrackedError,
|
|
GitNotFoundError,
|
|
} from './gitUtils';
|
|
export {
|
|
mergeTranslations,
|
|
updateTranslationFileMessages,
|
|
getPluginI18nPath,
|
|
localizePath,
|
|
} from './i18nUtils';
|
|
export {
|
|
removeSuffix,
|
|
removePrefix,
|
|
mapAsyncSequential,
|
|
findAsyncSequential,
|
|
} from './jsUtils';
|
|
export {
|
|
normalizeUrl,
|
|
getEditUrl,
|
|
fileToPath,
|
|
encodePath,
|
|
isValidPathname,
|
|
resolvePathname,
|
|
addLeadingSlash,
|
|
addTrailingSlash,
|
|
removeTrailingSlash,
|
|
hasSSHProtocol,
|
|
buildHttpsUrl,
|
|
buildSshUrl,
|
|
} from './urlUtils';
|
|
export {
|
|
type Tag,
|
|
type TagsListItem,
|
|
type TagModule,
|
|
type FrontMatterTag,
|
|
normalizeFrontMatterTags,
|
|
groupTaggedItems,
|
|
} from './tags';
|
|
export {
|
|
parseMarkdownHeadingId,
|
|
createExcerpt,
|
|
parseFrontMatter,
|
|
parseMarkdownContentTitle,
|
|
parseMarkdownString,
|
|
writeMarkdownHeadingId,
|
|
type WriteHeadingIDOptions,
|
|
} from './markdownUtils';
|
|
export {
|
|
type ContentPaths,
|
|
type BrokenMarkdownLink,
|
|
replaceMarkdownLinks,
|
|
} from './markdownLinks';
|
|
export {type SluggerOptions, type Slugger, createSlugger} from './slugger';
|
|
export {
|
|
isNameTooLong,
|
|
shortName,
|
|
posixPath,
|
|
toMessageRelativeFilePath,
|
|
aliasedSitePath,
|
|
escapePath,
|
|
addTrailingPathSeparator,
|
|
} from './pathUtils';
|
|
export {md5Hash, simpleHash, docuHash} from './hashUtils';
|
|
export {
|
|
Globby,
|
|
GlobExcludeDefault,
|
|
createMatcher,
|
|
createAbsoluteFilePathMatcher,
|
|
} from './globUtils';
|
|
export {getFileLoaderUtils} from './webpackUtils';
|
|
export {escapeShellArg} from './shellUtils';
|
|
export {
|
|
getDataFilePath,
|
|
getDataFileData,
|
|
getContentPathList,
|
|
findFolderContainingFile,
|
|
getFolderContainingFile,
|
|
} from './dataFileUtils';
|
|
export {escapeRegexp} from './regExpUtils';
|