You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ti...@apache.org on 2023/08/16 00:53:53 UTC

[curator-site] branch main updated (26ca411 -> d63af8b)

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

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


    from 26ca411  feat: generate javadoc (#1)
     new 20f8703  chore: ignore apidocs on dev
     new d63af8b  fix: open static javadoc site on a new tab so that it is force reloaded

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore  | 1 +
 sidebars.js | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


[curator-site] 01/02: chore: ignore apidocs on dev

Posted by ti...@apache.org.
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 20f8703727590eafc7999163154822ab8659c779
Author: tison <wa...@gmail.com>
AuthorDate: Wed Aug 16 08:49:29 2023 +0800

    chore: ignore apidocs on dev
    
    Signed-off-by: tison <wa...@gmail.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 53ea518..8031a40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@
 # Generated files
 .docusaurus
 .cache-loader
+/static/apidocs/
 
 # Misc
 .DS_Store


[curator-site] 02/02: fix: open static javadoc site on a new tab so that it is force reloaded

Posted by ti...@apache.org.
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 <wa...@gmail.com>
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 <wa...@gmail.com>
---
 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',