zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkal...@apache.org
Subject [zookeeper] branch branch-3.5 updated: ZOOKEEPER-3792: fix apidocs path
Date Thu, 21 May 2020 09:25:00 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 6a62bae67fe3d25118cbd40a1454fe955b21ebc4
Author: Norbert Kalmar <nkalmar@apache.org>
AuthorDate: Thu May 21 11:19:39 2020 +0200

    ZOOKEEPER-3792: fix apidocs path
    
    Author: Norbert Kalmar <nkalmar@apache.org>
    
    Reviewers: Mate Szalay-Beko <symat@apache.org>
    
    Closes #1362 from nkalmar/master
    
    (cherry picked from commit 9e50853da2da5aa982a4b0da790f2da51575b6f1)
    Signed-off-by: Norbert Kalmar <nkalmar@apache.org>
---
 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 4a74203..0fe9d6a 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 081cfc8..c398f4b 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 Java Example](javaExample.html) - a simple Zookeeper client appplication,
written in Java
     + [Barrier and Queue Tutorial](zookeeperTutorial.html) - sample implementations of barriers
and queues
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 bcb8f0d..f663356 100644
--- a/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
+++ b/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
@@ -1455,7 +1455,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)*
:


Mime
View raw message