This is an automated email from the ASF dual-hosted git repository.
nkalmar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 9e50853 ZOOKEEPER-3792: fix apidocs path
9e50853 is described below
commit 9e50853da2da5aa982a4b0da790f2da51575b6f1
Author: Norbert Kalmar <nkalmar@apache.org>
AuthorDate: Thu May 21 11:19:39 2020 +0200
ZOOKEEPER-3792: fix apidocs path
Fix path that leads to the apidocs. I will manually correct the already generated paths
in asf-site after this has been merged.
This PR needs to land on master, 3.6 and 3.5
Author: Norbert Kalmar <nkalmar@apache.org>
Reviewers: Mate Szalay-Beko <symat@apache.org>
Closes #1362 from nkalmar/master
---
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/releasenotes.md | 2 +-
zookeeper-docs/src/main/resources/markdown/skin/init.js | 2 +-
zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md | 2 +-
5 files changed, 5 insertions(+), 5 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/releasenotes.md b/zookeeper-docs/src/main/resources/markdown/releasenotes.md
index 67dd47a..e32614d 100644
--- a/zookeeper-docs/src/main/resources/markdown/releasenotes.md
+++ b/zookeeper-docs/src/main/resources/markdown/releasenotes.md
@@ -75,7 +75,7 @@ Call specific watch functions receive all session events for as long as
they are
1. A number of constants used in the client ZooKeeper API were re-specified using enums (rather
than ints). See [ZOOKEEPER-7](https://issues.apache.org/jira/browse/ZOOKEEPER-7), [ZOOKEEPER-132](https://issues.apache.org/jira/browse/ZOOKEEPER-132)
and [ZOOKEEPER-139](https://issues.apache.org/jira/browse/ZOOKEEPER-139) for full details
1. [ZOOKEEPER-18](https://issues.apache.org/jira/browse/ZOOKEEPER-18) removed KeeperStateChanged,
use KeeperStateDisconnected instead
-Also see [the current Java API](http://zookeeper.apache.org/docs/current/api/index.html)
+Also see [the current Java API](http://zookeeper.apache.org/docs/current/apidocs/zookeeper-server/index.html)
<a name="C+API"></a>
#### C API
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)*
:
|