mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-06 08:30:54 +00:00
[docs] return exit on links to nowhere
This commit is contained in:
parent
143eaaf4c8
commit
21b9300b73
@ -34,6 +34,7 @@ def test_single_page(input_path, lang):
|
|||||||
logging.error('Found %d duplicate anchor points' % duplicate_anchor_points)
|
logging.error('Found %d duplicate anchor points' % duplicate_anchor_points)
|
||||||
if links_to_nowhere:
|
if links_to_nowhere:
|
||||||
logging.error('Found %d links to nowhere' % links_to_nowhere)
|
logging.error('Found %d links to nowhere' % links_to_nowhere)
|
||||||
|
system.exit(10)
|
||||||
|
|
||||||
assert len(anchor_points) > 10, 'Html parsing is probably broken'
|
assert len(anchor_points) > 10, 'Html parsing is probably broken'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user