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

tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/curator-site.git

commit d63af8b15ec3439eaf0218360513d9a2dc4e3b76
Author: tison <[email protected]>
AuthorDate: Wed Aug 16 08:52:40 2023 +0800

    fix: open static javadoc site on a new tab so that it is force reloaded
    
    Otherwise, Docusaurus will try to route within the React App which
    cannot find the static site (since it's static, it isn't resigered on
    the React router).
    
    Signed-off-by: tison <[email protected]>
---
 sidebars.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sidebars.js b/sidebars.js
index 0c03d3a..dee043f 100644
--- a/sidebars.js
+++ b/sidebars.js
@@ -74,7 +74,7 @@ const sidebars = {
         },
         'zk-compatibility-34',
         'breaking-changes',
-        {type: 'link', label: 'Javadoc', href: '/apidocs/'},
+        {type: 'link', label: 'Javadoc', href: 'pathname:///apidocs/'},
         {type: 'link', label: 'Wiki', href: 
'https://cwiki.apache.org/confluence/display/CURATOR'},
         {type: 'html', defaultStyle: true, value: 'EXTENSIONS'},
         'service-discovery',

Reply via email to