[docs] fix sitemap (#11113)

This commit is contained in:
Ivan Blinkov 2020-05-21 22:34:50 +03:00 committed by GitHub
parent 1906762119
commit e0668f48e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 13 deletions

View File

@ -58,17 +58,6 @@ def build_for_lang(lang, args):
'custom_dir': os.path.join(os.path.dirname(__file__), '..', args.theme_dir), 'custom_dir': os.path.join(os.path.dirname(__file__), '..', args.theme_dir),
'language': lang, 'language': lang,
'direction': 'rtl' if lang == 'fa' else 'ltr', 'direction': 'rtl' if lang == 'fa' else 'ltr',
# TODO: cleanup
'feature': {
'tabs': False
},
'palette': {
'primary': 'white',
'accent': 'white'
},
'font': False,
'logo': 'images/logo.svg',
'favicon': 'assets/images/favicon.ico',
'static_templates': ['404.html'], 'static_templates': ['404.html'],
'extra': { 'extra': {
'now': int(time.mktime(datetime.datetime.now().timetuple())) # TODO better way to avoid caching 'now': int(time.mktime(datetime.datetime.now().timetuple())) # TODO better way to avoid caching

View File

@ -12,4 +12,4 @@ Disallow: /docs/v3*
Disallow: /cdn-cgi/ Disallow: /cdn-cgi/
Allow: / Allow: /
Host: https://clickhouse.tech Host: https://clickhouse.tech
Sitemap: https://clickhouse.tech/sitemap.xml Sitemap: https://clickhouse.tech/sitemap-index.xml

View File

@ -22,6 +22,6 @@
<loc>https://clickhouse.tech/docs/fa/sitemap.xml</loc> <loc>https://clickhouse.tech/docs/fa/sitemap.xml</loc>
</sitemap> </sitemap>
<sitemap> <sitemap>
<loc>https://clickhouse.tech/sitemap_static.xml</loc> <loc>https://clickhouse.tech/sitemap-static.xml</loc>
</sitemap> </sitemap>
</sitemapindex> </sitemapindex>