Skip to content

Commit 11a069f

Browse files
authored
Merge branch 'main' into translate_improvements
2 parents a27d443 + 37ce8c1 commit 11a069f

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

scripts/settings/autogenerate-settings.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ fi
99
# otherwise it will fail not being able to find the files it needs which
1010
# are copied to scripts/tmp and configured in package.json -> "autogen_settings_needed_files"
1111

12-
set -x
13-
1412
if command -v curl >/dev/null 2>&1; then
1513
echo "curl is installed"
1614
else
@@ -33,7 +31,7 @@ script_path="$tmp_dir/$script_filename"
3331
# Install ClickHouse
3432
if [ ! -f "$script_path" ]; then
3533
echo -e "[$SCRIPT_NAME] Installing ClickHouse binary\n"
36-
curl https://clickhouse.com/ | sh
34+
curl -s https://clickhouse.com/ | sh &> /dev/null
3735
fi
3836

3937
if [[ ! -f "$script_path" ]]; then
@@ -106,7 +104,7 @@ title: Session Settings
106104
sidebar_label: Session Settings
107105
slug: /operations/settings/settings
108106
toc_max_heading_level: 2
109-
description: Settings which are found in the `system.settings` table.
107+
description: Settings which are found in the ``system.settings`` table.
110108
---
111109
112110
import ExperimentalBadge from \'@theme/badges/ExperimentalBadge\';
@@ -130,4 +128,3 @@ echo "[$SCRIPT_NAME] Auto-generation of settings markdown pages completed succes
130128
rm -rf "$tmp_dir"/{settings-formats.md,settings.md,FormatFactorySettings.h,Settings.cpp,clickhouse}
131129

132130
echo "[$SCRIPT_NAME] Autogenerating settings completed"
133-

scripts/table-of-contents-generator/toc_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def write_md_to_file(json_items, path_to_md_file):
9797
title = item.get('title', '')
9898
slug = item.get('slug', '')
9999
description = item.get('description','')
100-
link = f"[{title}](/docs{slug})" if slug else title
100+
link = f"[{title}]({slug})" if slug else title
101101
f.write(f"| {link} | {description} |\n")
102102

103103
print(f"Markdown table appended to {path_to_md_file}")

vercel.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3186,6 +3186,31 @@
31863186
"source": "/docs/get-started/query-endpoints",
31873187
"destination": "/docs/cloud/get-started/query-endpoints",
31883188
"permanent": true
3189+
},
3190+
{
3191+
"source": "/docs/integrations/jdbc",
3192+
"destination": "/docs/integrations/language-clients/java/jdbc",
3193+
"permanent": true
3194+
},
3195+
{
3196+
"source": "/docs/guides/improving-query-performance/sparse-primary-indexes/sparse-primary-indexes-multiple",
3197+
"destination": "/docs/guides/best-practices/sparse-primary-indexes#using-multiple-primary-indexes",
3198+
"permanent": true
3199+
},
3200+
{
3201+
"source": "/docs/sql-reference/table-functions/generateSeries",
3202+
"destination": "/docs/sql-reference/table-functions/generate_series",
3203+
"permanent": true
3204+
},
3205+
{
3206+
"source": "/docs/migrations/en/migrations",
3207+
"destination": "/docs/migrations/migrations",
3208+
"permanent": true
3209+
},
3210+
{
3211+
"source": "/docs/cloud/data-ingestion",
3212+
"destination": "/docs/integrations/data-ingestion-overview",
3213+
"permanent": true
31893214
}
31903215
]
31913216
}

0 commit comments

Comments
 (0)