mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Merge pull request #29244 from ClickHouse/remove-garbage-from-doc-build
Remove garbage from doc build
This commit is contained in:
commit
f3ba13e29e
@ -5,4 +5,4 @@ toc_priority: 82
|
||||
|
||||
# Что нового в ClickHouse?
|
||||
|
||||
Планы развития вкратце изложены [здесь](extended-roadmap.md), а новости по предыдущим релизам подробно описаны в [журнале изменений](changelog/index.md).
|
||||
Планы развития вкратце изложены [здесь](https://github.com/ClickHouse/ClickHouse/issues/17623), а новости по предыдущим релизам подробно описаны в [журнале изменений](changelog/index.md).
|
||||
|
@ -8,6 +8,9 @@ import subprocess
|
||||
|
||||
|
||||
def test_single_page(input_path, lang):
|
||||
if not (lang == 'en' or lang == 'ru'):
|
||||
return
|
||||
|
||||
with open(input_path) as f:
|
||||
soup = bs4.BeautifulSoup(
|
||||
f,
|
||||
@ -33,11 +36,8 @@ def test_single_page(input_path, lang):
|
||||
logging.info('Link to nowhere: %s' % href)
|
||||
|
||||
if links_to_nowhere:
|
||||
if lang == 'en' or lang == 'ru':
|
||||
logging.error(f'Found {links_to_nowhere} links to nowhere in {lang}')
|
||||
# TODO: restore sys.exit(1) here
|
||||
else:
|
||||
logging.warning(f'Found {links_to_nowhere} links to nowhere in {lang}')
|
||||
logging.error(f'Found {links_to_nowhere} links to nowhere in {lang}')
|
||||
sys.exit(1)
|
||||
|
||||
if len(anchor_points) <= 10:
|
||||
logging.error('Html parsing is probably broken')
|
||||
|
Loading…
Reference in New Issue
Block a user