Skip introduction/info.md in single page docs (#6292)

This commit is contained in:
Ivan Blinkov 2019-08-12 19:23:12 +03:00 committed by GitHub
parent fe8e9124a0
commit 7bab9468b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,8 @@ def concatenate(lang, docs_path, single_page_file):
logging.debug('Concatenating: ' + ', '.join(files_to_concatenate))
for path in files_to_concatenate:
if path.endswith('introduction/info.md'):
continue
try:
with open(os.path.join(lang_path, path)) as f:
anchors = set()