mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-26 13:08:58 +02:00
chore: fix ESLint warnings, restrict export all syntax (#6605)
* chore: fix ESLint warnings, forbid export all syntax * fix... * reorder
This commit is contained in:
parent
3fd99ad8d4
commit
45f6f8b869
22 changed files with 220 additions and 148 deletions
24
packages/docusaurus-plugin-content-docs/src/server-export.ts
Normal file
24
packages/docusaurus-plugin-content-docs/src/server-export.ts
Normal file
|
@ -0,0 +1,24 @@
|
|||
/**
|
||||
* 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,
|
||||
getVersionsFilePath,
|
||||
readVersionsFile,
|
||||
readVersionNames,
|
||||
} from './versions';
|
Loading…
Add table
Add a link
Reference in a new issue