diff --git a/docs/tools/build.py b/docs/tools/build.py index deac2adb85a..bc451ee3e09 100755 --- a/docs/tools/build.py +++ b/docs/tools/build.py @@ -70,6 +70,7 @@ def build_for_lang(lang, args): cfg = config.load_config( config_file=config_path, site_name='ClickHouse Documentation' if lang == 'en' else 'Документация ClickHouse', + site_url='https://clickhouse.yandex/docs/en/' if lang == 'en' else 'https://clickhouse.yandex/docs/ru/', docs_dir=os.path.join(args.docs_dir, lang), site_dir=os.path.join(args.output_dir, lang), strict=True, diff --git a/website/sitemap.xml b/website/sitemap.xml index 18bfe5875fd..01dc5c6297e 100644 --- a/website/sitemap.xml +++ b/website/sitemap.xml @@ -3,13 +3,10 @@ https://clickhouse.yandex/docs/ru/sitemap.xml - - https://clickhouse.yandex/docs/ru/single_page/sitemap.xml - https://clickhouse.yandex/docs/en/sitemap.xml - https://clickhouse.yandex/docs/en/single_pabe/sitemap.xml + https://clickhouse.yandex/docs/sitemap_static.xml diff --git a/website/sitemap_static.xml b/website/sitemap_static.xml new file mode 100644 index 00000000000..c1bc94bf00a --- /dev/null +++ b/website/sitemap_static.xml @@ -0,0 +1,23 @@ + + + + https://clickhouse.yandex/ + daily + + + https://clickhouse.yandex/benchmark.html + daily + + + https://clickhouse.yandex/tutorial.html + daily + + + https://clickhouse.yandex/blog/en + daily + + + https://clickhouse.yandex/blog/ru + daily + + \ No newline at end of file