Skip to content

Commit a8f5478

Browse files
authored
ZOOKEEPER-5061: ZooKeeper website fixes
Reviewers: anmolnar Author: yuriipalam Closes #2413 from yuriipalam/ZOOKEEPER-5061
1 parent 12d4cb4 commit a8f5478

53 files changed

Lines changed: 608 additions & 629 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/website.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
timeout-minutes: 120
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v6
36-
- name: Set up JDK 25
35+
- uses: actions/checkout@v7
36+
- name: Set up JDK 11
3737
uses: actions/setup-java@v5
3838
with:
3939
java-version: 25
4040
distribution: temurin
4141
cache: 'maven'
4242
- name: Set up Node.js 22
43-
uses: actions/setup-node@v5
43+
uses: actions/setup-node@v6
4444
with:
4545
node-version: 22
4646
cache: 'npm'
@@ -50,6 +50,11 @@ jobs:
5050
- name: Install website npm dependencies
5151
working-directory: zookeeper-website
5252
run: npm ci
53+
- name: Cache Playwright browsers
54+
uses: actions/cache@v4
55+
with:
56+
path: ~/.cache/ms-playwright
57+
key: playwright-${{ runner.os }}-${{ hashFiles('zookeeper-website/package-lock.json') }}
5358
- name: Install Playwright browsers and system dependencies
5459
working-directory: zookeeper-website
5560
run: npx playwright install --with-deps

NOTICE.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ These BSD licensed files:
1818
./zookeeper-client/zookeeper-client-c/src/hashtable/hashtable_itr.c
1919
./zookeeper-client/zookeeper-client-c/src/hashtable/hashtable_itr.h
2020
./zookeeper-client/zookeeper-client-c/src/hashtable/hashtable_private.h
21-
./zookeeper-docs/src/main/resources/markdown/skin/prototype.js
2221

2322
This Apache 2.0 licensed file:
2423
./zookeeper-contrib/zookeeper-contrib-zooinspector/src/main/java/com/nitido/utils/toaster/Toaster.java

conf/zoo_sample.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ clientPort=2181
1919
# Be sure to read the maintenance section of the
2020
# administrator guide before turning on autopurge.
2121
#
22-
# https://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
22+
# https://zookeeper.apache.org/doc/current/admin-ops/administrators-guide/administration#maintenance
2323
#
2424
# The number of snapshots to retain in dataDir
2525
#autopurge.snapRetainCount=3

pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,9 +1094,6 @@
10941094
<exclude>.travis.yml</exclude>
10951095
<exclude>excludeFindBugsFilter.xml</exclude>
10961096
<exclude>README_packaging.md</exclude>
1097-
<exclude>src/main/resources/markdown/skin/*</exclude>
1098-
<exclude>src/main/resources/markdown/html/*</exclude>
1099-
<exclude>src/main/resources/markdown/images/*</exclude>
11001097
<exclude>**/src/test/resources/embedded/*.conf</exclude>
11011098
<!-- contrib -->
11021099
<exclude>**/JMX-RESOURCES</exclude>

zookeeper-client/zookeeper-client-c/README

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ For the latest information about ZooKeeper, please visit our website at:
88
and our wiki, at:
99
https://cwiki.apache.org/confluence/display/ZOOKEEPER
1010

11-
Full documentation for this release can also be found in ../../docs/index.html
11+
Full documentation for this release can also be found at:
12+
https://zookeeper.apache.org/doc/current/
1213

1314

1415
OVERVIEW
@@ -34,8 +35,9 @@ Sync and Async API.
3435

3536
INSTALLATION
3637

37-
Please refer to the "Installation" item under "C Binding" section in file
38-
".../trunk/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md"
38+
Please refer to the "Installation" item under "C Binding" in the
39+
Programmer's Guide:
40+
https://zookeeper.apache.org/doc/current/developer/programmers-guide/bindings#installation
3941

4042
EXAMPLE/SAMPLE C CLIENT SHELL
4143

zookeeper-contrib/zookeeper-contrib-huebrowser/zkui/src/zkui/templates/tree.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ${shared.header("ZooKeeper Browser > Tree > %s > %s" % (cluster['nice_name'], pa
6969
</table>
7070

7171
<br />
72-
<a target="_blank" rel="noopener noreferrer" href="http://zookeeper.apache.org/docs/current/zookeeperProgrammers.html#sc_zkStatStructure">Details on stat information.</a>
72+
<a target="_blank" rel="noopener noreferrer" href="https://zookeeper.apache.org/doc/current/developer/programmers-guide/data-model#zookeeper-stat-structure">Details on stat information.</a>
7373

7474
${shared.footer()}
7575

zookeeper-contrib/zookeeper-contrib-monitoring/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ Apache License 2.0 or later.
8181
ZooKeeper 4letterwords Commands
8282
-------------------------------
8383

84-
http://zookeeper.apache.org/docs/current/zookeeperAdmin.html#sc_zkCommands
84+
https://zookeeper.apache.org/doc/current/admin-ops/administrators-guide/commands#the-four-letter-words
8585

zookeeper-recipes/README.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ some unit testing with both the c and java recipe code.
1313
zkr_recipe-name_methodname
1414
(eg. zkr_lock_lock in zookeeper-recipes-lock/src/c)
1515

16-
6) The various recipes are in ../docs/recipes.html or
17-
../../docs/reciped.pdf. Also, this is not an exhaustive list by any chance.
16+
6) The various recipes are documented at
17+
https://zookeeper.apache.org/doc/current/developer/recipes
18+
Also, this is not an exhaustive list by any chance.
1819
Zookeeper is used (and can be used) for more than what we have listed in the docs.
1920

2021
7) To run the c tests in all the recipes,

zookeeper-recipes/zookeeper-recipes-election/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-->
1717

1818
1) This election interface recipe implements the leader election recipe
19-
mentioned in ../../docs/recipes.[html,pdf].
19+
documented at https://zookeeper.apache.org/doc/current/developer/recipes
2020

2121
2) To compile the leader election java recipe you can just run ant jar from
2222
this directory.

zookeeper-recipes/zookeeper-recipes-lock/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-->
1717

1818
1) This lock interface recipe implements the lock recipe
19-
mentioned in ../../docs/recipes.[html,pdf].
19+
documented at https://zookeeper.apache.org/doc/current/developer/recipes
2020

2121
2) To compile the lock java recipe you can just run ant jar from
2222
this directory. For compiling the c library go to zookeeper-client/zookeeper-client-c and read

0 commit comments

Comments
 (0)