Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1a7bc1b
ZOOKEEPER-5020: Improve ZooKeeper website
yuriipalam Apr 20, 2026
06217d0
Fix build
yuriipalam Apr 20, 2026
37a6f19
WIP
yuriipalam Apr 21, 2026
78d5f71
Fix CI issues
yuriipalam Apr 23, 2026
ebc8b5c
Add GitHub Actions workflow for website build
yuriipalam Apr 23, 2026
a0729bc
Add sitemap generation, robots.txt, and HTTP cache headers
yuriipalam Apr 23, 2026
0e0ecb2
Fix CVEs
yuriipalam Apr 23, 2026
f9f5a8c
Fix lint
yuriipalam Apr 23, 2026
ff2606e
Move RAT plugin exclusions for .mdx files and robots.txt to zookeeper…
yuriipalam Apr 23, 2026
e368bfe
Update CI
yuriipalam Apr 27, 2026
0724aa0
WIP
yuriipalam May 26, 2026
b454945
WIP
yuriipalam May 26, 2026
e620fbb
Update readme
yuriipalam May 26, 2026
53c2734
WIP
yuriipalam May 26, 2026
5960eef
WIP
yuriipalam May 28, 2026
2e5d73b
Update CI
yuriipalam Jun 2, 2026
166ddc3
Centralize docs base path formatting
yuriipalam Jun 2, 2026
529b5ad
WIP
yuriipalam Jun 3, 2026
b732d1c
WIP
yuriipalam Jun 3, 2026
44a940c
WIP
yuriipalam Jun 3, 2026
0d98c40
WIP
yuriipalam Jun 3, 2026
3a834a5
WIP
yuriipalam Jun 3, 2026
ff5070b
WIP
yuriipalam Jun 3, 2026
1d207df
WIP
yuriipalam Jun 8, 2026
653f98b
WIP
yuriipalam Jun 8, 2026
53aa913
WIP
yuriipalam Jun 9, 2026
68eb559
WIP
yuriipalam Jun 9, 2026
56799e1
WIP
yuriipalam Jun 9, 2026
f26c796
WIP
yuriipalam Jun 9, 2026
bf7bf9e
WIP
yuriipalam Jun 9, 2026
81c7751
WIP
yuriipalam Jun 9, 2026
a7d43e1
Improve publishing process
yuriipalam Jun 11, 2026
c7b80bc
WIP
yuriipalam Jun 11, 2026
93d6b75
WIP
yuriipalam Jun 11, 2026
e261df2
WIP
yuriipalam Jun 11, 2026
1cb7494
Remove dockerfile
yuriipalam Jun 11, 2026
46aa14c
Exclude sitemap from RAT check
yuriipalam Jun 12, 2026
96147ee
Merge branch 'master' into ZOOKEEPER-5020
yuriipalam Jun 12, 2026
491e56a
Add missing content pieces
yuriipalam Jun 12, 2026
35732ea
Delete README
yuriipalam Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions .github/workflows/website.yaml

@PDavid PDavid Apr 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For installing Playwright in GH Actions you might find this useful:
https://playwright.dev/docs/ci-intro#setting-up-github-actions

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Website

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]

permissions:
contents: read

jobs:
site:
name: website-site
timeout-minutes: 120
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 11
uses: actions/setup-java@v5
with:
java-version: 11
distribution: temurin
cache: 'maven'
- name: Set up Node.js 22
uses: actions/setup-node@v5
with:
node-version: 22
cache: 'npm'
cache-dependency-path: zookeeper-website/package-lock.json
- name: Show the first log message
run: git log -n1
- name: Install website npm dependencies
working-directory: zookeeper-website
run: npm ci
- name: Install Playwright browsers and system dependencies
working-directory: zookeeper-website
run: npx playwright install --with-deps
- name: Build website with Maven site
run: mvn -B -V -e -ntp "-Dstyle.color=always" -pl zookeeper-website site
env:
MAVEN_OPTS: -Djansi.force=true
- name: Upload website Playwright report
if: ${{ failure() }}
uses: actions/upload-artifact@v7
with:
name: website-playwright-report
path: zookeeper-website/playwright-report/
if-no-files-found: ignore
- name: Upload website test results
if: ${{ failure() }}
uses: actions/upload-artifact@v7
with:
name: website-test-results
path: zookeeper-website/test-results/
if-no-files-found: ignore
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</licenses>

<modules>
<module>zookeeper-docs</module>
<module>zookeeper-website</module>
<module>zookeeper-jute</module>
<module>zookeeper-server</module>
<module>zookeeper-metrics-providers</module>
Expand Down
2 changes: 1 addition & 1 deletion zookeeper-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dependencies>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-docs</artifactId>
<artifactId>zookeeper-website</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
Expand Down
9 changes: 1 addition & 8 deletions zookeeper-assembly/src/main/assembly/bin-package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<excludes>
<exclude>org.apache.zookeeper:zookeeper-recipes</exclude>
<exclude>org.apache.zookeeper:zookeeper-client</exclude>
<exclude>org.apache.zookeeper:zookeeper-docs</exclude>
<exclude>org.apache.zookeeper:zookeeper-website</exclude>
</excludes>
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
Expand All @@ -49,13 +49,6 @@
</dependencySets>

<fileSets>
<fileSet>
<!-- ZooKeeper generated documents -->
<directory>${project.basedir}/../zookeeper-docs/target/html</directory>
<outputDirectory>docs</outputDirectory>
<fileMode>${rw.file.permission}</fileMode>
<directoryMode>${rwx.file.permission}</directoryMode>
</fileSet>
<fileSet>
<!-- ZooKeeper jute generated api document -->
<directory>${project.basedir}/../zookeeper-jute/target/apidocs</directory>
Expand Down
64 changes: 0 additions & 64 deletions zookeeper-docs/pom.xml

This file was deleted.

18 changes: 0 additions & 18 deletions zookeeper-docs/src/main/resources/markdown/html/footer.html

This file was deleted.

149 changes: 0 additions & 149 deletions zookeeper-docs/src/main/resources/markdown/html/header.html

This file was deleted.

Loading