Skip to content
Merged
Changes from all commits
Commits
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
27 changes: 27 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { Config } from "@docusaurus/types";
import { themes as prismThemes } from "prism-react-renderer";

import markdownExportRegistry from "./src/plugins/markdown-export/registry";

const config: Config = {
title: "Apache Cloudberry (Incubating)",
tagline: "One advanced and mature open-source MPP (Massively Parallel Processing) database. Open source alternative to Greenplum Database.",
Expand Down Expand Up @@ -69,6 +70,32 @@ const config: Config = {
],
],

// "Ask AI" assistant from kapa.ai, answering questions from the docs.
// Sources, allowed domains and the Website ID below (public, not a secret)
// are managed in the Kapa dashboard. For the ASF privacy policy the widget
// sets no tracking cookie, uses hCaptcha instead of Google reCAPTCHA, and
// asks for consent before the first question is sent.
scripts: [
{
src: "https://widget.kapa.ai/kapa-widget.bundle.js",
"data-website-id": "9d55c09f-0362-44eb-a3bf-37ba3c12d572",
"data-project-name": "Apache Cloudberry",
"data-project-color": "#ff5900",
"data-project-logo": "https://cloudberry.apache.org/img/favicon.ico",
"data-modal-title": "Apache Cloudberry AI Assistant",
"data-modal-disclaimer":
"Answers are generated by AI from the [Apache Cloudberry documentation](https://cloudberry.apache.org/docs/) and may be inaccurate. Please verify important details against the docs.",
"data-modal-example-questions":
"How do I install Apache Cloudberry?,How is Cloudberry different from Greenplum?,How do I load data with gpfdist?",
"data-user-analytics-cookie-enabled": "false",
"data-bot-protection-mechanism": "hcaptcha",
"data-consent-required": "true",
"data-consent-screen-disclaimer":
"By clicking "I agree, let's chat", you consent to the use of the AI assistant in accordance with kapa.ai's [Privacy Policy](https://www.kapa.ai/content/privacy-policy). This service uses hCaptcha, which is subject to hCaptcha's [Privacy Policy](https://www.hcaptcha.com/privacy) and [Terms of Service](https://www.hcaptcha.com/terms).",
async: true,
},
],

presets: [
[
"classic",
Expand Down
Loading