Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,4 @@ Updating this branch and pushing to the Apache git repo will cause gitpubsub to
## How to update

Typically the website will need to be updated as part of a release. Prior to updating this branch
update the "website" branch appropriately, "jekyl build", update the product docs, APIs, etc... and
then reviewed the staged site as detailed in the website branch README.

After verifying the staged site you can:

1. `git checkout asf-site` - checkout this branch
1. `rm -fr content` - remove the old site content
1. `mv _site content` - rename the staged site directory. You should still have this from the prior staging efforts
1. review the changes and verify that they are what you expect
1. `git add .` - update git appropriately (may include git rm, etc..., as well).
1. `git commit` - ensure an good commit message
1. WARNING: review the changes you've made to git and as the next step will cause the live production site to be updated
1. `git push <origin> asf-site` - point of no return.

At this point you can verify that the production site is updated and the links, etc... are functioning properly.
update the website in the "master" branch appropriately. More info can be found in the `zookeeper-website` directory: [https://github.com/apache/zookeeper/zookeeper-website/README.md](https://github.com/apache/zookeeper/zookeeper-website/README.md)
36 changes: 25 additions & 11 deletions content/.htaccess
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
# .htaccess for ZooKeeper
# 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
#
# Redirect HTTP to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
# Old site had /docs while new site has /doc
RedirectMatch Permanent ^/docs/(.+)$ /doc/$1
# Old site had /mailing_lists.html while new site has /lists.html
RedirectMatch Permanent ^/mailing_lists.html$ /lists.html
# redirect bookkeeper site
RedirectMatch Permanent ^/bookkeeper/(.+)$ https://bookkeeper.apache.org/$1
# 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.

ErrorDocument 404 /404.html

<IfModule mod_headers.c>
Header always set Cache-Control "no-cache, must-revalidate"

<FilesMatch "\.(?:css|js|mjs|gif|ico|jpe?g|png|svg|webp|avif|woff2?|ttf|otf|eot|pdf)$">
Header always set Cache-Control "public, max-age=2592000, immutable"
</FilesMatch>
</IfModule>
245 changes: 245 additions & 0 deletions content/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
<!doctype html>
<!--
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.
-->
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex, nofollow" />
<title>Page Not Found | Apache ZooKeeper</title>
<style>
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
color-scheme: light;
--radius: 0.625rem;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--muted-foreground: oklch(0.556 0 0);
--border: oklch(0.922 0 0);
--primary: oklch(55.31% 0.12 136.93);
--primary-strong: oklch(0.4 0.13 145);
--primary-foreground: oklch(0.985 0 0);
--ring: oklch(0.708 0 0);
}

@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--background: oklch(0.17 0 0);
--foreground: oklch(0.92 0 0);
--muted-foreground: oklch(0.62 0 0);
--border: oklch(0.3 0 0);
--primary: oklch(55.31% 0.12 136.93);
--primary-strong: oklch(0.4 0.13 145);
--primary-foreground: oklch(97% 0 0);
--ring: oklch(55.31% 0.12 136.93);
}
}

html.light {
color-scheme: light;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--muted-foreground: oklch(0.556 0 0);
--border: oklch(0.922 0 0);
--primary: oklch(55.31% 0.12 136.93);
--primary-strong: oklch(0.4 0.13 145);
--primary-foreground: oklch(0.985 0 0);
--ring: oklch(0.708 0 0);
}

html.dark {
color-scheme: dark;
--background: oklch(0.17 0 0);
--foreground: oklch(0.92 0 0);
--muted-foreground: oklch(0.62 0 0);
--border: oklch(0.3 0 0);
--primary: oklch(55.31% 0.12 136.93);
--primary-strong: oklch(0.4 0.13 145);
--primary-foreground: oklch(97% 0 0);
--ring: oklch(55.31% 0.12 136.93);
}

* {
box-sizing: border-box;
}

body {
min-height: 100vh;
margin: 0;
background:
radial-gradient(circle at top, rgba(85, 147, 67, 0.14), transparent 32rem),
var(--background);
color: var(--foreground);
font-family:
Inter,
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
}

main {
display: grid;
min-height: 100vh;
place-items: center;
padding: 2rem;
}

.content {
width: min(100%, 42rem);
padding: clamp(2rem, 6vw, 4rem);
text-align: center;
}

.logo {
width: 9rem;
height: auto;
margin-bottom: 2rem;
}

.eyebrow {
margin: 0;
color: var(--muted-foreground);
font-size: 1rem;
font-weight: 700;
letter-spacing: 0.3em;
text-transform: uppercase;
}

h1 {
margin: 1rem 0 0;
font-size: clamp(2.5rem, 8vw, 4.5rem);
line-height: 1;
letter-spacing: -0.05em;
}

.message {
margin: 1.25rem auto 0;
max-width: 34rem;
color: var(--muted-foreground);
font-size: clamp(1.125rem, 2vw, 1.25rem);
line-height: 1.65;
}

