-
-
Save e-im/78a6043393ba43ca0bd0622f90cc77c1 to your computer and use it in GitHub Desktop.
hack to test docusaurus swizzle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/docusaurus-plugin-content-docs/src/versions/files.ts b/packages/docusaurus-plugin-content-docs/src/versions/files.ts | |
index 2f045717c2..733797a2c1 100644 | |
--- a/packages/docusaurus-plugin-content-docs/src/versions/files.ts | |
+++ b/packages/docusaurus-plugin-content-docs/src/versions/files.ts | |
@@ -63,7 +63,8 @@ export function getDocsDirPathLocalized({ | |
pluginId: string; | |
versionName: string; | |
}): string { | |
- return getPluginI18nPath({ | |
+ return "docs"; | |
+ /*return getPluginI18nPath({ | |
localizationDir, | |
pluginName: 'docusaurus-plugin-content-docs', | |
pluginId, | |
@@ -72,7 +73,7 @@ export function getDocsDirPathLocalized({ | |
? CURRENT_VERSION_NAME | |
: `version-${versionName}`, | |
], | |
- }); | |
+ });*/ | |
} | |
/** `community` => `[siteDir]/community_versions.json` */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment