This is an automated email from the ASF dual-hosted git repository.

luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 930d95b355f feat: restore docs version 1.2 (#862)
930d95b355f is described below

commit 930d95b355fa064ed60a00790451397fb9458d77
Author: Jeffrey <color.d...@gmail.com>
AuthorDate: Tue Jul 16 16:20:38 2024 +0800

    feat: restore docs version 1.2 (#862)
    
    - [feat: restore docs version
    
1.2](https://github.com/apache/doris-website/commit/6fa9be4040df6e2e0be1555a1b4d541101f262b5)
---
 src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx 
b/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
index 09ea89c4e2e..7ebf570c505 100644
--- a/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
+++ b/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
@@ -19,7 +19,7 @@ export default function DocsVersionDropdownNavbarItem({
     const activeDocContext = useActiveDocContext(docsPluginId);
     const versions = useVersions(docsPluginId);
     const { savePreferredVersionName } = useDocsPreferredVersion(docsPluginId);
-    const versionLinks = (versions.filter(item => item.name !== 
'1.2')).map(version => {
+    const versionLinks = versions.map(version => {
         // We try to link to the same doc, in another version
         // When not possible, fallback to the "main doc" of the version
         const versionDoc = activeDocContext.alternateDocVersions[version.name] 
?? getVersionMainDoc(version);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to