.actions {
display: flex;
justify-content: center;
margin-top: 2rem;
}

.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
height: 2.5rem;
padding: 0.5rem 1.5rem;
border: 1px solid transparent;
border-radius: calc(var(--radius) - 2px);
background: var(--primary);
color: var(--primary-foreground);
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
line-height: 1.25rem;
text-decoration: none;
white-space: nowrap;
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
outline: none;
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.button:hover {
background: color-mix(in oklch, var(--primary) 90%, transparent);
}

html.dark .button {
background: var(--primary-strong);
}

html.dark .button:hover {
background: color-mix(in oklch, var(--primary-strong) 90%, transparent);
}

@media (prefers-color-scheme: dark) {
.button {
background: var(--primary-strong);
}

.button:hover {
background: color-mix(in oklch, var(--primary-strong) 90%, transparent);
}
}

html.light .button {
background: var(--primary);
}

html.light .button:hover {
background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.button:focus-visible {
border-color: var(--ring);
box-shadow:
0 1px 2px 0 rgb(0 0 0 / 0.05),
0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
}
</style>
<script>
(function () {
try {
var theme = localStorage.getItem("theme");
var root = document.documentElement;

if (theme === "light" || theme === "dark") {
root.classList.add(theme);
}
} catch (_) {
// Keep the CSS prefers-color-scheme fallback if storage is unavailable.
}
})();
</script>
</head>
<body>
<main>
<section class="content" aria-labelledby="page-title">
<img class="logo" src="/images/logo.svg" alt="Apache ZooKeeper" />
<p class="eyebrow">404</p>
<h1 id="page-title">Page not found</h1>
<p class="message">
The website was updated recently, so the route you were trying to visit might have
changed.
</p>
<div class="actions">
<a class="button" href="/">Go back home</a>
</div>
</section>
</main>
</body>
</html>
27 changes: 27 additions & 0 deletions content/__spa-fallback.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="font" href="/fonts/inter-latin-wght-normal.woff2" type="font/woff2" crossorigin="anonymous"/><link rel="prefetch" as="font" href="/fonts/inter-latin-wght-italic.woff2" type="font/woff2" crossorigin="anonymous"/><link rel="icon" href="/images/logo.svg" type="image/svg+xml"/><link rel="icon" href="/favicon.ico" sizes="any"/><link rel="modulepreload" href="/assets/manifest-c51186f3.js"/><link rel="modulepreload" href="/assets/entry.client-DyMXYsmj.js"/><link rel="modulepreload" href="/assets/chunk-EPOLDU6W-BACfhBcx.js"/><link rel="modulepreload" href="/assets/index-B4y4XthL.js"/><link rel="modulepreload" href="/assets/root-C0FUD5A3.js"/><link rel="modulepreload" href="/assets/theme-provider-VJDhrFwO.js"/><link rel="stylesheet" href="/assets/root-BtA_CDVx.css"/><link rel="stylesheet" href="/assets/app-DxKXKjTC.css"/><script>
(function() {
const theme = localStorage.getItem('theme');
const root = document.documentElement;
root.classList.remove('light', 'dark');

if (theme && ['light', 'dark'].includes(theme)) {
root.classList.add(theme);
} else {
const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
root.classList.add(systemTheme);
localStorage.setItem('theme', systemTheme);
}
})();
</script><noscript><style>.theme-toggle-wrapper { display: none !important; }</style></noscript></head><body class="font-base"><script>
console.log(
"💿 Hey developer 👋. You can provide a way better UX than this " +
"when your app is loading JS modules and/or running `clientLoader` " +
"functions. Check out https://reactrouter.com/start/framework/route-module#hydratefallback " +
"for more information."
);
</script><script>window.__reactRouterContext = {"basename":"/","future":{"unstable_optimizeDeps":false,"unstable_subResourceIntegrity":false,"unstable_trailingSlashAwareDataRequests":false,"v8_middleware":false,"v8_splitRouteModules":false,"v8_viteEnvironmentApi":false},"routeDiscovery":{"mode":"initial"},"ssr":false,"isSpaMode":true};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());</script><script type="module" async="">import "/assets/manifest-c51186f3.js";
import * as route0 from "/assets/root-C0FUD5A3.js";

window.__reactRouterRouteModules = {"root":route0};

import("/assets/entry.client-DyMXYsmj.js");</script><!--$--><script>window.__reactRouterContext.streamController.enqueue("[{\"_1\":2,\"_3\":-5,\"_4\":-5},\"loaderData\",{},\"actionData\",\"errors\"]\n");</script><!--$--><script>window.__reactRouterContext.streamController.close();</script><!--/$--><!--/$--></body></html>
1 change: 1 addition & 0 deletions content/api/search

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions content/api/search.data

Large diffs are not rendered by default.

Loading