Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 217ace4

Browse files
authored
Fixing meta tags for docs.quesma.com (#1288)
1 parent 12075c7 commit 217ace4

15 files changed

+54
-2
lines changed

docs/public/docs/.vitepress/config.mts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
import { defineConfig } from 'vitepress'
1+
import {defineConfig, HeadConfig} from 'vitepress'
22
import { withMermaid } from "vitepress-plugin-mermaid";
33

44
// https://vitepress.dev/reference/site-config
55
export default defineConfig({
66
title: "Quesma",
7-
description: "Quesma Database Gateway Early Access Program",
7+
description: "Quesma Database Gateway Official Documentation",
88
head: [['link', { rel: 'icon', href: 'favicon.ico' }]],
9+
transformHead: ({ pageData }) => {
10+
const head: HeadConfig[] = []
11+
if (pageData.frontmatter.description) {
12+
head.push([
13+
'meta',
14+
{ name: 'description', content: pageData.frontmatter.description }
15+
])
16+
}
17+
return head
18+
},
919
themeConfig: {
1020
// https://vitepress.dev/reference/default-theme-config
1121
logo: {

docs/public/docs/adding-kibana-dataviews.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Data Views creation guide
3+
---
14
# Data Views creation guide
25

36
This guide will help you create Data Views for Hydrolix/ClickHouse tables in Kibana.

docs/public/docs/compatibility-report.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Compatibility Report
3+
---
14
# Compatibility Report
25

36
Quesma can help validate your migration by sending queries to both Elasticsearch and ClickHouse simultaneously and comparing the results. This allows you to verify that queries return equivalent results from both systems before fully switching over.

docs/public/docs/config-primer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Configuration primer
3+
---
14
# Configuration primer
25

36
## Configuration overview

docs/public/docs/eap-docs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: What is Quesma?
3+
---
14
# What is Quesma?
25

36
Quesma is an actively developed database gateway. Route your queries through a translation layer that seamlessly connects your apps with the modern database platforms of your choice. No more query refactoring during migrations.

docs/public/docs/example-1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Transparent Elasticsearch proxy
3+
---
14
# Transparent Elasticsearch proxy
25

36
In this scenario, Quesma is used as a transparent proxy between Kibana/OpenSearchDashboards(OSD) and Elasticsearch/OpenSearch.

docs/public/docs/example-2-0-clickhouse-specific.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Query ClickHouse/Hydrolix tables as Elasticsearch indices
3+
---
14
# Query ClickHouse/Hydrolix tables as Elasticsearch indices
25

36
::: warning

docs/public/docs/example-2-0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Query Hydrolix tables as Elasticsearch indices
3+
---
14
# Query Hydrolix tables as Elasticsearch indices
25

36
In this scenario, user's only data source is Hydrolix, which contains two tables named `logs` and `siem`.

docs/public/docs/example-2-1-hydro-specific.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Adding ClickHouse/Hydrolix tables to existing Kibana/Elasticsearch ecosystem
3+
---
14
# Adding Hydrolix tables to existing Kibana/Elasticsearch ecosystem
25

36
In this scenario, user already has data in Elasticsearch/OpenSearch indices - let's assume `index1`, `index2` and `index3`.

docs/public/docs/example-2-1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Adding ClickHouse/Hydrolix tables to existing Kibana/Elasticsearch ecosystem
3+
---
14
# Adding ClickHouse/Hydrolix tables to existing Kibana/Elasticsearch ecosystem
25

36
::: warning

0 commit comments

Comments
 (0)