/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-utils-common/src/index.ts
20 строк
701 B
ozaki
refactor(utils): remove duplicated function (#9972)
29 мар 2024, 16:45
Не верифицирован
29 мар 2024, 16:45
8212471
Код
Авторство
О чём код?
/** * 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. */ // __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors // https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368 export const blogPostContainerID = '__blog-post-container'; export { default as applyTrailingSlash, addTrailingSlash, addLeadingSlash, removeTrailingSlash, type ApplyTrailingSlashParams, } from './applyTrailingSlash'; export {addPrefix, removeSuffix, addSuffix, removePrefix} from './stringUtils'; export {getErrorCausalChain} from './errorUtils';