mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-08 14:47:12 +02:00
* refactor(content-docs): split version handling into several files * fix test * increase timeout
15 lines
682 B
TypeScript
15 lines
682 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.
|
|
*/
|
|
|
|
/** 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';
|