/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-plugin-content-docs/src/constants.ts
15 строк
682 B
Joshua Chen
refactor(content-docs): split version handling into several files (#7140)
09 апр 2022, 12:08
Не верифицирован
09 апр 2022, 12:08
96fbcb3
Код
Авторство
О чём код?
/** * 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. */ /** The name of the version that's actively worked on (e.g. `website/docs`) */ export const CURRENT_VERSION_NAME = 'current'; /** All doc versions are stored here by version names */ export const VERSIONED_DOCS_DIR = 'versioned_docs'; /** All doc versioned sidebars are stored here by version names */ export const VERSIONED_SIDEBARS_DIR = 'versioned_sidebars'; /** The version names. Should 1-1 map to the content of versioned docs dir. */ export const VERSIONS_JSON_FILE = 'versions.json';