Skip to content

Commit

Permalink
ZOOKEEPER-3792: fix apidocs path
Browse files Browse the repository at this point in the history
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 <[email protected]>

Reviewers: Mate Szalay-Beko <[email protected]>

Closes apache#1362 from nkalmar/master
  • Loading branch information
nkalmar committed May 21, 2020
1 parent 5e88b54 commit 9e50853
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<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>
Expand Down
2 changes: 1 addition & 1 deletion zookeeper-docs/src/main/resources/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion zookeeper-docs/src/main/resources/markdown/releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion zookeeper-docs/src/main/resources/markdown/skin/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)* :
Expand Down

0 comments on commit 9e50853

Please sign in to comment.