You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "yuriipalam (via GitHub)" <gi...@apache.org> on 2026/06/25 13:07:31 UTC
[PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
yuriipalam opened a new pull request, #2413:
URL: https://github.com/apache/zookeeper/pull/2413
Here are the website fixes to issues/bugs addressed by @phunt and @anmolnar
I also added an updated `README.md` file to this PR, so it's easier to review for everyone. Once the PR is approved, I will remove it and @anmolnar will update the wiki page. The file describes how the update and release flows of the website happen. I tried to write in as much detail as possible.
Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#issuecomment-4857747087
Merged. Thanks @yuriipalam !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#issuecomment-4802003572
I think the "IRC Channel" page could be replaced with ASF Slack information, because IRC is no longer maintained.
Workspace: https://the-asf.slack.com/
Channel: #zookeeper
More info: https://infra.apache.org/slack.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#issuecomment-4800856390
Added a few more changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3482332128
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
Review Comment:
Do we need to maintain this list in the future by adding new releases?
Why don't we just link to https://zookeeper.apache.org/doc/ which lists all the available archived docs?
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
-export const REACT_ROUTER_RELEASED_DOC_VERSIONS = new Set<string>();
+export type ReleasedDocVersion =
+ (typeof RAW_RELEASED_DOC_VERSIONS_LIST)[number];
+
+export const RAW_RELEASED_DOC_VERSIONS = new Set<ReleasedDocVersion>(
+ RAW_RELEASED_DOC_VERSIONS_LIST
+);
-export const RAW_RELEASED_DOC_VERSIONS: string[] = [
- ...new Set([
- ...LEGACY_RELEASED_DOC_VERSIONS,
- ...REACT_ROUTER_RELEASED_DOC_VERSIONS
- ])
+export const LTS_VERSIONS: ReleasedDocVersion[] = [
+ CURRENT_VERSION,
+ "3.9.5",
+ "3.8.6"
Review Comment:
Given that we're going to publish this website with 3.9.5 as the current version, I think this list should be:
- CURRENT_VERSION
- 3.8.6
- 3.7.2
In order to mirror old website content.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3481809136
##########
zookeeper-website/app/components/site-navbar.tsx:
##########
@@ -163,17 +157,6 @@ function ProjectMenu() {
);
}
-function OlderDocsSubMenu() {
- return (
- <DropdownMenuSub>
- <DropdownMenuSubTrigger>Older docs</DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="w-56 p-0">
- <OlderDocsVersionList />
- </DropdownMenuSubContent>
- </DropdownMenuSub>
- );
-}
Review Comment:
Sure, I did it by accident
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3476024829
##########
zookeeper-website/app/components/site-navbar.tsx:
##########
@@ -163,17 +157,6 @@ function ProjectMenu() {
);
}
-function OlderDocsSubMenu() {
- return (
- <DropdownMenuSub>
- <DropdownMenuSubTrigger>Older docs</DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="w-56 p-0">
- <OlderDocsVersionList />
- </DropdownMenuSubContent>
- </DropdownMenuSub>
- );
-}
Review Comment:
Please don't remove the Older Docs section. We still need it for all the legacy docs: 3.3.x, 3.4.x, 3.5.x and everything else.
##########
zookeeper-website/app/lib/current-version.ts:
##########
@@ -16,4 +16,4 @@
// limitations under the License.
//
-export const CURRENT_VERSION = "3.9.5";
+export const CURRENT_VERSION = "3.9.10";
Review Comment:
Since we're on the master branch this should be **3.10.0**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3492575936
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
Review Comment:
That's fine, but should make a note of this in order to update the [release guide](https://cwiki.apache.org/confluence/spaces/ZOOKEEPER/pages/135860428/HowToRelease+using+maven+release+plugin) when we finished the website changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3492661017
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
-export const REACT_ROUTER_RELEASED_DOC_VERSIONS = new Set<string>();
+export type ReleasedDocVersion =
+ (typeof RAW_RELEASED_DOC_VERSIONS_LIST)[number];
+
+export const RAW_RELEASED_DOC_VERSIONS = new Set<ReleasedDocVersion>(
+ RAW_RELEASED_DOC_VERSIONS_LIST
+);
-export const RAW_RELEASED_DOC_VERSIONS: string[] = [
- ...new Set([
- ...LEGACY_RELEASED_DOC_VERSIONS,
- ...REACT_ROUTER_RELEASED_DOC_VERSIONS
- ])
+export const LTS_VERSIONS: ReleasedDocVersion[] = [
+ CURRENT_VERSION,
+ "3.9.5",
+ "3.8.6"
Review Comment:
I'm fine by that as long as the final production website will show 3 doc links to 3.9.5, 3.8.6 and 3.7.2.
Let's keep that in mind when we publish after this patch is merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar commented on PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#issuecomment-4802016884
Tests with `npm run ci` still fail with Nodejs v26.3.0:
```
Test Files 5 failed | 6 passed (11)
Tests 39 failed | 68 passed (107)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3490550562
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
-export const REACT_ROUTER_RELEASED_DOC_VERSIONS = new Set<string>();
+export type ReleasedDocVersion =
+ (typeof RAW_RELEASED_DOC_VERSIONS_LIST)[number];
+
+export const RAW_RELEASED_DOC_VERSIONS = new Set<ReleasedDocVersion>(
+ RAW_RELEASED_DOC_VERSIONS_LIST
+);
-export const RAW_RELEASED_DOC_VERSIONS: string[] = [
- ...new Set([
- ...LEGACY_RELEASED_DOC_VERSIONS,
- ...REACT_ROUTER_RELEASED_DOC_VERSIONS
- ])
+export const LTS_VERSIONS: ReleasedDocVersion[] = [
+ CURRENT_VERSION,
+ "3.9.5",
+ "3.8.6"
Review Comment:
This PR is opened against master and I assumed it's going to be published as 3.10.0
If we want to publish it for 3.9.5 now, I can open a PR against `asf-site` and mirror the old website content. But this PR is going in the `master` branch, so `CURRENT_VERSION` is 3.9.10
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3481823808
##########
zookeeper-client/zookeeper-client-c/README:
##########
@@ -8,7 +8,8 @@ For the latest information about ZooKeeper, please visit our website at:
and our wiki, at:
https://cwiki.apache.org/confluence/display/ZOOKEEPER
-Full documentation for this release can also be found in ../../docs/index.html
+Full documentation for this release can also be found at:
+ https://zookeeper.apache.org/doc/current/
Review Comment:
I can make it local, but it's probably not going to work like it used to be. Currently we don't have some index.html that's a source and output at the same time. We got .mdx files and they are rendered by JS into html files at build time, so we don't have "ready" pages to be viewed right away anymore.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3492627792
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
Review Comment:
The 7th point "Documentation Versions" of the "Key Principles" section justifies its existence, and it's also mentioned to update it in the Step 1 of the "Publishing a New ZooKeeper Release" section. Referring to the latest document I've sent to you on Slack on Friday.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3490575582
##########
zookeeper-website/app/lib/released-docs-versions.ts:
##########
@@ -99,16 +101,22 @@ export const LEGACY_RELEASED_DOC_VERSIONS = new Set([
"3.9.1",
"3.9.2",
"3.9.3",
- "3.9.4"
-]);
+ "3.9.4",
+ "3.9.5",
+ CURRENT_VERSION
+] as const;
Review Comment:
Yes, we have to. Well, we could just link to the URL you sent, but it doesn't look pretty. Keeping this list allows us to have the "Older docs" list menu right in the navbar, which is definitely a better user experience.
I also added a redirect for "/doc" that redirects to "/doc/<CURRENT_VERSION>"
Should I remove it? Alternatively, I could create a page for the "/doc" route that will list all the released documentations, but we still have to keep the list.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "phunt (via GitHub)" <gi...@apache.org>.
phunt commented on code in PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413#discussion_r3478332158
##########
zookeeper-client/zookeeper-client-c/README:
##########
@@ -8,7 +8,8 @@ For the latest information about ZooKeeper, please visit our website at:
and our wiki, at:
https://cwiki.apache.org/confluence/display/ZOOKEEPER
-Full documentation for this release can also be found in ../../docs/index.html
+Full documentation for this release can also be found at:
+ https://zookeeper.apache.org/doc/current/
Review Comment:
I'm not sure - but shouldn't all references be local given the doc relative to this reference is in this code base and should be used (could be updated as part of a change) rather than pointing to the release version on the website? Similar comment for all the relative -> absolute/web conversions in this commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ZOOKEEPER-5061 ZooKeeper website fixes [zookeeper]
Posted by "anmolnar (via GitHub)" <gi...@apache.org>.
anmolnar merged PR #2413:
URL: https://github.com/apache/zookeeper/pull/2413
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org