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

nkalmar pushed a commit to branch branch-3.6
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.6 by this push:
     new 977881f  ZOOKEEPER-3792: fix apidocs path
977881f is described below

commit 977881f61f3fb308eb2a2cc28e699f50fa7a8baa
Author: Norbert Kalmar <[email protected]>
AuthorDate: Thu May 21 11:19:39 2020 +0200

    ZOOKEEPER-3792: fix apidocs path
    
    Author: Norbert Kalmar <[email protected]>
    
    Reviewers: Mate Szalay-Beko <[email protected]>
    
    Closes #1362 from nkalmar/master
    
    (cherry picked from commit 9e50853da2da5aa982a4b0da790f2da51575b6f1)
    Signed-off-by: Norbert Kalmar <[email protected]>
---
 zookeeper-docs/src/main/resources/markdown/html/header.html        | 2 +-
 zookeeper-docs/src/main/resources/markdown/index.md                | 2 +-
 zookeeper-docs/src/main/resources/markdown/skin/init.js            | 2 +-
 zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zookeeper-docs/src/main/resources/markdown/html/header.html 
b/zookeeper-docs/src/main/resources/markdown/html/header.html
index ef07e99..c529f88 100644
--- a/zookeeper-docs/src/main/resources/markdown/html/header.html
+++ b/zookeeper-docs/src/main/resources/markdown/html/header.html
@@ -70,7 +70,7 @@ document.write("Last Published: " + document.lastModified);
         <div onclick="SwitchMenu('menu_2', 'skin/')" id="menu_2Title" 
class="menutitle">Developer</div>
         <div id="menu_2" class="menuitemgroup">
             <div class="menuitem">
-                <a href="api/index.html">API Docs</a>
+                <a href="apidocs/zookeeper-server/index.html">API Docs</a>
             </div>
             <div class="menuitem">
                 <a href="zookeeperProgrammers.html">Programmer's Guide</a>
diff --git a/zookeeper-docs/src/main/resources/markdown/index.md 
b/zookeeper-docs/src/main/resources/markdown/index.md
index 41dc260..443ba3a 100644
--- a/zookeeper-docs/src/main/resources/markdown/index.md
+++ b/zookeeper-docs/src/main/resources/markdown/index.md
@@ -36,7 +36,7 @@ archives.
     + [Release Notes](releasenotes.html) - new developer and user facing 
features, improvements, and incompatibilities
 + **Developers**
     Documents for Developers using the ZooKeeper Client API
-    + [API Docs](api/index.html) - the technical reference to ZooKeeper Client 
APIs
+    + [API Docs](apidocs/zookeeper-server/index.html) - the technical 
reference to ZooKeeper Client APIs
     + [Programmer's Guide](zookeeperProgrammers.html) - a client application 
developer's guide to ZooKeeper
     + [ZooKeeper Use Cases](zookeeperUseCases.html) - a series of use cases 
using the ZooKeeper.
     + [ZooKeeper Java Example](javaExample.html) - a simple Zookeeper client 
application, written in Java
diff --git a/zookeeper-docs/src/main/resources/markdown/skin/init.js 
b/zookeeper-docs/src/main/resources/markdown/skin/init.js
index f94eda1..fa40beb 100644
--- a/zookeeper-docs/src/main/resources/markdown/skin/init.js
+++ b/zookeeper-docs/src/main/resources/markdown/skin/init.js
@@ -43,7 +43,7 @@ function init(){
                     var linkItem = menuItem[j].firstElementChild;
                     if('a' === linkItem.localName){
                         var linkFile = getFileName(linkItem.href);
-                        if(fileName === linkFile && 
linkItem.href.lastIndexOf("api/index.html")<0){
+                        if(fileName === linkFile && 
linkItem.href.lastIndexOf("apidocs/zookeeper-server/index.html")<0){
                             linkItem.className = "selected";
                             linkItem.parentNode.parentNode.className = 
"selectedmenuitemgroup";
                             var title = 
document.getElementById(linkItem.parentNode.parentNode.id+"Title");
diff --git a/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md 
b/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
index 5d07159..68662f3 100644
--- a/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
+++ b/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
@@ -1600,7 +1600,7 @@ ZooKeeper users fall into:
 Outside the formal documentation, there're several other sources of
 information for ZooKeeper developers.
 
-* *[API Reference](https://zookeeper.apache.org/doc/current/api/index.html)* :
+* *[API 
Reference](https://zookeeper.apache.org/doc/current/apidocs/zookeeper-server/index.html)*
 :
     The complete reference to the ZooKeeper API
 
 * *[ZooKeeper Talk at the Hadoop Summit 
2008](https://www.youtube.com/watch?v=rXI9xiesUV8)* :

Reply via email to