You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by su...@apache.org on 2021/04/12 06:39:46 UTC

[apisix-website] branch master updated: fix: disable version switch button in sidebar, as website doesn't support it (#299)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b3bfa8d  fix: disable version switch button in sidebar, as website doesn't support it (#299)
b3bfa8d is described below

commit b3bfa8d43fcf8d0f7da043ee4493cd5e3cf3ea32
Author: Shivam Singh <57...@users.noreply.github.com>
AuthorDate: Mon Apr 12 12:09:41 2021 +0530

    fix: disable version switch button in sidebar, as website doesn't support it (#299)
---
 website/src/theme/DocSidebar/index.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/website/src/theme/DocSidebar/index.js b/website/src/theme/DocSidebar/index.js
index cb001d2..0f87190 100644
--- a/website/src/theme/DocSidebar/index.js
+++ b/website/src/theme/DocSidebar/index.js
@@ -188,10 +188,6 @@ function DocSidebar({
     [styles.sidebarHidden]: isHidden
   })}>
 
-    <div className={styles.sidebarVersionSwitch}>
-    Version: <DocsVersionDropdownNavbarItem docsPluginId={docPluginId} dropdownItemsBefore={[]} dropdownItemsAfter={[]} />
-    </div>
-
       {hideOnScroll && <Logo tabIndex={-1} className={styles.sidebarLogo} />}
       <div className={clsx('menu', 'menu--responsive', 'thin-scrollbar', styles.menu, {
       'menu--show': showResponsiveSidebar,