Skip to content

Commit

Permalink
fix: open static javadoc site on a new tab so that it is force reloaded
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tisonkun committed Aug 16, 2023
1 parent 20f8703 commit d63af8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d63af8b

Please sign in to comment.