/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-plugin-content-docs/src/server-export.ts
26 строк
710 B
Sébastien Lorber
refactor(docs): extract `loadVersion()` without changing the behavior (#11230)
02 июн 2025, 19:44
Не верифицирован
02 июн 2025, 19:44
18b47fd
Код
Авторство
О чём код?
/** * 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. */ // APIs available to Node.js // Those are undocumented but used by some third-party plugins // For this reason it's preferable to avoid doing breaking changes // See also https://github.com/facebook/docusaurus/pull/6477 export { CURRENT_VERSION_NAME, VERSIONED_DOCS_DIR, VERSIONED_SIDEBARS_DIR, VERSIONS_JSON_FILE, } from './constants'; export { filterVersions, getDefaultVersionBanner, getVersionBadge, getVersionBanner, } from './versions/version'; export {readVersionNames} from './versions/files';