Skip to content

Commit e3ae2cd

Browse files
authored
Merge pull request #926 from Lorak-mmk/fix-preprocessor
Docs: Preprocessor for Python < 3.12
2 parents e94f8f9 + 8b15454 commit e3ae2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sphinx_preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def remove_sphinx_markdown(md_file_text, name):
4848

4949
def process_section(section):
5050
if 'Chapter' in section:
51-
print(f'Processing chapter {section['Chapter']['name']}', file=sys.stderr)
51+
print(f'Processing chapter {section["Chapter"]["name"]}', file=sys.stderr)
5252
section['Chapter']['content'] = remove_sphinx_markdown(section['Chapter']['content'], section['Chapter']['name'])
5353
for s in section['Chapter']['sub_items']:
5454
process_section(s)

0 commit comments

Comments
 (0)