We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d101636 + 1a2ff60 commit a5ea672Copy full SHA for a5ea672
run.py
@@ -563,7 +563,12 @@ def main():
563
sidebar_index = None
564
565
with open('{}/GLOBAL_QUALIFY_LIST.txt'.format(settings.INPUT_DIR), encoding='utf-8') as f:
566
- global_qualify_list = '\n'.join([line.strip() for line in f])
+ ls = []
567
+ for line in f:
568
+ stripped_line = line.strip()
569
+ if stripped_line and not stripped_line.startswith('#'):
570
+ ls.append(stripped_line)
571
+ global_qualify_list = '\n'.join(ls)
572
573
filename = '{}/GLOBAL_DEFINED_WORDS.json'.format(settings.INPUT_DIR)
574
if os.path.isfile(filename):
0 commit comments