docusaurus/packages/docusaurus-plugin-content-docs/src/server-export.ts
Joshua Chen 96fbcb3f51
refactor(content-docs): split version handling into several files (#7140)
* refactor(content-docs): split version handling into several files

* fix test

* increase timeout
2022-04-09 17:08:57 +08:00

22 lines
510 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.
*/
// APIs available to Node.js
export {
CURRENT_VERSION_NAME,
VERSIONED_DOCS_DIR,
VERSIONED_SIDEBARS_DIR,
VERSIONS_JSON_FILE,
} from './constants';
export {
filterVersions,
getDefaultVersionBanner,
getVersionBadge,
getVersionBanner,
} from './versions';
export {readVersionNames} from './versions/files';